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.0009749/0.0009749, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001045/0.001045, allocations: 173 kB / 24.14 MB, free: 356 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 0.8673/0.8673, allocations: 158.6 MB / 186 MB, free: 2.762 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.1641/0.1641, allocations: 32.37 MB / 270.7 MB, free: 14.6 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.322e-06/1.322e-06, allocations: 0 / 299 MB, free: 2.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.187e-06/1.051e-05, allocations: 6.312 kB / 299 MB, free: 2.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.002217/0.002227, allocations: 1.909 MB / 301 MB, free: 304 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1307/0.133, allocations: 0.9521 MB / 301.9 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.1331, allocations: 6.281 kB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005475/0.1336, allocations: 187.3 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.1338, allocations: 132.9 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.1341, allocations: 171.6 kB / 302.4 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002466/0.1344, allocations: 271.1 kB / 302.7 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.662e-05/0.1345, allocations: 21.83 kB / 302.7 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.1346, allocations: 156.3 kB / 302.8 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.1348, allocations: 98.25 kB / 302.9 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.1348, allocations: 18.09 kB / 302.9 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.1349, allocations: 66.11 kB / 303 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.771e-05/0.135, allocations: 64.42 kB / 303.1 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.065e-05/0.1351, allocations: 73.72 kB / 303.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.1353, allocations: 220.6 kB / 303.4 MB, free: 19.04 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1353, allocations: 5.281 kB / 303.4 MB, free: 19.04 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1353, allocations: 0.5938 kB / 303.4 MB, free: 19.04 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1353, allocations: 3.938 kB / 303.4 MB, free: 19.03 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.0005041/0.1358, allocations: 0.556 MB / 303.9 MB, free: 18.58 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.1359, allocations: 10 kB / 303.9 MB, free: 18.58 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.89e-05/0.1359, allocations: 37.45 kB / 304 MB, free: 18.58 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.1361, allocations: 199.2 kB / 304.2 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.067e-05/0.1362, allocations: 170.5 kB / 304.3 MB, free: 18.22 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.1362, allocations: 16.41 kB / 304.4 MB, free: 18.22 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.1364, allocations: 224.1 kB / 304.6 MB, free: 18.05 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1364, allocations: 0.6562 kB / 304.6 MB, free: 18.05 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1364, allocations: 5.016 kB / 304.6 MB, free: 18.05 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1364, allocations: 3.906 kB / 304.6 MB, free: 18.05 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.683e-05/0.1365, allocations: 138 kB / 304.7 MB, free: 17.95 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.1369, allocations: 422 kB / 305.1 MB, free: 17.6 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.137, allocations: 244.9 kB / 305.4 MB, free: 17.38 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.534e-05/0.1371, allocations: 136.2 kB / 305.5 MB, free: 17.25 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.1371, allocations: 7.359 kB / 305.5 MB, free: 17.25 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/0.1373, allocations: 0.4967 MB / 306 MB, free: 16.78 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 1.443e-06/0.1373, allocations: 0 / 306 MB, free: 16.78 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.0003057/0.1376, allocations: 471.2 kB / 306.5 MB, free: 16.44 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.1377, allocations: 192.2 kB / 306.7 MB, free: 16.22 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.1378, allocations: 248 kB / 306.9 MB, free: 16.09 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.1378, allocations: 34.92 kB / 306.9 MB, free: 16.05 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.793e-05/0.1379, allocations: 115.2 kB / 307 MB, free: 15.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.1379, allocations: 55.52 kB / 307.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.138, allocations: 46.19 kB / 307.1 MB, free: 15.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.555e-05/0.138, allocations: 351.5 kB / 307.5 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.261e-05/0.1381, allocations: 112.9 kB / 307.6 MB, free: 15.49 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.634e-05/0.1381, allocations: 215.1 kB / 307.8 MB, free: 15.27 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.1383, allocations: 329.5 kB / 308.1 MB, free: 14.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1383, allocations: 1.375 kB / 308.1 MB, free: 14.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002073/0.1385, allocations: 332.5 kB / 308.5 MB, free: 14.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.1385, allocations: 97.02 kB / 308.5 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1386, allocations: 7.578 kB / 308.6 MB, free: 14.63 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1386, allocations: 4.062 kB / 308.6 MB, free: 14.63 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.99e-05/0.1386, allocations: 25.12 kB / 308.6 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1386, allocations: 4.031 kB / 308.6 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.989e-05/0.1387, allocations: 31.7 kB / 308.6 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.1387, allocations: 16.66 kB / 308.6 MB, free: 14.61 MB / 282.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 9.985e-05/0.1388, allocations: 240.5 kB / 308.9 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.1389, allocations: 40.89 kB / 308.9 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.139, allocations: 168.5 kB / 309.1 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.139, allocations: 2.312 kB / 309.1 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.139, allocations: 1.094 kB / 309.1 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.139, allocations: 6.562 kB / 309.1 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.1391, allocations: 128.7 kB / 309.2 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.1391, allocations: 1.562 kB / 309.2 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.1391, allocations: 5.875 kB / 309.2 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1391, allocations: 1.688 kB / 309.2 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.1392, allocations: 11.58 kB / 309.2 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1392, allocations: 1.984 kB / 309.2 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.1392, allocations: 5.25 kB / 309.2 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.1394, allocations: 416.3 kB / 309.6 MB, free: 13.87 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.252e-05/0.1394, allocations: 27.77 kB / 309.7 MB, free: 13.85 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.1394, allocations: 9.797 kB / 309.7 MB, free: 13.85 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.152e-05/0.1395, allocations: 19.73 kB / 309.7 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.1395, allocations: 24.12 kB / 309.7 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.1396, allocations: 10.22 kB / 309.7 MB, free: 13.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.82e-05/0.1396, allocations: 87.22 kB / 309.8 MB, free: 13.81 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1396, allocations: 0 / 309.8 MB, free: 13.81 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001799/0.1398, allocations: 72.88 kB / 309.9 MB, free: 13.8 MB / 282.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.0009905/0.1408, allocations: 0.5335 MB / 310.4 MB, free: 13.51 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002582/0.1411, allocations: 485.3 kB / 310.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.1411, allocations: 2.75 kB / 310.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.1412, allocations: 350 kB / 311.2 MB, free: 12.8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.1414, allocations: 67.84 kB / 311.3 MB, free: 12.77 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005298/0.1419, allocations: 0.4925 MB / 311.8 MB, free: 12.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.084e-05/0.142, allocations: 92.61 kB / 311.9 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.599e-05/0.142, allocations: 19.81 kB / 311.9 MB, free: 12.33 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.1422, allocations: 123.9 kB / 312 MB, free: 12.27 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1422, allocations: 9.25 kB / 312 MB, free: 12.27 MB / 282.7 MB Notification: Performance of Templates: time 0.005727/0.1479, allocations: 3.823 MB / 315.9 MB, free: 11.07 MB / 282.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: 2.98574627796188]