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.0009911/0.0009911, allocations: 80.2 kB / 20.65 MB, free: 3.844 MB / 18.57 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.001231/0.001231, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 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.009/1.009, allocations: 158.6 MB / 185.9 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] 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.2182/0.2182, allocations: 32.38 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 348.1 MB, free: 9.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.853e-05, allocations: 6.25 kB / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.002849/0.002877, allocations: 1.907 MB / 350 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.004455, allocations: 0.936 MB / 351 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.004601, allocations: 11.94 kB / 351 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00077/0.005371, allocations: 183.4 kB / 351.1 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003473/0.005718, allocations: 139.4 kB / 351.3 MB, free: 5.992 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004865/0.006205, allocations: 175.5 kB / 351.5 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003319/0.006536, allocations: 267.3 kB / 351.7 MB, free: 5.559 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.006657, allocations: 25.73 kB / 351.7 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.006828, allocations: 147.7 kB / 351.9 MB, free: 5.387 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.006967, allocations: 99.75 kB / 352 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.007001, allocations: 24 kB / 352 MB, free: 5.266 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.007158, allocations: 67.88 kB / 352.1 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.361e-05/0.007251, allocations: 63.83 kB / 352.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.05e-05/0.007332, allocations: 71.77 kB / 352.2 MB, free: 5.066 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.007627, allocations: 223.2 kB / 352.4 MB, free: 4.848 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.00763, allocations: 0 / 352.4 MB, free: 4.848 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.007631, allocations: 0 / 352.4 MB, free: 4.848 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.007636, allocations: 3.938 kB / 352.4 MB, free: 4.844 MB / 282.7 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.0007173/0.008353, allocations: 0.6893 MB / 353.1 MB, free: 4.094 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.00841, allocations: 12.03 kB / 353.1 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.246e-05/0.008482, allocations: 48.78 kB / 353.2 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.008725, allocations: 220.3 kB / 353.4 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.683e-05/0.008812, allocations: 170.8 kB / 353.6 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.008834, allocations: 16.38 kB / 353.6 MB, free: 3.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.009102, allocations: 226.1 kB / 353.8 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.009115, allocations: 0 / 353.8 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.009129, allocations: 4 kB / 353.8 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.009139, allocations: 4 kB / 353.8 MB, free: 3.305 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.659e-05/0.009236, allocations: 145 kB / 353.9 MB, free: 3.145 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004991/0.009735, allocations: 0.623 MB / 354.6 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.009911, allocations: 230.5 kB / 354.8 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.801e-05/0.009979, allocations: 140.2 kB / 354.9 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.01, allocations: 7.922 kB / 354.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000279/0.01028, allocations: 0.5041 MB / 355.4 MB, free: 1.422 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.01028, allocations: 4 kB / 355.4 MB, free: 1.418 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.000397/0.01068, allocations: 0.5436 MB / 356 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.01073, allocations: 195.8 kB / 356.2 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.01089, allocations: 304.2 kB / 356.5 MB, free: 272 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.01091, allocations: 33.7 kB / 356.5 MB, free: 232 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.445e-05/0.01098, allocations: 179.3 kB / 356.7 MB, free: 48 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.092e-05/0.01106, allocations: 59.75 kB / 356.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-05/0.01114, allocations: 55.33 kB / 356.8 MB, free: 15.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.0113, allocations: 0.5193 MB / 357.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/0.01138, allocations: 109.1 kB / 357.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.01153, allocations: 251.3 kB / 357.7 MB, free: 14.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.01175, allocations: 334.9 kB / 358 MB, free: 14.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01175, allocations: 0 / 358 MB, free: 14.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003749/0.01213, allocations: 395.4 kB / 358.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.625e-05/0.01219, allocations: 97.09 kB / 358.5 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.0122, allocations: 4 kB / 358.5 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.01222, allocations: 0 / 358.5 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.405e-05/0.0123, allocations: 27.92 kB / 358.5 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.01231, allocations: 8.312 kB / 358.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.196e-05/0.01239, allocations: 23.88 kB / 358.5 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.01241, allocations: 16 kB / 358.6 MB, free: 13.93 MB / 298.7 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.0001978/0.01261, allocations: 288.4 kB / 358.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.858e-05/0.01266, allocations: 47.81 kB / 358.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002633/0.01293, allocations: 215 kB / 359.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.01293, allocations: 4 kB / 359.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.01294, allocations: 3.938 kB / 359.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.01294, allocations: 3.984 kB / 359.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.01314, allocations: 173.2 kB / 359.3 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.01314, allocations: 0 / 359.3 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.987e-05/0.01317, allocations: 4 kB / 359.3 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.01318, allocations: 11.94 kB / 359.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.0132, allocations: 11.98 kB / 359.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.0132, allocations: 0 / 359.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.0132, allocations: 0 / 359.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004425/0.01364, allocations: 0.5184 MB / 359.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.312e-05/0.01368, allocations: 23.8 kB / 359.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.01371, allocations: 12 kB / 359.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.562e-05/0.01378, allocations: 15.98 kB / 359.9 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.14e-05/0.01385, allocations: 23.97 kB / 359.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.01387, allocations: 12.12 kB / 359.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001208/0.01399, allocations: 209.1 kB / 360.1 MB, free: 12.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.01399, allocations: 0 / 360.1 MB, free: 12.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002596/0.01425, allocations: 63.98 kB / 360.2 MB, free: 12.17 MB / 298.7 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.0009844/0.01524, allocations: 409.7 kB / 360.6 MB, free: 11.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004104/0.01565, allocations: 495.8 kB / 361.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01565, allocations: 0 / 361.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.01585, allocations: 350.7 kB / 361.4 MB, free: 10.89 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.01612, allocations: 72.66 kB / 361.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000672/0.0168, allocations: 0.5067 MB / 362 MB, free: 10.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.922e-05/0.01687, allocations: 83.92 kB / 362.1 MB, free: 10.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.131e-05/0.01693, allocations: 25.62 kB / 362.1 MB, free: 10.13 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.01709, allocations: 142.2 kB / 362.2 MB, free: 9.992 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01709, allocations: 0 / 362.2 MB, free: 9.992 MB / 298.7 MB Notification: Performance of Templates: time 0.007115/0.02421, allocations: 3.962 MB / 366.2 MB, free: 6.051 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/OnDelay/OnDelay.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: 3.2950254110619426]