Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 178.6 kB / 16.92 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.106/2.106, allocations: 205.4 MB / 223.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5291/0.5291, allocations: 43.58 MB / 315 MB, free: 8.75 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.0005996/0.0005999, allocations: 16 kB / 384.6 MB, free: 7.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1569, allocations: 58.87 MB / 443.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002147/0.1591, allocations: 1.371 MB / 444.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.1604, allocations: 0.7613 MB / 445.6 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.892e-05/0.1605, allocations: 7.938 kB / 445.6 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003398/0.1608, allocations: 43.88 kB / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002021/0.1611, allocations: 51.83 kB / 445.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.1613, allocations: 71.84 kB / 445.8 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.1614, allocations: 95.69 kB / 445.9 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.034e-05/0.1615, allocations: 7.984 kB / 445.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.233e-05/0.1616, allocations: 39.78 kB / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.882e-05/0.1617, allocations: 39.78 kB / 445.9 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.1617, allocations: 4 kB / 445.9 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.88e-05/0.1618, allocations: 23.98 kB / 446 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.999e-05/0.1619, allocations: 23.91 kB / 446 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.111e-05/0.162, allocations: 45.52 kB / 446 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.1622, allocations: 95.98 kB / 446.1 MB, free: 9.957 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.1622, allocations: 4 kB / 446.1 MB, free: 9.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1622, allocations: 0 / 446.1 MB, free: 9.953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1622, allocations: 0 / 446.1 MB, free: 9.953 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000545/0.1627, allocations: 391 kB / 446.5 MB, free: 9.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.1628, allocations: 12.03 kB / 446.5 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.1629, allocations: 8.844 kB / 446.5 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.1631, allocations: 200.1 kB / 446.7 MB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.1631, allocations: 384 / 446.7 MB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.1632, allocations: 8.125 kB / 446.7 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.1633, allocations: 53.67 kB / 446.8 MB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.1633, allocations: 0 / 446.8 MB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1634, allocations: 0 / 446.8 MB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.1634, allocations: 4 kB / 446.8 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.323e-05/0.1634, allocations: 19.92 kB / 446.8 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/0.1637, allocations: 177.6 kB / 447 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.1638, allocations: 58.61 kB / 447 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.693e-05/0.1639, allocations: 24.78 kB / 447.1 MB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.1639, allocations: 0 / 447.1 MB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.1641, allocations: 59.39 kB / 447.1 MB, free: 8.793 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.1641, allocations: 3.938 kB / 447.1 MB, free: 8.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002773/0.1644, allocations: 97.52 kB / 447.2 MB, free: 8.688 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.1645, allocations: 59.41 kB / 447.3 MB, free: 8.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.1647, allocations: 166.2 kB / 447.4 MB, free: 8.445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.1647, allocations: 29.7 kB / 447.5 MB, free: 8.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.126e-05/0.1648, allocations: 96.12 kB / 447.6 MB, free: 8.312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.1648, allocations: 11.91 kB / 447.6 MB, free: 8.301 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.1648, allocations: 17.7 kB / 447.6 MB, free: 8.277 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.165, allocations: 322.8 kB / 447.9 MB, free: 7.953 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.787e-05/0.165, allocations: 15.98 kB / 447.9 MB, free: 7.938 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.735e-05/0.1651, allocations: 33.7 kB / 448 MB, free: 7.898 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.1652, allocations: 41.66 kB / 448 MB, free: 7.852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1652, allocations: 0 / 448 MB, free: 7.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001536/0.1654, allocations: 93.36 kB / 448.1 MB, free: 7.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1654, allocations: 4 kB / 448.1 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1654, allocations: 0 / 448.1 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1654, allocations: 0 / 448.1 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.376e-05/0.1655, allocations: 12.03 kB / 448.1 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.1655, allocations: 4.312 kB / 448.1 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.636e-05/0.1656, allocations: 3.984 kB / 448.1 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1656, allocations: 8 kB / 448.1 MB, free: 7.723 MB / 382.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 (7): * Single equations (assignments): 7 * 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 0.000104/0.1657, allocations: 125.8 kB / 448.2 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.1657, allocations: 7.906 kB / 448.3 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.885e-05/0.1658, allocations: 16.3 kB / 448.3 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1658, allocations: 0 / 448.3 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1658, allocations: 0 / 448.3 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1658, allocations: 4 kB / 448.3 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.1659, allocations: 185.6 kB / 448.5 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1659, allocations: 0 / 448.5 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.095e-05/0.166, allocations: 4 kB / 448.5 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.166, allocations: 3.938 kB / 448.5 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.166, allocations: 0 / 448.5 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.166, allocations: 3.984 kB / 448.5 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.166, allocations: 0 / 448.5 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.1662, allocations: 112.9 kB / 448.6 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.1662, allocations: 92.94 kB / 448.7 MB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.1663, allocations: 4 kB / 448.7 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.628e-05/0.1663, allocations: 4 kB / 448.7 MB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.1663, allocations: 3.984 kB / 448.7 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.1664, allocations: 4 kB / 448.7 MB, free: 7.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.1665, allocations: 131.9 kB / 448.8 MB, free: 6.941 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1665, allocations: 0 / 448.8 MB, free: 6.941 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002098/0.1667, allocations: 23.94 kB / 448.8 MB, free: 6.918 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009765/0.1677, allocations: 421.7 kB / 449.3 MB, free: 6.531 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001548/0.1679, allocations: 43.92 kB / 449.3 MB, free: 6.488 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1679, allocations: 0 / 449.3 MB, free: 6.488 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.247e-05/0.1679, allocations: 16 kB / 449.3 MB, free: 6.473 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.1682, allocations: 35.89 kB / 449.3 MB, free: 6.438 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/0.1686, allocations: 201.1 kB / 449.5 MB, free: 6.215 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.1689, allocations: 0.7082 MB / 450.2 MB, free: 5.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.797e-05/0.169, allocations: 12.55 kB / 450.3 MB, free: 5.465 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.169, allocations: 19.44 kB / 450.3 MB, free: 5.445 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.169, allocations: 3.938 kB / 450.3 MB, free: 5.441 MB / 382.1 MB Notification: Performance of Templates: time 0.004182/0.1732, allocations: 1.384 MB / 451.7 MB, free: 4.059 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches