Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002153/0.002153, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00258/0.00258, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 177 MB / 204.1 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.492e-05, allocations: 2.281 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.004416/0.004441, allocations: 1.747 MB / 326.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.006468, allocations: 0.646 MB / 327.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.006605, allocations: 10.97 kB / 327.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001922/0.006798, allocations: 24.61 kB / 327.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000283/0.007081, allocations: 42.64 kB / 327.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007787/0.007859, allocations: 136 kB / 327.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000309/0.008168, allocations: 147.5 kB / 327.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.00831, allocations: 26.19 kB / 327.8 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002935/0.008604, allocations: 98.44 kB / 327.9 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002892/0.008893, allocations: 97.17 kB / 328 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.441e-05/0.008947, allocations: 13.31 kB / 328 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.994e-05/0.009027, allocations: 16.06 kB / 328 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.009167, allocations: 70.62 kB / 328.1 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.009284, allocations: 52.81 kB / 328.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004613/0.009746, allocations: 223.3 kB / 328.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.009749, allocations: 3.938 kB / 328.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.00975, allocations: 0.5625 kB / 328.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.009763, allocations: 2.656 kB / 328.4 MB, free: 14.46 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001185/0.01095, allocations: 444.2 kB / 328.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.01099, allocations: 13.34 kB / 328.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000256/0.01125, allocations: 41.38 kB / 328.9 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004637/0.01171, allocations: 185.6 kB / 329 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.235e-05/0.01176, allocations: 17.16 kB / 329.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.266e-05/0.01181, allocations: 19.75 kB / 329.1 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.01356, allocations: 0.6347 MB / 329.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.01358, allocations: 192 / 329.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.023e-05/0.01361, allocations: 5.75 kB / 329.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.915e-05/0.01365, allocations: 20.31 kB / 329.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006626/0.01431, allocations: 182.2 kB / 329.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005175/0.01483, allocations: 277.2 kB / 330.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007291/0.01556, allocations: 235.1 kB / 330.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004311/0.01599, allocations: 140.6 kB / 330.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.404e-05/0.01602, allocations: 5.719 kB / 330.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.403e-05/0.01607, allocations: 45.86 kB / 330.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 2.445e-06/0.01608, allocations: 0 / 330.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.001417/0.01749, allocations: 428.4 kB / 331 MB, free: 12.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001806/0.01767, allocations: 138.1 kB / 331.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/0.01794, allocations: 176.6 kB / 331.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.92e-05/0.01799, allocations: 31.2 kB / 331.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.432e-05/0.01809, allocations: 104.8 kB / 331.5 MB, free: 12.4 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.823e-05/0.01814, allocations: 34.39 kB / 331.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.01826, allocations: 46.69 kB / 331.5 MB, free: 12.33 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.01847, allocations: 322.5 kB / 331.9 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.01863, allocations: 52.03 kB / 331.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/0.0189, allocations: 139.1 kB / 332 MB, free: 11.85 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004107/0.01931, allocations: 185.1 kB / 332.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.01931, allocations: 1.188 kB / 332.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006274/0.01994, allocations: 224.9 kB / 332.4 MB, free: 11.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.01997, allocations: 13.36 kB / 332.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.01998, allocations: 3.594 kB / 332.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.02, allocations: 5.406 kB / 332.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.02022, allocations: 42.3 kB / 332.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/0.02024, allocations: 8.125 kB / 332.5 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.02041, allocations: 10.31 kB / 332.5 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.02043, allocations: 9.156 kB / 332.5 MB, free: 11.53 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 12 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,$CLKPRE.FIR1.first,FIR1.first,$CLKPRE.FIR2.first,FIR2.first,$CLKPRE.upSample.b_super,upSample.b_super,$CLKPRE.superSampleIpo.first,superSampleIpo.first,$CLKPRE.upSample.b,upSample.b) * Number of discrete states: 0 () * Number of clocked states: 13 (superSampleIpo.ticks,FIR1.first,FIR1.u_buffer[2],FIR1.u_buffer[1],FIR2.first,FIR2.u_buffer[4],FIR2.u_buffer[3],FIR2.u_buffer[2],FIR2.u_buffer[1],upSample.b_super,superSampleIpo.first,superSampleIpo.uu,upSample.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002709/0.02071, allocations: 160.2 kB / 332.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009336/0.02164, allocations: 295.4 kB / 333 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.02175, allocations: 42.56 kB / 333 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.02176, allocations: 8.578 kB / 333 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.02177, allocations: 1.094 kB / 333 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.02178, allocations: 9.047 kB / 333 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003297/0.02211, allocations: 150.8 kB / 333.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.02212, allocations: 1.156 kB / 333.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000453/0.02257, allocations: 63.19 kB / 333.2 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/0.02258, allocations: 6.25 kB / 333.3 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/0.02262, allocations: 17.95 kB / 333.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.02263, allocations: 2.312 kB / 333.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.02263, allocations: 1 kB / 333.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.02372, allocations: 448.5 kB / 333.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/0.02391, allocations: 59.41 kB / 333.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.395e-05/0.02401, allocations: 20.12 kB / 333.8 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.02427, allocations: 13.48 kB / 333.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.0243, allocations: 5 kB / 333.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.592e-05/0.02435, allocations: 16.17 kB / 333.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000171/0.02452, allocations: 122.9 kB / 333.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.02452, allocations: 1.062 kB / 333.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006034/0.02513, allocations: 39.38 kB / 334 MB, free: 10.51 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 (upSample.b_super,FIR2.first,FIR1.first,superSampleIpo.usedFactor,superSampleIpo.ticks,upSample.b,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 13 (upSample.b_super,FIR2.u_buffer[1],FIR2.u_buffer[2],FIR2.u_buffer[3],FIR2.u_buffer[4],FIR2.first,FIR1.u_buffer[1],FIR1.u_buffer[2],FIR1.first,superSampleIpo.ticks,upSample.b,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002103/0.02534, allocations: 124.2 kB / 334.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007056/0.02604, allocations: 201.7 kB / 334.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.02604, allocations: 1.375 kB / 334.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.264e-05/0.02611, allocations: 9.344 kB / 334.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.02729, allocations: 199.3 kB / 334.5 MB, free: 10.22 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.02938, allocations: 0.5464 MB / 335.1 MB, free: 9.855 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.02966, allocations: 169.5 kB / 335.2 MB, free: 9.734 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.926e-05/0.02973, allocations: 10.53 kB / 335.2 MB, free: 9.734 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.02984, allocations: 24.48 kB / 335.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.02984, allocations: 1.281 kB / 335.3 MB, free: 9.723 MB / 302.1 MB Notification: Performance of Templates: time 0.008562/0.0384, allocations: 2.566 MB / 337.8 MB, free: 7.891 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.643750838935375]