Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 106.8 kB / 16.27 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 186 kB / 17.19 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.777/1.777, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2546/0.2546, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 70.95 kB / 382.7 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1362, allocations: 57.79 MB / 440.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003827/0.1401, allocations: 1.685 MB / 442.2 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.1415, allocations: 0.7844 MB / 443 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.1416, allocations: 0 / 443 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000327/0.142, allocations: 55.75 kB / 443.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002626/0.1423, allocations: 51.77 kB / 443.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003549/0.1427, allocations: 87.69 kB / 443.2 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.1429, allocations: 95.7 kB / 443.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.143, allocations: 12.48 kB / 443.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.1431, allocations: 43.78 kB / 443.3 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.836e-05/0.1432, allocations: 31.86 kB / 443.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.1432, allocations: 4 kB / 443.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.1434, allocations: 43.97 kB / 443.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.422e-05/0.1435, allocations: 19.92 kB / 443.4 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.455e-05/0.1436, allocations: 31.75 kB / 443.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.1438, allocations: 119.6 kB / 443.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1438, allocations: 0 / 443.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1438, allocations: 0 / 443.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.1439, allocations: 0 / 443.6 MB, free: 3.816 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005925/0.1445, allocations: 406.9 kB / 444 MB, free: 3.371 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.1445, allocations: 19.89 kB / 444 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.668e-05/0.1446, allocations: 8.844 kB / 444 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.1448, allocations: 209 kB / 444.2 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.1449, allocations: 4.359 kB / 444.2 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.1449, allocations: 4.125 kB / 444.2 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.1451, allocations: 61.61 kB / 444.3 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.1451, allocations: 0 / 444.3 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.1452, allocations: 0 / 444.3 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/0.1452, allocations: 0 / 444.3 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.631e-05/0.1453, allocations: 27.98 kB / 444.3 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.1457, allocations: 284.8 kB / 444.6 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.1459, allocations: 54.62 kB / 444.6 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.658e-05/0.1459, allocations: 24.84 kB / 444.7 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.146, allocations: 11.88 kB / 444.7 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002592/0.1463, allocations: 67.39 kB / 444.8 MB, free: 2.492 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.194e-06/0.1463, allocations: 0 / 444.8 MB, free: 2.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006598/0.1469, allocations: 181.1 kB / 444.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.147, allocations: 51.41 kB / 445 MB, free: 2.246 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.1472, allocations: 194.1 kB / 445.2 MB, free: 2.047 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.1472, allocations: 25.7 kB / 445.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.1472, allocations: 104.1 kB / 445.3 MB, free: 1.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.1473, allocations: 23.7 kB / 445.3 MB, free: 1.887 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.1473, allocations: 21.72 kB / 445.3 MB, free: 1.859 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.056e-05/0.1474, allocations: 326.8 kB / 445.7 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.541e-05/0.1475, allocations: 19.98 kB / 445.7 MB, free: 1.512 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.606e-05/0.1475, allocations: 41.64 kB / 445.7 MB, free: 1.465 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.644e-05/0.1476, allocations: 61.7 kB / 445.8 MB, free: 1.398 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1476, allocations: 0 / 445.8 MB, free: 1.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001602/0.1478, allocations: 97.53 kB / 445.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1478, allocations: 4 kB / 445.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1478, allocations: 0 / 445.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.1479, allocations: 0 / 445.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.657e-05/0.148, allocations: 23.98 kB / 445.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.148, allocations: 0 / 445.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.578e-05/0.148, allocations: 3.938 kB / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.148, allocations: 8.031 kB / 445.9 MB, free: 1.258 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 8.208e-05/0.1481, allocations: 136.9 kB / 446 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.1482, allocations: 15.81 kB / 446.1 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.442e-05/0.1482, allocations: 16.7 kB / 446.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1482, allocations: 0 / 446.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1482, allocations: 0 / 446.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1482, allocations: 3.938 kB / 446.1 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003506/0.1486, allocations: 395.3 kB / 446.5 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1486, allocations: 3.984 kB / 446.5 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.1486, allocations: 12 kB / 446.5 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1487, allocations: 0 / 446.5 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.1487, allocations: 8.312 kB / 446.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.1487, allocations: 0 / 446.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1487, allocations: 3.984 kB / 446.5 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.1489, allocations: 208.4 kB / 446.7 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.191e-05/0.1489, allocations: 89.02 kB / 446.8 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.149, allocations: 11.81 kB / 446.8 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.716e-05/0.149, allocations: 4 kB / 446.8 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.1491, allocations: 7.984 kB / 446.8 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.1491, allocations: 4 kB / 446.8 MB, free: 252 kB / 318.1 MB Notification: Performance of sorting global known variables: time 9.059e-05/0.1492, allocations: 143.2 kB / 447 MB, free: 108 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1492, allocations: 0 / 447 MB, free: 108 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.1495, allocations: 31.91 kB / 447 MB, free: 76 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.001153/0.1506, allocations: 460.6 kB / 447.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002218/0.1508, allocations: 63.91 kB / 447.5 MB, free: 15.65 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1509, allocations: 0 / 447.5 MB, free: 15.65 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.719e-05/0.1509, allocations: 35.92 kB / 447.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.1513, allocations: 19.98 kB / 447.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005493/0.1519, allocations: 223.4 kB / 447.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.1522, allocations: 0.7118 MB / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.623e-05/0.1523, allocations: 8.891 kB / 448.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.053e-05/0.1523, allocations: 19.42 kB / 448.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1523, allocations: 4 kB / 448.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of Templates: time 0.005369/0.1577, allocations: 1.677 MB / 450.2 MB, free: 12.91 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches