Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 166.7 kB / 24.99 MB, free: 8.793 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 273.1 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.205e-05, allocations: 2.312 kB / 273.1 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003148/0.003171, allocations: 1.801 MB / 274.9 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.004445, allocations: 0.6698 MB / 275.5 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.004585, allocations: 11.88 kB / 275.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.004778, allocations: 15.8 kB / 275.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.005043, allocations: 43.66 kB / 275.6 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004761/0.005519, allocations: 139.6 kB / 275.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.005736, allocations: 143.6 kB / 275.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.005895, allocations: 25.78 kB / 275.9 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002435/0.006139, allocations: 103.7 kB / 276 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.006343, allocations: 91.73 kB / 276.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.289e-05/0.006376, allocations: 12 kB / 276.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.742e-05/0.006433, allocations: 20 kB / 276.1 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.431e-05/0.006518, allocations: 63.81 kB / 276.2 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.227e-05/0.00659, allocations: 51.83 kB / 276.2 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003077/0.006898, allocations: 175.3 kB / 276.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.006902, allocations: 4 kB / 276.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.006903, allocations: 0 / 276.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.006908, allocations: 0 / 276.4 MB, free: 14.43 MB / 266.7 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.000726/0.007634, allocations: 0.5269 MB / 276.9 MB, free: 13.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.007679, allocations: 8.031 kB / 277 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.007873, allocations: 52.73 kB / 277 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.008164, allocations: 204.1 kB / 277.2 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.008196, allocations: 16.38 kB / 277.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.008224, allocations: 16.38 kB / 277.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008078/0.009032, allocations: 490 kB / 277.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.009042, allocations: 192 / 277.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.009062, allocations: 4.375 kB / 277.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.861e-05/0.009101, allocations: 15.94 kB / 277.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002057/0.009307, allocations: 95.84 kB / 277.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.009722, allocations: 342.8 kB / 278.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.01003, allocations: 173.2 kB / 278.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.01019, allocations: 99.52 kB / 278.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.744e-05/0.01023, allocations: 15.98 kB / 278.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.01026, allocations: 53.31 kB / 278.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 2.074e-06/0.01027, allocations: 0 / 278.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.003718/0.01398, allocations: 277.4 kB / 278.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/0.01412, allocations: 130.7 kB / 278.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.01433, allocations: 221.9 kB / 279.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.01436, allocations: 33.7 kB / 279.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.71e-05/0.01444, allocations: 147.9 kB / 279.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.437e-05/0.01449, allocations: 43.88 kB / 279.3 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.159e-05/0.01457, allocations: 55.55 kB / 279.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.01477, allocations: 0.4963 MB / 279.9 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.144e-05/0.01484, allocations: 24.45 kB / 279.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.01496, allocations: 152.5 kB / 280.1 MB, free: 10.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.01515, allocations: 187.4 kB / 280.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.01516, allocations: 3.938 kB / 280.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003063/0.01546, allocations: 189.5 kB / 280.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.01549, allocations: 7.938 kB / 280.4 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.0155, allocations: 4 kB / 280.4 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.01552, allocations: 4 kB / 280.4 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.0157, allocations: 39.92 kB / 280.5 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.01571, allocations: 4 kB / 280.5 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.664e-05/0.0158, allocations: 7.953 kB / 280.5 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.01583, allocations: 16 kB / 280.5 MB, free: 9.938 MB / 266.7 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.0001778/0.01601, allocations: 192.5 kB / 280.7 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004362/0.01644, allocations: 218.4 kB / 280.9 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.642e-05/0.01651, allocations: 34.66 kB / 280.9 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.01651, allocations: 4 kB / 281 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.01652, allocations: 3.984 kB / 281 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.01653, allocations: 0 / 281 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.0167, allocations: 160.5 kB / 281.1 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.01671, allocations: 0 / 281.1 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.01689, allocations: 63.91 kB / 281.2 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.01689, allocations: 0 / 281.2 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.01691, allocations: 15.92 kB / 281.2 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.01692, allocations: 8 kB / 281.2 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.01692, allocations: 0 / 281.2 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004332/0.01736, allocations: 411.1 kB / 281.6 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-05/0.01743, allocations: 47.77 kB / 281.6 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.718e-05/0.01748, allocations: 23.92 kB / 281.7 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.01763, allocations: 8 kB / 281.7 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.01766, allocations: 0 / 281.7 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.01768, allocations: 19.98 kB / 281.7 MB, free: 8.668 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.969e-05/0.01778, allocations: 164.2 kB / 281.9 MB, free: 8.508 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01778, allocations: 0 / 281.9 MB, free: 8.508 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002412/0.01802, allocations: 44 kB / 281.9 MB, free: 8.465 MB / 266.7 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.0001349/0.01816, allocations: 115.6 kB / 282 MB, free: 8.344 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002503/0.01841, allocations: 151.4 kB / 282.2 MB, free: 8.191 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01841, allocations: 0 / 282.2 MB, free: 8.191 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.578e-05/0.01842, allocations: 8.562 kB / 282.2 MB, free: 8.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004731/0.0189, allocations: 162.9 kB / 282.3 MB, free: 8.023 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009162/0.01981, allocations: 494.6 kB / 282.8 MB, free: 7.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.784e-05/0.01988, allocations: 108.8 kB / 282.9 MB, free: 7.371 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.152e-05/0.01991, allocations: 13.95 kB / 282.9 MB, free: 7.359 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.124e-05/0.01996, allocations: 28.48 kB / 283 MB, free: 7.332 MB / 266.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01996, allocations: 0 / 283 MB, free: 7.332 MB / 266.7 MB Notification: Performance of Templates: time 0.00461/0.02458, allocations: 2.573 MB / 285.5 MB, free: 4.785 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9069647509604692]