Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.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.002176/0.002176, allocations: 123.4 kB / 17.79 MB, free: 5.281 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.002734/0.002734, allocations: 204.3 kB / 20.74 MB, free: 2.34 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.67/1.67, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2583/0.2583, allocations: 46.93 MB / 357.1 MB, free: 10.4 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5020,variableFilter="time|booleanTable.y|onDelay1.delaySignal|onDelay1.t_next|onDelay1.u|onDelay2.delaySignal|onDelay2.t_next|onDelay2.u|onDelay3.delaySignal|onDelay3.t_next|onDelay3.u",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay") translateModel(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5020,variableFilter="time|booleanTable.y|onDelay1.delaySignal|onDelay1.t_next|onDelay1.u|onDelay2.delaySignal|onDelay2.t_next|onDelay2.u|onDelay3.delaySignal|onDelay3.t_next|onDelay3.u",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 63.91 kB / 0.4914 GB, free: 7.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1638, allocations: 65.99 MB / 0.5558 GB, free: 5.441 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.004072/0.1679, allocations: 1.928 MB / 0.5577 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.1703, allocations: 1.185 MB / 0.5589 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.1704, allocations: 7.938 kB / 0.5589 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008223/0.1713, allocations: 179.5 kB / 0.5591 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004562/0.1717, allocations: 175.3 kB / 0.5592 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/0.1722, allocations: 163.5 kB / 0.5594 GB, free: 1.789 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000392/0.1726, allocations: 275.3 kB / 0.5596 GB, free: 1.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1727, allocations: 25.61 kB / 0.5597 GB, free: 1.496 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.1729, allocations: 115.6 kB / 0.5598 GB, free: 1.383 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.1731, allocations: 123.5 kB / 0.5599 GB, free: 1.262 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.1731, allocations: 16 kB / 0.5599 GB, free: 1.246 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.1733, allocations: 75.91 kB / 0.56 GB, free: 1.172 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.1734, allocations: 59.81 kB / 0.56 GB, free: 1.113 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.1735, allocations: 107.4 kB / 0.5601 GB, free: 1.008 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004214/0.1739, allocations: 290.8 kB / 0.5604 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1739, allocations: 0 / 0.5604 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1739, allocations: 0 / 0.5604 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.1739, allocations: 0 / 0.5604 GB, free: 0.7227 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001155/0.1751, allocations: 0.6725 MB / 0.5611 GB, free: 15.97 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.975e-05/0.1752, allocations: 21.05 kB / 0.5611 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.614e-05/0.1753, allocations: 28.8 kB / 0.5611 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004464/0.1757, allocations: 279.8 kB / 0.5614 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.1758, allocations: 93.67 kB / 0.5615 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.308e-05/0.1759, allocations: 15.94 kB / 0.5615 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003779/0.1763, allocations: 153 kB / 0.5616 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.1763, allocations: 7.984 kB / 0.5616 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.1763, allocations: 11.98 kB / 0.5617 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.1763, allocations: 4 kB / 0.5617 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002624/0.1766, allocations: 87.88 kB / 0.5617 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009724/0.1775, allocations: 0.6141 MB / 0.5623 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003739/0.1779, allocations: 151.9 kB / 0.5625 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.1781, allocations: 70.55 kB / 0.5626 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/0.1781, allocations: 7.984 kB / 0.5626 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005656/0.1787, allocations: 436.6 kB / 0.563 GB, free: 13.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=23): time 1.613e-06/0.1787, allocations: 0 / 0.563 GB, free: 13.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009672/0.1797, allocations: 442.9 kB / 0.5634 GB, free: 13.33 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001556/0.1798, allocations: 221.5 kB / 0.5636 GB, free: 13.06 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004145/0.1802, allocations: 334.5 kB / 0.5639 GB, free: 12.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.848e-05/0.1803, allocations: 33.7 kB / 0.564 GB, free: 12.69 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.1804, allocations: 128.7 kB / 0.5641 GB, free: 12.56 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.372e-05/0.1805, allocations: 55.58 kB / 0.5641 GB, free: 12.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.691e-05/0.1805, allocations: 45.7 kB / 0.5642 GB, free: 12.45 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.1807, allocations: 346.8 kB / 0.5645 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.1809, allocations: 71.89 kB / 0.5646 GB, free: 12.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.1811, allocations: 138.3 kB / 0.5647 GB, free: 11.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004526/0.1816, allocations: 362.6 kB / 0.5651 GB, free: 11.44 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.1816, allocations: 0 / 0.5651 GB, free: 11.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006/0.1822, allocations: 354.2 kB / 0.5654 GB, free: 11.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.196e-05/0.1823, allocations: 89.09 kB / 0.5655 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.1823, allocations: 4.219 kB / 0.5655 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.1823, allocations: 8 kB / 0.5655 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.1824, allocations: 27.92 kB / 0.5655 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1824, allocations: 0 / 0.5655 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.1826, allocations: 27.88 kB / 0.5656 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.1826, allocations: 12 kB / 0.5656 GB, free: 10.89 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.onDelay1.u,$PRE.onDelay1.t_next,$PRE.onDelay3.u,$PRE.onDelay3.t_next,$PRE.onDelay2.u,$PRE.onDelay2.t_next,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition5,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,onDelay1.t_next,onDelay1.delaySignal,onDelay1.y,onDelay1.u,$whenCondition7,$whenCondition6,onDelay2.t_next,onDelay2.delaySignal,onDelay2.y,onDelay2.u,$whenCondition4,$whenCondition3,onDelay3.t_next,onDelay3.delaySignal,onDelay3.y,onDelay3.u,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 3 * 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.0002752/0.1829, allocations: 261.5 kB / 0.5658 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-05/0.1829, allocations: 39.78 kB / 0.5658 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.435e-05/0.183, allocations: 29.72 kB / 0.5659 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.183, allocations: 0 / 0.5659 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.128e-06/0.183, allocations: 7.984 kB / 0.5659 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.183, allocations: 4 kB / 0.5659 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003591/0.1834, allocations: 297.4 kB / 0.5662 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1834, allocations: 0 / 0.5662 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.041e-05/0.1834, allocations: 11.88 kB / 0.5662 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1834, allocations: 0 / 0.5662 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/0.1834, allocations: 12 kB / 0.5662 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.1834, allocations: 4 kB / 0.5662 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1834, allocations: 4 kB / 0.5662 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007874/0.1842, allocations: 446.6 kB / 0.5666 GB, free: 9.672 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.694e-05/0.1843, allocations: 101.1 kB / 0.5667 GB, free: 9.555 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.749e-05/0.1844, allocations: 15.98 kB / 0.5667 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.1845, allocations: 16 kB / 0.5668 GB, free: 9.523 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.1846, allocations: 27.95 kB / 0.5668 GB, free: 9.496 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-05/0.1846, allocations: 8 kB / 0.5668 GB, free: 9.488 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002825/0.1849, allocations: 241.9 kB / 0.567 GB, free: 9.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1849, allocations: 4 kB / 0.567 GB, free: 9.246 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003523/0.1853, allocations: 67.89 kB / 0.5671 GB, free: 9.18 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition5,$whenCondition6,$whenCondition7,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$whenCondition4,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition1,$whenCondition2,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next) * Number of discrete states: 14 (onDelay3.t_next,onDelay3.delaySignal,$whenCondition2,$whenCondition1,onDelay2.t_next,onDelay2.delaySignal,$whenCondition4,$whenCondition3,booleanTable.combiTimeTable.nextTimeEventScaled,onDelay1.t_next,onDelay1.delaySignal,$whenCondition7,$whenCondition6,booleanTable.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 3 * 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.001682/0.187, allocations: 447 kB / 0.5675 GB, free: 8.891 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006275/0.1876, allocations: 358 kB / 0.5679 GB, free: 8.504 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1876, allocations: 0 / 0.5679 GB, free: 8.504 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000373/0.188, allocations: 266.1 kB / 0.5681 GB, free: 8.207 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.1883, allocations: 62.95 kB / 0.5682 GB, free: 8.152 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009481/0.1893, allocations: 453.5 kB / 0.5686 GB, free: 7.676 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.1898, allocations: 0.7518 MB / 0.5693 GB, free: 6.895 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.061e-05/0.1898, allocations: 29.53 kB / 0.5694 GB, free: 6.867 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.123e-05/0.1899, allocations: 23.44 kB / 0.5694 GB, free: 6.848 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1899, allocations: 0 / 0.5694 GB, free: 6.848 MB / 430.1 MB Notification: Performance of Templates: time 0.008877/0.1988, allocations: 3.519 MB / 0.5728 GB, free: 3.344 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/OnDelay/OnDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.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.6629111766815186]