Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 83.89 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009753/0.0009753, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9677/0.9677, allocations: 173.3 MB / 201.1 MB, free: 9.34 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.459e-05, allocations: 6.25 kB / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.002509/0.002533, allocations: 1.94 MB / 269.9 MB, free: 4.484 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.003846, allocations: 1.059 MB / 271 MB, free: 3.418 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.003957, allocations: 3.938 kB / 271 MB, free: 3.414 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006025/0.00456, allocations: 163.3 kB / 271.2 MB, free: 3.254 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.004787, allocations: 115.5 kB / 271.3 MB, free: 3.141 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.005157, allocations: 207.2 kB / 271.5 MB, free: 2.938 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.005359, allocations: 187.4 kB / 271.7 MB, free: 2.754 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.005483, allocations: 29.72 kB / 271.7 MB, free: 2.723 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.005606, allocations: 103.7 kB / 271.8 MB, free: 2.621 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.00571, allocations: 67.8 kB / 271.9 MB, free: 2.555 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.005734, allocations: 8 kB / 271.9 MB, free: 2.547 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.005843, allocations: 63.89 kB / 271.9 MB, free: 2.484 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.918e-05/0.005902, allocations: 47.84 kB / 272 MB, free: 2.438 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.59e-05/0.005958, allocations: 39.86 kB / 272 MB, free: 2.398 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.006194, allocations: 163.3 kB / 272.2 MB, free: 2.238 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.006197, allocations: 0 / 272.2 MB, free: 2.238 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.006197, allocations: 0 / 272.2 MB, free: 2.238 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.006203, allocations: 4 kB / 272.2 MB, free: 2.234 MB / 250.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.0005691/0.006772, allocations: 0.5362 MB / 272.7 MB, free: 1.656 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.006813, allocations: 8.031 kB / 272.7 MB, free: 1.648 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.903e-05/0.006872, allocations: 28.73 kB / 272.7 MB, free: 1.621 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006174/0.00749, allocations: 232.4 kB / 273 MB, free: 1.363 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.007508, allocations: 4.375 kB / 273 MB, free: 1.359 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.007525, allocations: 8.375 kB / 273 MB, free: 1.352 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.007819, allocations: 152.2 kB / 273.1 MB, free: 1.172 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.007834, allocations: 3.938 kB / 273.1 MB, free: 1.168 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.007846, allocations: 7.938 kB / 273.1 MB, free: 1.16 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.007855, allocations: 4 kB / 273.1 MB, free: 1.156 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.218e-05/0.007907, allocations: 19.98 kB / 273.2 MB, free: 1.137 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004882/0.008396, allocations: 481.9 kB / 273.6 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.008567, allocations: 144.4 kB / 273.8 MB, free: 436 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.858e-05/0.008626, allocations: 58.67 kB / 273.8 MB, free: 360 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.008652, allocations: 3.984 kB / 273.8 MB, free: 356 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.008797, allocations: 100.3 kB / 273.9 MB, free: 232 kB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.008798, allocations: 4 kB / 273.9 MB, free: 228 kB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002686/0.009066, allocations: 129.5 kB / 274.1 MB, free: 92 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.58e-05/0.009142, allocations: 136.5 kB / 274.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.009335, allocations: 280.3 kB / 274.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.009352, allocations: 33.7 kB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.977e-05/0.009432, allocations: 171.1 kB / 274.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.009456, allocations: 23.91 kB / 274.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.009496, allocations: 31.73 kB / 274.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.009623, allocations: 0.5001 MB / 275.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.447e-05/0.009648, allocations: 12 kB / 275.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.059e-05/0.009698, allocations: 76.38 kB / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.347e-05/0.009762, allocations: 67.17 kB / 275.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.009764, allocations: 0 / 275.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000105/0.009869, allocations: 85.48 kB / 275.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.009892, allocations: 10.81 kB / 275.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.009898, allocations: 0 / 275.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.009915, allocations: 4.094 kB / 275.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.605e-05/0.009981, allocations: 19.92 kB / 275.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.009988, allocations: 0 / 275.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.584e-05/0.01002, allocations: 4 kB / 275.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.01003, allocations: 8 kB / 275.5 MB, free: 14.52 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.787e-05/0.01011, allocations: 164.5 kB / 275.7 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.958e-05/0.01017, allocations: 69.48 kB / 275.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001366/0.01031, allocations: 95.44 kB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.01031, allocations: 4 kB / 275.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.01031, allocations: 4.062 kB / 275.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.01032, allocations: 0 / 275.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.01045, allocations: 180.5 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01045, allocations: 0 / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.917e-05/0.01047, allocations: 7.938 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.01047, allocations: 4 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.01048, allocations: 4 kB / 276 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.01048, allocations: 4 kB / 276 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01048, allocations: 0 / 276 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.01063, allocations: 191.1 kB / 276.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/0.01067, allocations: 35.84 kB / 276.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.01069, allocations: 8 kB / 276.3 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.123e-05/0.01073, allocations: 7.984 kB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.01076, allocations: 64 / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.01077, allocations: 19.98 kB / 276.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001206/0.01089, allocations: 197.1 kB / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01089, allocations: 0 / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000165/0.01106, allocations: 27.94 kB / 276.5 MB, free: 13.43 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.0008196/0.01188, allocations: 395.5 kB / 276.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.01201, allocations: 59.59 kB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01201, allocations: 0 / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.39e-05/0.01206, allocations: 39.72 kB / 277 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.01233, allocations: 67.73 kB / 277.1 MB, free: 13.01 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003845/0.01272, allocations: 317.2 kB / 277.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.755e-05/0.01277, allocations: 79.97 kB / 277.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.82e-05/0.01281, allocations: 17.48 kB / 277.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.01285, allocations: 24.69 kB / 277.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of SimCode: time 9.81e-07/0.01285, allocations: 4 kB / 277.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of Templates: time 0.00511/0.01796, allocations: 2.665 MB / 280.2 MB, free: 9.895 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.943119721021503]