Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.001625/0.001625, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001782/0.001782, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.659/1.659, allocations: 230.3 MB / 258 MB, free: 8.23 MB / 206.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.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002307/0.002307, allocations: 63.89 kB / 378.7 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4411/0.4434, allocations: 53.37 MB / 432.1 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.007799/0.4512, allocations: 1.957 MB / 434.1 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00372/0.4549, allocations: 1.258 MB / 435.3 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004366/0.4554, allocations: 11.88 kB / 435.3 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001356/0.4567, allocations: 159 kB / 435.5 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008354/0.4576, allocations: 167.4 kB / 435.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009592/0.4585, allocations: 175.4 kB / 435.8 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006552/0.4592, allocations: 195.4 kB / 436 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.4594, allocations: 25.8 kB / 436 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003097/0.4597, allocations: 87.62 kB / 436.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.4599, allocations: 83.61 kB / 436.2 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.642e-05/0.46, allocations: 12 kB / 436.2 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003043/0.4603, allocations: 71.88 kB / 436.3 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.4604, allocations: 43.84 kB / 436.3 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.4605, allocations: 79.42 kB / 436.4 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006964/0.4612, allocations: 216.8 kB / 436.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.4612, allocations: 0 / 436.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.055e-06/0.4613, allocations: 0 / 436.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.47e-05/0.4613, allocations: 0 / 436.6 MB, free: 2.559 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001471/0.4627, allocations: 470.6 kB / 437.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.291e-05/0.4628, allocations: 15.97 kB / 437.1 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.463, allocations: 20.8 kB / 437.1 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009101/0.4639, allocations: 233 kB / 437.4 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.4639, allocations: 4.375 kB / 437.4 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.4639, allocations: 8.375 kB / 437.4 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008808/0.4648, allocations: 179.8 kB / 437.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.4648, allocations: 0 / 437.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.4649, allocations: 0 / 437.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.4649, allocations: 0 / 437.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001884/0.4651, allocations: 43.91 kB / 437.6 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009026/0.466, allocations: 342.4 kB / 437.9 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004334/0.4664, allocations: 138.5 kB / 438.1 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.4665, allocations: 47.42 kB / 438.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.649e-05/0.4666, allocations: 4 kB / 438.1 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002486/0.4668, allocations: 75.39 kB / 438.2 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 4.007e-06/0.4668, allocations: 3.938 kB / 438.2 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007829/0.4676, allocations: 161.4 kB / 438.3 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001594/0.4678, allocations: 162.5 kB / 438.5 MB, free: 460 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005328/0.4683, allocations: 281.9 kB / 438.8 MB, free: 168 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.4683, allocations: 29.7 kB / 438.8 MB, free: 132 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.4685, allocations: 124.4 kB / 438.9 MB, free: 0 / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.899e-05/0.4686, allocations: 20.03 kB / 438.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.89e-05/0.4686, allocations: 37.64 kB / 439 MB, free: 15.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002052/0.4688, allocations: 334.6 kB / 439.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.564e-05/0.4689, allocations: 20 kB / 439.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.4691, allocations: 83.7 kB / 439.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.4694, allocations: 97.91 kB / 439.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.4694, allocations: 0 / 439.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003796/0.4698, allocations: 129.4 kB / 439.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.4698, allocations: 8 kB / 439.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.4698, allocations: 0 / 439.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.729e-05/0.4698, allocations: 8.188 kB / 439.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.47, allocations: 16.23 kB / 439.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.47, allocations: 4 kB / 439.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.4701, allocations: 8 kB / 439.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.4701, allocations: 8 kB / 439.7 MB, free: 15.17 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0002414/0.4704, allocations: 157.6 kB / 439.8 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.4706, allocations: 77.48 kB / 439.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003445/0.4709, allocations: 111.5 kB / 440 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.4709, allocations: 4 kB / 440 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.4709, allocations: 0 / 440 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4709, allocations: 3.938 kB / 440 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003618/0.4713, allocations: 220.5 kB / 440.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.4713, allocations: 0 / 440.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.696e-05/0.4713, allocations: 4 kB / 440.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.4713, allocations: 3.938 kB / 440.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.4714, allocations: 7.984 kB / 440.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.4714, allocations: 0 / 440.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.4714, allocations: 8 kB / 440.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004689/0.4718, allocations: 167.5 kB / 440.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.472, allocations: 39.89 kB / 440.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.837e-05/0.472, allocations: 4 kB / 440.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.841e-05/0.4721, allocations: 8 kB / 440.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/0.4722, allocations: 11.92 kB / 440.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.4722, allocations: 4 kB / 440.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003423/0.4726, allocations: 209.2 kB / 440.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4726, allocations: 0 / 440.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004692/0.473, allocations: 39.86 kB / 440.7 MB, free: 14.02 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00173/0.4748, allocations: 407 kB / 441.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003605/0.4751, allocations: 83.84 kB / 441.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4751, allocations: 0 / 441.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.616e-05/0.4752, allocations: 19.98 kB / 441.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006209/0.4758, allocations: 86.56 kB / 441.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009956/0.4768, allocations: 342.5 kB / 441.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005296/0.4773, allocations: 0.732 MB / 442.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001308/0.4775, allocations: 29.61 kB / 442.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.839e-05/0.4775, allocations: 19.44 kB / 442.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4775, allocations: 0 / 442.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of Templates: time 0.009145/0.4867, allocations: 2.745 MB / 445.2 MB, free: 9.68 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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: 5.118981224484742]