Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.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.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00655/0.00655, allocations: 100.3 kB / 15.87 MB, free: 6.309 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.001227/0.001227, allocations: 196.4 kB / 16.79 MB, free: 6.238 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.841/1.841, allocations: 205.1 MB / 222.6 MB, free: 4.734 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.4409/0.4409, allocations: 43.49 MB / 313.5 MB, free: 8.262 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.002101/0.002102, allocations: 63.91 kB / 382 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1564, allocations: 57.8 MB / 439.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003522/0.16, allocations: 1.621 MB / 441.4 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006579/0.1606, allocations: 323.7 kB / 441.8 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.74e-05/0.1607, allocations: 0 / 441.8 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000619/0.1613, allocations: 459.2 kB / 442.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000284/0.1616, allocations: 243.5 kB / 442.4 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.162, allocations: 139.8 kB / 442.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.1622, allocations: 159.6 kB / 442.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1623, allocations: 11.97 kB / 442.8 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.1624, allocations: 99.8 kB / 442.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.1626, allocations: 203.6 kB / 443 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.1626, allocations: 4 kB / 443.1 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.105e-05/0.1627, allocations: 23.98 kB / 443.1 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.1628, allocations: 83.67 kB / 443.2 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.67e-05/0.1629, allocations: 102.9 kB / 443.3 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.1632, allocations: 231.3 kB / 443.5 MB, free: 10.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1632, allocations: 0 / 443.5 MB, free: 10.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1632, allocations: 0 / 443.5 MB, free: 10.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.1632, allocations: 0 / 443.5 MB, free: 10.92 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007597/0.164, allocations: 0.6258 MB / 444.1 MB, free: 10.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.164, allocations: 12.03 kB / 444.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.915e-05/0.1641, allocations: 40.47 kB / 444.2 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.1644, allocations: 296.1 kB / 444.5 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.173e-06/0.1644, allocations: 4.312 kB / 444.5 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.1644, allocations: 4.375 kB / 444.5 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.1646, allocations: 49.75 kB / 444.5 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.1646, allocations: 0 / 444.5 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.1646, allocations: 8 kB / 444.5 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1646, allocations: 0 / 444.5 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.005e-05/0.1647, allocations: 27.97 kB / 444.5 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005182/0.1652, allocations: 380.7 kB / 444.9 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.783e-05/0.1653, allocations: 38.5 kB / 445 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/0.1654, allocations: 12.92 kB / 445 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.1654, allocations: 0 / 445 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.1654, allocations: 38.56 kB / 445 MB, free: 9.234 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.1654, allocations: 0 / 445 MB, free: 9.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002611/0.1657, allocations: 97.2 kB / 445.1 MB, free: 9.133 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.1658, allocations: 51.41 kB / 445.1 MB, free: 9.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007663/0.1665, allocations: 0.8652 MB / 446 MB, free: 8.195 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.1666, allocations: 25.7 kB / 446 MB, free: 8.164 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.1667, allocations: 216.2 kB / 446.2 MB, free: 7.949 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.1667, allocations: 7.906 kB / 446.3 MB, free: 7.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.1668, allocations: 21.7 kB / 446.3 MB, free: 7.914 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1669, allocations: 358.7 kB / 446.6 MB, free: 7.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.59e-05/0.167, allocations: 15.98 kB / 446.6 MB, free: 7.539 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.286e-05/0.167, allocations: 4 kB / 446.6 MB, free: 7.535 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.263e-05/0.1671, allocations: 24.84 kB / 446.7 MB, free: 7.508 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1671, allocations: 4.062 kB / 446.7 MB, free: 7.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001349/0.1672, allocations: 97.11 kB / 446.8 MB, free: 7.402 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.1673, allocations: 4 kB / 446.8 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.1673, allocations: 0 / 446.8 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1673, allocations: 0 / 446.8 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.175e-05/0.1674, allocations: 7.938 kB / 446.8 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.1674, allocations: 0 / 446.8 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/0.1674, allocations: 7.984 kB / 446.8 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.1674, allocations: 0 / 446.8 MB, free: 7.383 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001826/0.1676, allocations: 221.7 kB / 447 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.93e-05/0.1677, allocations: 43.44 kB / 447 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000193/0.1679, allocations: 116.5 kB / 447.2 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1679, allocations: 3.938 kB / 447.2 MB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1679, allocations: 0 / 447.2 MB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1679, allocations: 3.984 kB / 447.2 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.1682, allocations: 281.5 kB / 447.4 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1682, allocations: 4.031 kB / 447.5 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.716e-05/0.1682, allocations: 12 kB / 447.5 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1683, allocations: 3.938 kB / 447.5 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.1683, allocations: 0 / 447.5 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1683, allocations: 0 / 447.5 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1683, allocations: 0 / 447.5 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.1685, allocations: 191 kB / 447.7 MB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.376e-05/0.1685, allocations: 112.6 kB / 447.8 MB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.1686, allocations: 0 / 447.8 MB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.1686, allocations: 4 kB / 447.8 MB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.1687, allocations: 3.984 kB / 447.8 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.1687, allocations: 0 / 447.8 MB, free: 6.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006013/0.1693, allocations: 0.6472 MB / 448.4 MB, free: 5.656 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1693, allocations: 0 / 448.4 MB, free: 5.656 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.1696, allocations: 16 kB / 448.4 MB, free: 5.641 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0009101/0.1705, allocations: 359.5 kB / 448.8 MB, free: 5.312 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001537/0.1706, allocations: 27.92 kB / 448.8 MB, free: 5.285 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1706, allocations: 3.938 kB / 448.8 MB, free: 5.281 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.208e-05/0.1707, allocations: 16.05 kB / 448.8 MB, free: 5.266 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.1712, allocations: 29.94 kB / 448.9 MB, free: 5.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.1724, allocations: 0.8276 MB / 449.7 MB, free: 4.371 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005413/0.1729, allocations: 0.8185 MB / 450.5 MB, free: 3.527 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.03e-05/0.173, allocations: 11.98 kB / 450.5 MB, free: 3.516 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.173, allocations: 7.438 kB / 450.5 MB, free: 3.512 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.173, allocations: 8 kB / 450.5 MB, free: 3.504 MB / 382.1 MB Notification: Performance of Templates: time 0.004878/0.1779, allocations: 1.225 MB / 451.8 MB, free: 2.277 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches