Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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.001553/0.001553, allocations: 118.9 kB / 17.79 MB, free: 5.285 MB / 14.72 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.001546/0.001546, allocations: 199.3 kB / 20.74 MB, free: 2.344 MB / 14.72 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.727/1.727, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 47.92 kB / 373.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1576, allocations: 53.33 MB / 426.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.004713/0.1623, allocations: 1.927 MB / 428.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002583/0.1649, allocations: 1.239 MB / 430 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.165, allocations: 3.938 kB / 430 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008346/0.1659, allocations: 147.5 kB / 430.1 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000488/0.1664, allocations: 163.4 kB / 430.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006971/0.1671, allocations: 175.2 kB / 430.4 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003305/0.1674, allocations: 187.5 kB / 430.6 MB, free: 460 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.1675, allocations: 25.66 kB / 430.6 MB, free: 436 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.1677, allocations: 91.52 kB / 430.7 MB, free: 344 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.1678, allocations: 83.61 kB / 430.8 MB, free: 260 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.1679, allocations: 8 kB / 430.8 MB, free: 252 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.168, allocations: 67.89 kB / 430.9 MB, free: 184 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.802e-05/0.1681, allocations: 43.84 kB / 430.9 MB, free: 140 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.1682, allocations: 71.48 kB / 431 MB, free: 68 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2752/0.4435, allocations: 217.1 kB / 431.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4435, allocations: 0 / 431.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4435, allocations: 0.7188 kB / 431.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.4435, allocations: 1.594 kB / 431.2 MB, free: 8.453 MB / 350.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.0007882/0.4443, allocations: 0.527 MB / 431.7 MB, free: 7.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.4443, allocations: 9.094 kB / 431.8 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.122e-05/0.4444, allocations: 23.11 kB / 431.8 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.4447, allocations: 276 kB / 432 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.4447, allocations: 13.12 kB / 432.1 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.4448, allocations: 11.39 kB / 432.1 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000353/0.4451, allocations: 162 kB / 432.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.4451, allocations: 0.875 kB / 432.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.4451, allocations: 4.219 kB / 432.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.4451, allocations: 2.469 kB / 432.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.4453, allocations: 38.36 kB / 432.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004891/0.4457, allocations: 447.3 kB / 432.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.446, allocations: 129.8 kB / 432.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.041e-05/0.4461, allocations: 57.56 kB / 432.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.4461, allocations: 3.969 kB / 432.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.4463, allocations: 95.48 kB / 433 MB, free: 7.105 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.472e-06/0.4463, allocations: 0 / 433 MB, free: 7.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.000395/0.4467, allocations: 158.4 kB / 433.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.4467, allocations: 166.1 kB / 433.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.447, allocations: 272.8 kB / 433.6 MB, free: 6.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.4471, allocations: 31.95 kB / 433.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.131e-05/0.4471, allocations: 121.5 kB / 433.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.4471, allocations: 20.14 kB / 433.7 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.4472, allocations: 38.91 kB / 433.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.309e-05/0.4473, allocations: 332.7 kB / 434.1 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.726e-05/0.4473, allocations: 23.61 kB / 434.1 MB, free: 6.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.568e-05/0.4474, allocations: 82.23 kB / 434.2 MB, free: 6.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.4475, allocations: 92.62 kB / 434.3 MB, free: 6.188 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.4475, allocations: 1.812 kB / 434.3 MB, free: 6.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002027/0.4477, allocations: 124.4 kB / 434.4 MB, free: 6.148 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.4478, allocations: 5.188 kB / 434.4 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4478, allocations: 4.531 kB / 434.4 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.4478, allocations: 4.609 kB / 434.4 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.937e-05/0.4479, allocations: 20.12 kB / 434.5 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.4479, allocations: 5.469 kB / 434.5 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.294e-05/0.448, allocations: 9.078 kB / 434.5 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.448, allocations: 4.438 kB / 434.5 MB, free: 6.145 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,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.0001037/0.4481, allocations: 153.5 kB / 434.6 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.351e-05/0.4482, allocations: 75.67 kB / 434.7 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.995e-05/0.4482, allocations: 25.83 kB / 434.7 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.4482, allocations: 2 kB / 434.7 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4482, allocations: 1.344 kB / 434.7 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4482, allocations: 5.312 kB / 434.7 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.4484, allocations: 234.4 kB / 435 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.4484, allocations: 1.938 kB / 435 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.852e-05/0.4484, allocations: 10.64 kB / 435 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.4484, allocations: 1.062 kB / 435 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.4484, allocations: 2.219 kB / 435 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.4484, allocations: 3.828 kB / 435 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.4484, allocations: 6.281 kB / 435 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.4487, allocations: 177 kB / 435.2 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.064e-05/0.4488, allocations: 107.8 kB / 435.3 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.4488, allocations: 5.531 kB / 435.3 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.314e-05/0.4489, allocations: 3.312 kB / 435.3 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.4489, allocations: 14.27 kB / 435.3 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.4489, allocations: 5.156 kB / 435.3 MB, free: 5.566 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000179/0.4491, allocations: 210.5 kB / 435.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4491, allocations: 0 / 435.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.4494, allocations: 40.19 kB / 435.5 MB, free: 5.473 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,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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * 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.001594/0.451, allocations: 426.4 kB / 436 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002492/0.4512, allocations: 74.11 kB / 436 MB, free: 5.324 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4512, allocations: 4.062 kB / 436 MB, free: 5.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.945e-05/0.4513, allocations: 29.91 kB / 436.1 MB, free: 5.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.4517, allocations: 62.52 kB / 436.1 MB, free: 5.316 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005962/0.4523, allocations: 337.4 kB / 436.5 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.4525, allocations: 0.7382 MB / 437.2 MB, free: 4.418 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.641e-05/0.4526, allocations: 20.12 kB / 437.2 MB, free: 4.418 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.895e-05/0.4527, allocations: 21.16 kB / 437.2 MB, free: 4.41 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4527, allocations: 2.625 kB / 437.2 MB, free: 4.41 MB / 350.1 MB Notification: Performance of Templates: time 0.00741/0.4601, allocations: 2.585 MB / 439.8 MB, free: 4.211 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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.4248646683990955]