Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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.001172/0.001172, allocations: 80.34 kB / 22.21 MB, free: 2.281 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.001216/0.001216, allocations: 166.2 kB / 25.61 MB, free: 8.578 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 0.9771/0.9771, allocations: 177 MB / 205.9 MB, free: 4.441 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.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 274.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.269e-05/1.398e-05, allocations: 2.312 kB / 274.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.002294/0.002308, allocations: 1.961 MB / 276.1 MB, free: 2.332 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.003797, allocations: 1.185 MB / 277.2 MB, free: 1.141 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.003917, allocations: 8.812 kB / 277.3 MB, free: 1.133 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004786/0.004395, allocations: 152 kB / 277.4 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002893/0.004685, allocations: 169.7 kB / 277.6 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.005065, allocations: 171.4 kB / 277.7 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.005295, allocations: 201.4 kB / 277.9 MB, free: 468 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.005387, allocations: 21.72 kB / 278 MB, free: 444 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.00552, allocations: 115.6 kB / 278.1 MB, free: 328 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.789e-05/0.005618, allocations: 63.8 kB / 278.1 MB, free: 264 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.005639, allocations: 12 kB / 278.1 MB, free: 252 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.005832, allocations: 59.89 kB / 278.2 MB, free: 192 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.561e-05/0.005888, allocations: 52.48 kB / 278.3 MB, free: 140 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.005928, allocations: 35.88 kB / 278.3 MB, free: 104 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.006139, allocations: 175.2 kB / 278.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.006141, allocations: 0 / 278.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.006141, allocations: 0 / 278.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.006145, allocations: 0 / 278.5 MB, free: 15.93 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004724/0.006617, allocations: 0.5516 MB / 279 MB, free: 15.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.006647, allocations: 8.031 kB / 279 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.625e-05/0.006693, allocations: 28.8 kB / 279 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.006897, allocations: 216.4 kB / 279.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.006913, allocations: 12.38 kB / 279.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.006924, allocations: 8.312 kB / 279.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.007106, allocations: 152.2 kB / 279.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.007114, allocations: 192 / 279.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.007122, allocations: 4.375 kB / 279.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.007129, allocations: 3.938 kB / 279.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.483e-05/0.007163, allocations: 19.92 kB / 279.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004329/0.007596, allocations: 458.5 kB / 279.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.007718, allocations: 140.5 kB / 280 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.01e-05/0.007758, allocations: 50.73 kB / 280.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.007772, allocations: 4 kB / 280.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.793e-05/0.00787, allocations: 100.3 kB / 280.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.452e-06/0.007871, allocations: 0 / 280.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001989/0.00807, allocations: 129.4 kB / 280.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.008123, allocations: 132.5 kB / 280.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.008296, allocations: 292.2 kB / 280.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.008312, allocations: 29.7 kB / 280.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.075e-05/0.008383, allocations: 171.1 kB / 280.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.008402, allocations: 7.906 kB / 280.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/0.008443, allocations: 47.3 kB / 281 MB, free: 13.1 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.008564, allocations: 0.4965 MB / 281.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.008582, allocations: 15.92 kB / 281.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.765e-05/0.008629, allocations: 80.61 kB / 281.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.886e-05/0.008678, allocations: 51 kB / 281.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.008681, allocations: 0 / 281.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.577e-05/0.008776, allocations: 85.47 kB / 281.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.008789, allocations: 4 kB / 281.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.008792, allocations: 0 / 281.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.826e-06/0.008801, allocations: 4 kB / 281.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.987e-05/0.008851, allocations: 16.08 kB / 281.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-06/0.008853, allocations: 0 / 281.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.565e-05/0.008889, allocations: 11.94 kB / 281.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.008895, allocations: 4 kB / 281.7 MB, free: 12.29 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,hold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 7.346e-05/0.008968, allocations: 164.6 kB / 281.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.18e-05/0.00902, allocations: 69.44 kB / 282 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.009144, allocations: 99.36 kB / 282.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.009147, allocations: 4 kB / 282.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.009149, allocations: 3.938 kB / 282.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.009152, allocations: 4.062 kB / 282.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.009264, allocations: 145.1 kB / 282.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.009266, allocations: 4 kB / 282.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.835e-05/0.009285, allocations: 4 kB / 282.2 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.009288, allocations: 4 kB / 282.2 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.009293, allocations: 0 / 282.2 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.009297, allocations: 11.92 kB / 282.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.009298, allocations: 80 / 282.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.00941, allocations: 159.4 kB / 282.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.009456, allocations: 43.77 kB / 282.4 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.009474, allocations: 8 kB / 282.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.415e-05/0.009508, allocations: 11.94 kB / 282.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.009534, allocations: 7.984 kB / 282.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.009544, allocations: 4 kB / 282.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.727e-05/0.009631, allocations: 193.1 kB / 282.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009631, allocations: 0 / 282.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001643/0.009796, allocations: 31.98 kB / 282.7 MB, free: 11.24 MB / 266.7 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,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 (12): * Single equations (assignments): 10 * 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.0007598/0.01056, allocations: 390.1 kB / 283.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.01066, allocations: 59.58 kB / 283.1 MB, free: 10.92 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.01066, allocations: 0 / 283.1 MB, free: 10.92 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.112e-05/0.01069, allocations: 23.67 kB / 283.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.01094, allocations: 78.45 kB / 283.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006589/0.0116, allocations: 321.3 kB / 283.6 MB, free: 10.47 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.616e-05/0.01165, allocations: 87.77 kB / 283.6 MB, free: 10.37 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.657e-05/0.01169, allocations: 21.62 kB / 283.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.522e-05/0.01178, allocations: 106.2 kB / 283.8 MB, free: 10.24 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01178, allocations: 192 / 283.8 MB, free: 10.24 MB / 266.7 MB Notification: Performance of Templates: time 0.004471/0.01625, allocations: 2.974 MB / 286.7 MB, free: 7.312 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.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.8703096667304635]