Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001726/0.001726, allocations: 79.27 kB / 20.52 MB, free: 1.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.002025/0.002025, allocations: 163 kB / 23.76 MB, free: 4.469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 158.6 MB / 185.5 MB, free: 6.215 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2931/0.2931, allocations: 32.38 MB / 270.1 MB, free: 2.703 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.OnDelay") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002496/0.002496, allocations: 67.91 kB / 407.7 MB, free: 5.535 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1357, allocations: 61.04 MB / 468.8 MB, free: 8.312 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.00387/0.1396, allocations: 1.854 MB / 470.6 MB, free: 6.449 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.1416, allocations: 0.9245 MB / 471.6 MB, free: 5.516 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.1417, allocations: 4 kB / 471.6 MB, free: 5.512 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008096/0.1425, allocations: 187.5 kB / 471.7 MB, free: 5.328 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003816/0.1429, allocations: 135.5 kB / 471.9 MB, free: 5.195 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005546/0.1434, allocations: 175.6 kB / 472.1 MB, free: 5.023 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003725/0.1438, allocations: 267.3 kB / 472.3 MB, free: 4.762 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.1439, allocations: 25.8 kB / 472.3 MB, free: 4.738 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.1441, allocations: 115.6 kB / 472.5 MB, free: 4.625 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.1443, allocations: 115.5 kB / 472.6 MB, free: 4.512 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.276e-05/0.1443, allocations: 20 kB / 472.6 MB, free: 4.492 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.1445, allocations: 59.95 kB / 472.6 MB, free: 4.434 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.1446, allocations: 63.77 kB / 472.7 MB, free: 4.371 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.1447, allocations: 87.58 kB / 472.8 MB, free: 4.285 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004459/0.1452, allocations: 290.8 kB / 473.1 MB, free: 4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1452, allocations: 4 kB / 473.1 MB, free: 3.996 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1452, allocations: 0 / 473.1 MB, free: 3.996 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1452, allocations: 0 / 473.1 MB, free: 3.996 MB / 446.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.001048/0.1462, allocations: 0.5855 MB / 473.7 MB, free: 3.355 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.1463, allocations: 8.031 kB / 473.7 MB, free: 3.348 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.921e-05/0.1464, allocations: 32.8 kB / 473.7 MB, free: 3.316 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.1468, allocations: 217.5 kB / 473.9 MB, free: 3.074 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/0.1469, allocations: 174.8 kB / 474.1 MB, free: 2.867 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/0.147, allocations: 23.94 kB / 474.1 MB, free: 2.844 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004608/0.1474, allocations: 241.2 kB / 474.3 MB, free: 2.574 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1474, allocations: 0 / 474.3 MB, free: 2.574 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.1475, allocations: 7.984 kB / 474.4 MB, free: 2.566 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1475, allocations: 0 / 474.4 MB, free: 2.566 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003223/0.1478, allocations: 185 kB / 474.5 MB, free: 2.367 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008933/0.1487, allocations: 0.5201 MB / 475.1 MB, free: 1.809 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004708/0.1492, allocations: 241 kB / 475.3 MB, free: 1.527 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.1494, allocations: 163.6 kB / 475.5 MB, free: 1.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.1494, allocations: 7.938 kB / 475.5 MB, free: 1.332 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005972/0.15, allocations: 0.5022 MB / 476 MB, free: 0.7344 MB / 446.1 MB Notification: Performance of pre-optimization done (n=23): time 1.402e-06/0.15, allocations: 0 / 476 MB, free: 0.7344 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.001103/0.1511, allocations: 0.6256 MB / 476.6 MB, free: 48 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2266/0.3777, allocations: 192.1 kB / 476.8 MB, free: 50.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004332/0.3782, allocations: 316.7 kB / 477.1 MB, free: 50.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.443e-05/0.3782, allocations: 36.67 kB / 477.1 MB, free: 50.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.064e-05/0.3783, allocations: 137.7 kB / 477.3 MB, free: 50.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.908e-05/0.3784, allocations: 47.91 kB / 477.3 MB, free: 50.22 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.887e-05/0.3784, allocations: 51.97 kB / 477.4 MB, free: 50.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.196e-05/0.3785, allocations: 335 kB / 477.7 MB, free: 49.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.3787, allocations: 147 kB / 477.8 MB, free: 49.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.3788, allocations: 250.4 kB / 478.1 MB, free: 49.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/0.3792, allocations: 366.8 kB / 478.4 MB, free: 49.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.3792, allocations: 5.469 kB / 478.4 MB, free: 49.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004997/0.3797, allocations: 437 kB / 478.9 MB, free: 49.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.047e-05/0.3797, allocations: 108.7 kB / 479 MB, free: 49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3797, allocations: 0 / 479 MB, free: 49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.3797, allocations: 3.062 kB / 479 MB, free: 49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.3798, allocations: 26.22 kB / 479 MB, free: 49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.3799, allocations: 5.734 kB / 479 MB, free: 49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.38, allocations: 28.55 kB / 479 MB, free: 49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.38, allocations: 11.12 kB / 479 MB, free: 49 MB / 446.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.0001722/0.3802, allocations: 267.9 kB / 479.3 MB, free: 48.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.627e-05/0.3802, allocations: 34.55 kB / 479.3 MB, free: 48.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003394/0.3806, allocations: 242.7 kB / 479.6 MB, free: 48.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/0.3806, allocations: 5.531 kB / 479.6 MB, free: 48.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3806, allocations: 0 / 479.6 MB, free: 48.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.3806, allocations: 2.906 kB / 479.6 MB, free: 48.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.3808, allocations: 203.5 kB / 479.8 MB, free: 48.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3808, allocations: 0 / 479.8 MB, free: 48.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.357e-05/0.3808, allocations: 9.719 kB / 479.8 MB, free: 48.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3808, allocations: 3.062 kB / 479.8 MB, free: 48.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.3808, allocations: 13.97 kB / 479.8 MB, free: 48.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3808, allocations: 3.188 kB / 479.8 MB, free: 48.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3808, allocations: 0 / 479.8 MB, free: 48.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005613/0.3814, allocations: 0.5349 MB / 480.3 MB, free: 48.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.853e-05/0.3814, allocations: 27.92 kB / 480.4 MB, free: 48.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.991e-05/0.3815, allocations: 16.94 kB / 480.4 MB, free: 48.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.3816, allocations: 18.09 kB / 480.4 MB, free: 48.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.253e-05/0.3817, allocations: 22.8 kB / 480.4 MB, free: 48.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/0.3817, allocations: 12.91 kB / 480.4 MB, free: 48.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001654/0.3819, allocations: 237.5 kB / 480.7 MB, free: 48.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3819, allocations: 0 / 480.7 MB, free: 48.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003023/0.3822, allocations: 62.22 kB / 480.7 MB, free: 48.17 MB / 446.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,onDelay1.t_next,onDelay1.delaySignal,$whenCondition7,$whenCondition6,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 10 * 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.001544/0.3837, allocations: 473.8 kB / 481.2 MB, free: 47.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005249/0.3842, allocations: 0.535 MB / 481.7 MB, free: 47.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3842, allocations: 0 / 481.7 MB, free: 47.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002899/0.3845, allocations: 369.7 kB / 482.1 MB, free: 47.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.3849, allocations: 48.75 kB / 482.1 MB, free: 47.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007544/0.3856, allocations: 0.5475 MB / 482.7 MB, free: 46.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.3857, allocations: 143.4 kB / 482.8 MB, free: 46.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.892e-05/0.3858, allocations: 24.22 kB / 482.8 MB, free: 46.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.865e-05/0.3859, allocations: 20.69 kB / 482.9 MB, free: 46.88 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3859, allocations: 3.062 kB / 482.9 MB, free: 46.88 MB / 446.1 MB Notification: Performance of Templates: time 0.006705/0.3926, allocations: 3.622 MB / 486.5 MB, free: 46.43 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/OnDelay/OnDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.4438973780488595]