Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001758/0.001759, allocations: 96.14 kB / 15.87 MB, free: 16 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.002282/0.002282, allocations: 204.5 kB / 16.79 MB, free: 6.84 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.709/1.709, allocations: 205.1 MB / 222.6 MB, free: 4.785 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.472/0.472, allocations: 43.5 MB / 313.5 MB, free: 8.203 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.002036/0.002036, allocations: 67.91 kB / 382 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1596, allocations: 57.78 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.004418/0.1641, allocations: 1.66 MB / 441.5 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009431/0.165, allocations: 343.6 kB / 441.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.47e-05/0.1652, allocations: 0 / 441.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006671/0.1658, allocations: 455.2 kB / 442.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003962/0.1663, allocations: 243.5 kB / 442.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004483/0.1668, allocations: 147.8 kB / 442.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000324/0.1671, allocations: 159.6 kB / 442.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.1672, allocations: 28.36 kB / 442.8 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.1674, allocations: 99.8 kB / 442.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.1677, allocations: 207.6 kB / 443.1 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.1677, allocations: 4 kB / 443.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.1678, allocations: 27.98 kB / 443.2 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.168, allocations: 87.67 kB / 443.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.1681, allocations: 99 kB / 443.3 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00043/0.1685, allocations: 246.9 kB / 443.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1686, allocations: 0 / 443.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1686, allocations: 4 kB / 443.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.1686, allocations: 0 / 443.6 MB, free: 10.84 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009395/0.1695, allocations: 0.6375 MB / 444.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.035e-05/0.1696, allocations: 12.03 kB / 444.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.851e-05/0.1697, allocations: 40.38 kB / 444.3 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.17, allocations: 292.2 kB / 444.6 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.294e-06/0.17, allocations: 384 / 444.6 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.344e-05/0.1701, allocations: 4.375 kB / 444.6 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.1703, allocations: 61.55 kB / 444.6 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1703, allocations: 4 kB / 444.6 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1703, allocations: 0 / 444.6 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.1703, allocations: 0 / 444.6 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.1705, allocations: 35.98 kB / 444.7 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000618/0.1711, allocations: 392.6 kB / 445 MB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/0.1714, allocations: 58.42 kB / 445.1 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.804e-05/0.1714, allocations: 20.94 kB / 445.1 MB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.1715, allocations: 0 / 445.1 MB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.1715, allocations: 30.56 kB / 445.2 MB, free: 9.102 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1715, allocations: 0 / 445.2 MB, free: 9.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007654/0.1723, allocations: 239.9 kB / 445.4 MB, free: 8.859 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.1723, allocations: 51.41 kB / 445.4 MB, free: 8.797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008322/0.1732, allocations: 0.8574 MB / 446.3 MB, free: 7.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.1732, allocations: 25.7 kB / 446.3 MB, free: 7.898 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.1734, allocations: 228.1 kB / 446.5 MB, free: 7.672 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.1734, allocations: 11.72 kB / 446.6 MB, free: 7.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.1735, allocations: 17.72 kB / 446.6 MB, free: 7.637 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002426/0.1737, allocations: 362.8 kB / 446.9 MB, free: 7.273 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.818e-05/0.1738, allocations: 23.98 kB / 446.9 MB, free: 7.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.612e-05/0.1739, allocations: 23.98 kB / 447 MB, free: 7.227 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.174, allocations: 52.77 kB / 447 MB, free: 7.172 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.174, allocations: 0 / 447 MB, free: 7.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000234/0.1743, allocations: 121.2 kB / 447.1 MB, free: 7.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.1743, allocations: 4 kB / 447.1 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1743, allocations: 7.938 kB / 447.2 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1743, allocations: 0 / 447.2 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.867e-05/0.1744, allocations: 15.98 kB / 447.2 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1744, allocations: 0 / 447.2 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.484e-05/0.1745, allocations: 7.938 kB / 447.2 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.1745, allocations: 0 / 447.2 MB, free: 7.012 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 (5): * Single equations (assignments): 5 * 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.0001949/0.1747, allocations: 225.6 kB / 447.4 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.984e-05/0.1748, allocations: 43.44 kB / 447.4 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003164/0.1751, allocations: 145.2 kB / 447.6 MB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1751, allocations: 64 / 447.6 MB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.1751, allocations: 4 kB / 447.6 MB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.1751, allocations: 3.938 kB / 447.6 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005529/0.1757, allocations: 462.4 kB / 448 MB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1757, allocations: 4 kB / 448 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.155e-05/0.1758, allocations: 12 kB / 448.1 MB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.1758, allocations: 0 / 448.1 MB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.1758, allocations: 7.875 kB / 448.1 MB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.1758, allocations: 0 / 448.1 MB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1758, allocations: 4 kB / 448.1 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.1761, allocations: 215 kB / 448.3 MB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.405e-05/0.1762, allocations: 112.6 kB / 448.4 MB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.1762, allocations: 7.938 kB / 448.4 MB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.555e-05/0.1763, allocations: 0 / 448.4 MB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.057e-05/0.1764, allocations: 11.98 kB / 448.4 MB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.1764, allocations: 0 / 448.4 MB, free: 5.672 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006309/0.177, allocations: 0.6511 MB / 449.1 MB, free: 5.023 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.177, allocations: 0 / 449.1 MB, free: 5.023 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000261/0.1773, allocations: 20 kB / 449.1 MB, free: 5.004 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 (5): * Single equations (assignments): 5 * 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.0009813/0.1783, allocations: 411.1 kB / 449.5 MB, free: 4.637 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002222/0.1785, allocations: 51.95 kB / 449.5 MB, free: 4.586 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1785, allocations: 0 / 449.5 MB, free: 4.586 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.009e-05/0.1786, allocations: 27.92 kB / 449.6 MB, free: 4.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004833/0.1791, allocations: 25.95 kB / 449.6 MB, free: 4.531 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.1803, allocations: 0.8788 MB / 450.5 MB, free: 3.617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/0.1808, allocations: 0.8261 MB / 451.3 MB, free: 2.766 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.494e-05/0.1809, allocations: 15.97 kB / 451.3 MB, free: 2.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.1809, allocations: 15.42 kB / 451.3 MB, free: 2.734 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1809, allocations: 0 / 451.3 MB, free: 2.734 MB / 382.1 MB Notification: Performance of Templates: time 0.005359/0.1863, allocations: 1.409 MB / 452.7 MB, free: 1.324 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches