Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.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.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 114 kB / 16.41 MB, free: 6.496 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.00147/0.00147, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.473/1.473, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.258/0.258, allocations: 43.53 MB / 314.1 MB, free: 456 kB / 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.001404/0.001404, allocations: 63.91 kB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1582, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test9): time 0.003611/0.1619, allocations: 1.561 MB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006372/0.1625, allocations: 319.5 kB / 0.4897 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.355e-05/0.1626, allocations: 4 kB / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006201/0.1632, allocations: 451.2 kB / 0.4902 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003678/0.1636, allocations: 255.4 kB / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.1639, allocations: 103.8 kB / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002508/0.1642, allocations: 159.6 kB / 0.4907 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1643, allocations: 8 kB / 0.4907 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.1644, allocations: 111.8 kB / 0.4908 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/0.1647, allocations: 207.6 kB / 0.491 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.1647, allocations: 4 kB / 0.491 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.009e-05/0.1648, allocations: 27.92 kB / 0.491 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.165, allocations: 79.69 kB / 0.4911 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.005e-05/0.1651, allocations: 99.05 kB / 0.4912 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003567/0.1654, allocations: 246.7 kB / 0.4914 GB, free: 8.176 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1655, allocations: 0 / 0.4914 GB, free: 8.176 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1655, allocations: 4 kB / 0.4914 GB, free: 8.172 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.1655, allocations: 0 / 0.4914 GB, free: 8.172 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.0009357/0.1664, allocations: 0.6369 MB / 0.492 GB, free: 7.488 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.1665, allocations: 11.89 kB / 0.492 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.105e-05/0.1666, allocations: 48.59 kB / 0.4921 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.1669, allocations: 300.6 kB / 0.4924 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.1669, allocations: 384 / 0.4924 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.167, allocations: 4.375 kB / 0.4924 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.1672, allocations: 61.8 kB / 0.4924 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1672, allocations: 0 / 0.4924 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.1672, allocations: 3.984 kB / 0.4924 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.1672, allocations: 0 / 0.4924 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.1674, allocations: 35.91 kB / 0.4925 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005697/0.1679, allocations: 372.8 kB / 0.4928 GB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.1681, allocations: 38.56 kB / 0.4929 GB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.943e-05/0.1682, allocations: 24.94 kB / 0.4929 GB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.1682, allocations: 0 / 0.4929 GB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.1682, allocations: 34.55 kB / 0.4929 GB, free: 6.453 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.1682, allocations: 0 / 0.4929 GB, free: 6.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003538/0.1686, allocations: 125.3 kB / 0.493 GB, free: 6.324 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.1686, allocations: 51.41 kB / 0.4931 GB, free: 6.262 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00084/0.1695, allocations: 0.8535 MB / 0.4939 GB, free: 5.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.1695, allocations: 25.7 kB / 0.494 GB, free: 5.363 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.1697, allocations: 204.1 kB / 0.4941 GB, free: 5.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.1697, allocations: 15.89 kB / 0.4942 GB, free: 5.145 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.1698, allocations: 17.66 kB / 0.4942 GB, free: 5.121 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.17, allocations: 362.7 kB / 0.4945 GB, free: 4.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.386e-05/0.17, allocations: 19.98 kB / 0.4945 GB, free: 4.738 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.12e-05/0.1701, allocations: 11.98 kB / 0.4946 GB, free: 4.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.1702, allocations: 40.83 kB / 0.4946 GB, free: 4.684 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1702, allocations: 0 / 0.4946 GB, free: 4.684 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001928/0.1704, allocations: 105.3 kB / 0.4947 GB, free: 4.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1704, allocations: 4 kB / 0.4947 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1704, allocations: 4 kB / 0.4947 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.1705, allocations: 0 / 0.4947 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.748e-05/0.1706, allocations: 11.98 kB / 0.4947 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1706, allocations: 0 / 0.4947 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.994e-05/0.1706, allocations: 4 kB / 0.4947 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1706, allocations: 0 / 0.4947 GB, free: 4.551 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 (3): * Single equations (assignments): 3 * 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.0002001/0.1709, allocations: 221.6 kB / 0.4949 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.225e-05/0.1709, allocations: 39.72 kB / 0.495 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.1712, allocations: 128.9 kB / 0.4951 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1712, allocations: 0 / 0.4951 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1712, allocations: 0 / 0.4951 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1712, allocations: 0 / 0.4951 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003138/0.1715, allocations: 297.4 kB / 0.4954 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1715, allocations: 4 kB / 0.4954 GB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.608e-05/0.1716, allocations: 8.359 kB / 0.4954 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1716, allocations: 3.938 kB / 0.4954 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.1716, allocations: 4 kB / 0.4954 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1716, allocations: 4 kB / 0.4954 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1716, allocations: 0 / 0.4954 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.1719, allocations: 211.1 kB / 0.4956 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.1721, allocations: 108.8 kB / 0.4957 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.1721, allocations: 0 / 0.4957 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.586e-05/0.1722, allocations: 4 kB / 0.4957 GB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.1722, allocations: 11.98 kB / 0.4957 GB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.1722, allocations: 0 / 0.4957 GB, free: 3.422 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007427/0.173, allocations: 0.6433 MB / 0.4963 GB, free: 2.781 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.173, allocations: 0 / 0.4963 GB, free: 2.781 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002464/0.1733, allocations: 16 kB / 0.4964 GB, free: 2.766 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 (3): * Single equations (assignments): 3 * 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.0008302/0.1741, allocations: 345.2 kB / 0.4967 GB, free: 2.457 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001924/0.1743, allocations: 43.91 kB / 0.4967 GB, free: 2.414 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1743, allocations: 3.938 kB / 0.4967 GB, free: 2.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.404e-05/0.1744, allocations: 19.92 kB / 0.4968 GB, free: 2.391 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/0.1748, allocations: 29.8 kB / 0.4968 GB, free: 2.359 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.1758, allocations: 0.7748 MB / 0.4975 GB, free: 1.555 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/0.1763, allocations: 0.8182 MB / 0.4983 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.004e-05/0.1763, allocations: 4 kB / 0.4983 GB, free: 0.707 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.869e-05/0.1764, allocations: 15.38 kB / 0.4984 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1764, allocations: 0 / 0.4984 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of Templates: time 0.00514/0.1815, allocations: 1.315 MB / 0.4996 GB, free: 15.37 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches