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.001342/0.001343, allocations: 101.2 kB / 15.98 MB, free: 6.352 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.001613/0.001613, allocations: 192.7 kB / 16.9 MB, free: 6.184 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.832/1.832, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.445/0.445, allocations: 43.5 MB / 313.6 MB, free: 8.531 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.001574/0.001575, allocations: 63.91 kB / 382.2 MB, free: 8.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1568, allocations: 57.8 MB / 440 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003182/0.16, allocations: 1.625 MB / 441.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00063/0.1607, allocations: 319.6 kB / 441.9 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.469e-05/0.1608, allocations: 0 / 441.9 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005753/0.1613, allocations: 447.2 kB / 442.4 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003262/0.1617, allocations: 255.5 kB / 442.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.1621, allocations: 143.8 kB / 442.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.1623, allocations: 163.6 kB / 442.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1624, allocations: 15.98 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.1625, allocations: 103.8 kB / 443.1 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002376/0.1628, allocations: 219.6 kB / 443.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.1628, allocations: 4 kB / 443.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.837e-05/0.1629, allocations: 23.98 kB / 443.3 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.163, allocations: 79.69 kB / 443.4 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.826e-05/0.1631, allocations: 99 kB / 443.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.1634, allocations: 243.3 kB / 443.7 MB, free: 11.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1634, allocations: 0 / 443.7 MB, free: 11.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1634, allocations: 0 / 443.7 MB, free: 11.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.1634, allocations: 0 / 443.7 MB, free: 11.01 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.000743/0.1641, allocations: 0.6258 MB / 444.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.1642, allocations: 11.89 kB / 444.3 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.324e-05/0.1643, allocations: 40.47 kB / 444.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.1646, allocations: 292.2 kB / 444.7 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.1646, allocations: 384 / 444.7 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.1646, allocations: 12.38 kB / 444.7 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.1648, allocations: 57.73 kB / 444.7 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1648, allocations: 0 / 444.7 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.1648, allocations: 0 / 444.7 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1648, allocations: 4 kB / 444.7 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.081e-05/0.1649, allocations: 23.98 kB / 444.8 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004983/0.1654, allocations: 384.7 kB / 445.1 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.891e-05/0.1655, allocations: 42.44 kB / 445.2 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.652e-05/0.1656, allocations: 12.92 kB / 445.2 MB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.1656, allocations: 4 kB / 445.2 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.1657, allocations: 38.55 kB / 445.2 MB, free: 9.316 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 3.176e-06/0.1657, allocations: 3.984 kB / 445.2 MB, free: 9.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002708/0.1659, allocations: 89.22 kB / 445.3 MB, free: 9.219 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.166, allocations: 59.39 kB / 445.4 MB, free: 9.148 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008217/0.1668, allocations: 0.8574 MB / 446.2 MB, free: 8.281 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.1668, allocations: 29.83 kB / 446.3 MB, free: 8.246 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.167, allocations: 224 kB / 446.5 MB, free: 8.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.167, allocations: 3.906 kB / 446.5 MB, free: 8.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.1671, allocations: 13.72 kB / 446.5 MB, free: 8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1673, allocations: 362.7 kB / 446.9 MB, free: 7.637 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.579e-05/0.1673, allocations: 11.98 kB / 446.9 MB, free: 7.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.405e-05/0.1674, allocations: 8 kB / 446.9 MB, free: 7.617 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.994e-05/0.1674, allocations: 36.89 kB / 446.9 MB, free: 7.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1675, allocations: 0 / 446.9 MB, free: 7.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001411/0.1676, allocations: 93.06 kB / 447 MB, free: 7.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1676, allocations: 4 kB / 447 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.1676, allocations: 0 / 447 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.1677, allocations: 0 / 447 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.154e-05/0.1677, allocations: 7.938 kB / 447 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1678, allocations: 7.984 kB / 447 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.95e-05/0.1678, allocations: 4.031 kB / 447 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.1678, allocations: 0 / 447 MB, free: 7.457 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.0002079/0.168, allocations: 213.7 kB / 447.2 MB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.332e-05/0.1681, allocations: 43.44 kB / 447.3 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002007/0.1683, allocations: 108.6 kB / 447.4 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.1683, allocations: 0 / 447.4 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1683, allocations: 0 / 447.4 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1683, allocations: 32 / 447.4 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.1686, allocations: 293.5 kB / 447.7 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1686, allocations: 0 / 447.7 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.346e-05/0.1687, allocations: 4 kB / 447.7 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1687, allocations: 0 / 447.7 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.1687, allocations: 0 / 447.7 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1687, allocations: 7.875 kB / 447.7 MB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.1687, allocations: 4 kB / 447.7 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.1689, allocations: 191 kB / 447.9 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.062e-05/0.169, allocations: 108.5 kB / 448 MB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.1691, allocations: 4 kB / 448 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.021e-05/0.1691, allocations: 7.984 kB / 448 MB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.1692, allocations: 0 / 448 MB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.1692, allocations: 0 / 448 MB, free: 6.391 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006176/0.1698, allocations: 0.6472 MB / 448.6 MB, free: 5.746 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1698, allocations: 0 / 448.6 MB, free: 5.746 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.1701, allocations: 16 kB / 448.7 MB, free: 5.73 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.000887/0.171, allocations: 358.9 kB / 449 MB, free: 5.406 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001565/0.1711, allocations: 27.92 kB / 449 MB, free: 5.379 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1711, allocations: 4.062 kB / 449 MB, free: 5.375 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.604e-05/0.1712, allocations: 15.98 kB / 449.1 MB, free: 5.359 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/0.1716, allocations: 25.81 kB / 449.1 MB, free: 5.332 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.1727, allocations: 0.8375 MB / 449.9 MB, free: 4.461 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.1732, allocations: 0.8259 MB / 450.7 MB, free: 3.609 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.389e-05/0.1732, allocations: 15.98 kB / 450.8 MB, free: 3.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.1733, allocations: 11.44 kB / 450.8 MB, free: 3.582 MB / 382.1 MB Notification: Performance of SimCode: time 1.734e-06/0.1733, allocations: 0 / 450.8 MB, free: 3.582 MB / 382.1 MB Notification: Performance of Templates: time 0.004823/0.1781, allocations: 1.237 MB / 452 MB, free: 2.344 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