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.0012/0.0012, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 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.001282/0.001282, allocations: 160 kB / 24.99 MB, free: 8.801 MB / 18.57 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.049/1.049, allocations: 177 MB / 205.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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 2.335e-06/2.335e-06, allocations: 0 / 273 MB, free: 1.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.302e-05/3.536e-05, allocations: 2.312 kB / 273 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.006941/0.006976, allocations: 1.794 MB / 274.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004733/0.01171, allocations: 0.6736 MB / 275.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002029/0.01191, allocations: 7.938 kB / 275.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002617/0.01217, allocations: 19.8 kB / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003001/0.01247, allocations: 47.64 kB / 275.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005258/0.013, allocations: 131.5 kB / 275.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003289/0.01629, allocations: 147.6 kB / 275.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.01643, allocations: 25.78 kB / 275.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002482/0.01668, allocations: 95.72 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.01691, allocations: 95.8 kB / 276 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.918e-05/0.01695, allocations: 12 kB / 276 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.922e-05/0.01701, allocations: 20 kB / 276.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.501e-05/0.0171, allocations: 63.81 kB / 276.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.557e-05/0.01718, allocations: 51.83 kB / 276.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.01746, allocations: 175.3 kB / 276.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.01746, allocations: 0 / 276.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.01746, allocations: 0 / 276.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.01747, allocations: 0 / 276.3 MB, free: 14.39 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.000754/0.01822, allocations: 0.5308 MB / 276.9 MB, free: 13.83 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.01827, allocations: 15.97 kB / 276.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.01846, allocations: 56.75 kB / 276.9 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.01876, allocations: 204.1 kB / 277.1 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.55e-05/0.01879, allocations: 20.36 kB / 277.2 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.01882, allocations: 16.38 kB / 277.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003908/0.02273, allocations: 486 kB / 277.7 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.02274, allocations: 192 / 277.7 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.02277, allocations: 4.375 kB / 277.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.416e-05/0.02281, allocations: 15.94 kB / 277.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.02303, allocations: 91.84 kB / 277.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.02346, allocations: 338.9 kB / 278.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.02369, allocations: 181.2 kB / 278.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.0238, allocations: 91.58 kB / 278.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.02383, allocations: 12 kB / 278.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.02385, allocations: 53.25 kB / 278.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 1.673e-06/0.02386, allocations: 0 / 278.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.00052/0.02438, allocations: 273.4 kB / 278.7 MB, free: 11.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.991e-05/0.02448, allocations: 134.8 kB / 278.8 MB, free: 11.69 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.02461, allocations: 217.9 kB / 279 MB, free: 11.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.02463, allocations: 37.83 kB / 279.1 MB, free: 11.42 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.0247, allocations: 147.9 kB / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.02474, allocations: 35.73 kB / 279.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.194e-05/0.0248, allocations: 55.55 kB / 279.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.02493, allocations: 0.5 MB / 279.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.29e-05/0.02497, allocations: 28.39 kB / 279.8 MB, free: 10.63 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.02508, allocations: 152.5 kB / 280 MB, free: 10.42 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.02524, allocations: 183.4 kB / 280.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.02524, allocations: 0 / 280.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002384/0.02548, allocations: 193.2 kB / 280.4 MB, free: 9.988 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.02551, allocations: 11.06 kB / 280.4 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.02551, allocations: 4 kB / 280.4 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.02553, allocations: 4 kB / 280.4 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.02565, allocations: 35.92 kB / 280.4 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.02566, allocations: 8.375 kB / 280.4 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.664e-05/0.02573, allocations: 15.95 kB / 280.4 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.02574, allocations: 16 kB / 280.4 MB, free: 9.898 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.0002701/0.02601, allocations: 188.4 kB / 280.6 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003695/0.02638, allocations: 218.6 kB / 280.8 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.348e-05/0.02645, allocations: 30.66 kB / 280.9 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.02645, allocations: 4 kB / 280.9 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.02646, allocations: 3.984 kB / 280.9 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.02646, allocations: 0 / 280.9 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.02665, allocations: 168.5 kB / 281 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.02666, allocations: 4 kB / 281 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.02688, allocations: 63.91 kB / 281.1 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.02689, allocations: 3.938 kB / 281.1 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.02691, allocations: 15.92 kB / 281.1 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.02691, allocations: 4.391 kB / 281.1 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.02692, allocations: 0 / 281.1 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003951/0.02731, allocations: 406.9 kB / 281.5 MB, free: 8.727 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.379e-05/0.02739, allocations: 47.77 kB / 281.6 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.715e-05/0.02744, allocations: 23.92 kB / 281.6 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.611e-05/0.02754, allocations: 8 kB / 281.6 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.02757, allocations: 4 kB / 281.6 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.02759, allocations: 15.98 kB / 281.6 MB, free: 8.629 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.637e-05/0.02766, allocations: 164.2 kB / 281.8 MB, free: 8.469 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02766, allocations: 7.875 kB / 281.8 MB, free: 8.461 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003047/0.02797, allocations: 40 kB / 281.8 MB, free: 8.422 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.0001183/0.02809, allocations: 109.9 kB / 281.9 MB, free: 8.309 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002569/0.02834, allocations: 152.3 kB / 282.1 MB, free: 8.156 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.02834, allocations: 0 / 282.1 MB, free: 8.156 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.502e-05/0.02836, allocations: 7.688 kB / 282.1 MB, free: 8.145 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005285/0.02889, allocations: 160.7 kB / 282.3 MB, free: 7.988 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.02997, allocations: 494.6 kB / 282.7 MB, free: 7.465 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.376e-05/0.03005, allocations: 109.4 kB / 282.8 MB, free: 7.336 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.814e-05/0.03009, allocations: 17.95 kB / 282.9 MB, free: 7.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.806e-05/0.03015, allocations: 24.48 kB / 282.9 MB, free: 7.297 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.03015, allocations: 0 / 282.9 MB, free: 7.297 MB / 266.7 MB Notification: Performance of Templates: time 0.005981/0.03613, allocations: 2.581 MB / 285.5 MB, free: 4.746 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 240] 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","",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.903010689187795]