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.001101/0.001101, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.002197/0.002197, allocations: 170.2 kB / 24.84 MB, free: 8.926 MB / 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 0.972/0.972, allocations: 158.6 MB / 186.7 MB, free: 2.773 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.1722/0.1722, allocations: 32.38 MB / 271.5 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.152e-06/1.152e-06, allocations: 0 / 348.9 MB, free: 9.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/2.026e-05, allocations: 2.312 kB / 348.9 MB, free: 9.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.002166/0.002186, allocations: 1.911 MB / 350.8 MB, free: 7.273 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.003191, allocations: 0.9438 MB / 351.8 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.003297, allocations: 7.938 kB / 351.8 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005429/0.00384, allocations: 187.4 kB / 351.9 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.004057, allocations: 131.4 kB / 352.1 MB, free: 6 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.004368, allocations: 171.5 kB / 352.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.004606, allocations: 275.3 kB / 352.5 MB, free: 5.562 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.095e-05/0.004697, allocations: 21.78 kB / 352.5 MB, free: 5.539 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.004831, allocations: 155.6 kB / 352.7 MB, free: 5.387 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.004946, allocations: 99.73 kB / 352.8 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.004971, allocations: 20 kB / 352.8 MB, free: 5.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.005115, allocations: 59.91 kB / 352.9 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.005216, allocations: 67.81 kB / 352.9 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.005368, allocations: 75.77 kB / 353 MB, free: 5.07 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003248/0.005693, allocations: 219.3 kB / 353.2 MB, free: 4.855 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.005697, allocations: 0 / 353.2 MB, free: 4.855 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.005698, allocations: 0 / 353.2 MB, free: 4.855 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.005703, allocations: 4 kB / 353.2 MB, free: 4.852 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.0005458/0.006249, allocations: 0.7008 MB / 353.9 MB, free: 4.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.006282, allocations: 8.031 kB / 353.9 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.467e-05/0.006347, allocations: 40.8 kB / 354 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.006548, allocations: 220.3 kB / 354.2 MB, free: 3.797 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.497e-05/0.006613, allocations: 178.7 kB / 354.4 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.00663, allocations: 16.38 kB / 354.4 MB, free: 3.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.006803, allocations: 218.1 kB / 354.6 MB, free: 3.32 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.006811, allocations: 4 kB / 354.6 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.006824, allocations: 11.98 kB / 354.6 MB, free: 3.305 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.00683, allocations: 4 kB / 354.6 MB, free: 3.301 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.783e-05/0.006898, allocations: 133 kB / 354.7 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.007279, allocations: 0.6191 MB / 355.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.007414, allocations: 230.5 kB / 355.6 MB, free: 2.215 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.065e-05/0.007464, allocations: 148.1 kB / 355.7 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.007477, allocations: 4.109 kB / 355.7 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.00765, allocations: 0.5118 MB / 356.2 MB, free: 1.422 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 1.272e-06/0.007652, allocations: 0 / 356.2 MB, free: 1.422 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.000355/0.008007, allocations: 0.5358 MB / 356.8 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.008042, allocations: 195.9 kB / 357 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.008168, allocations: 308.1 kB / 357.3 MB, free: 280 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.008184, allocations: 33.7 kB / 357.3 MB, free: 240 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.36e-05/0.008238, allocations: 179.3 kB / 357.5 MB, free: 56 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.403e-05/0.008292, allocations: 67.64 kB / 357.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-05/0.008348, allocations: 55.33 kB / 357.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.008467, allocations: 0.5156 MB / 358.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.092e-05/0.008528, allocations: 113.1 kB / 358.2 MB, free: 15.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.00864, allocations: 243.3 kB / 358.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.008812, allocations: 342.8 kB / 358.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.008814, allocations: 0 / 358.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002754/0.009089, allocations: 391.7 kB / 359.2 MB, free: 14.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.541e-05/0.009135, allocations: 97.09 kB / 359.3 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.00914, allocations: 0 / 359.3 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.009149, allocations: 4 kB / 359.3 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.186e-05/0.009211, allocations: 24.14 kB / 359.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.009216, allocations: 11.94 kB / 359.3 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.021e-05/0.009286, allocations: 28.25 kB / 359.3 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.009297, allocations: 8 kB / 359.3 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.0001276/0.009425, allocations: 284.2 kB / 359.6 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.009468, allocations: 47.81 kB / 359.7 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000189/0.009657, allocations: 222.6 kB / 359.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.009659, allocations: 0 / 359.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.009662, allocations: 8 kB / 359.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.009668, allocations: 3.938 kB / 359.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.0098, allocations: 165.2 kB / 360.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.009801, allocations: 4 kB / 360.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.93e-05/0.009821, allocations: 7.984 kB / 360.1 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.009824, allocations: 4 kB / 360.1 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.009837, allocations: 11.94 kB / 360.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.009839, allocations: 4 kB / 360.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.00984, allocations: 0 / 360.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003324/0.01017, allocations: 0.5145 MB / 360.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.335e-05/0.0102, allocations: 19.8 kB / 360.6 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.01023, allocations: 20 kB / 360.6 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.721e-05/0.01028, allocations: 19.98 kB / 360.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.01034, allocations: 19.95 kB / 360.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.01036, allocations: 16 kB / 360.7 MB, free: 12.44 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.33e-05/0.01045, allocations: 209 kB / 360.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01045, allocations: 0 / 360.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000208/0.01066, allocations: 64 kB / 361 MB, free: 12.18 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.0007565/0.01141, allocations: 405.6 kB / 361.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002901/0.0117, allocations: 495.8 kB / 361.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01171, allocations: 448 / 361.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.01187, allocations: 358.7 kB / 362.2 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.0002167/0.01209, allocations: 76.64 kB / 362.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004512/0.01254, allocations: 0.4906 MB / 362.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.49e-05/0.01259, allocations: 87.97 kB / 362.8 MB, free: 10.17 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.76e-05/0.01263, allocations: 21.64 kB / 362.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.01277, allocations: 150.2 kB / 363 MB, free: 9.996 MB / 298.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01277, allocations: 0 / 363 MB, free: 9.996 MB / 298.7 MB Notification: Performance of Templates: time 0.005284/0.01806, allocations: 4.009 MB / 367 MB, free: 6.008 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.2356496322900057]