Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") translateModel(ModelicaTest.Tables.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 112.6 kB / 17.04 MB, free: 6.078 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.001561/0.001561, allocations: 195 kB / 17.97 MB, free: 5.16 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.574/1.574, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2444/0.2444, allocations: 43.52 MB / 314.7 MB, free: 500 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.001564/0.001565, allocations: 66.28 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1575, allocations: 57.79 MB / 442 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.003109/0.1607, allocations: 1.589 MB / 443.6 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005634/0.1613, allocations: 339.5 kB / 443.9 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.915e-05/0.1613, allocations: 0 / 443.9 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004701/0.1618, allocations: 447.2 kB / 444.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002884/0.1621, allocations: 255.4 kB / 444.6 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.1624, allocations: 110.9 kB / 444.7 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.1626, allocations: 159.7 kB / 444.8 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1628, allocations: 20.11 kB / 444.9 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.31e-05/0.1628, allocations: 103.8 kB / 445 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.163, allocations: 211.6 kB / 445.2 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.1631, allocations: 3.938 kB / 445.2 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.309e-05/0.1631, allocations: 31.98 kB / 445.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.5e-05/0.1632, allocations: 87.67 kB / 445.3 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.294e-05/0.1633, allocations: 99 kB / 445.4 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.1636, allocations: 247 kB / 445.6 MB, free: 2.496 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.1636, allocations: 0 / 445.6 MB, free: 2.496 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1636, allocations: 0 / 445.6 MB, free: 2.496 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.1636, allocations: 4 kB / 445.6 MB, free: 2.492 MB / 318.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.0007085/0.1643, allocations: 0.6375 MB / 446.3 MB, free: 1.805 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.1644, allocations: 11.89 kB / 446.3 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.2e-05/0.1644, allocations: 36.47 kB / 446.3 MB, free: 1.758 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.1647, allocations: 296.2 kB / 446.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1647, allocations: 384 / 446.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.1648, allocations: 384 / 446.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.1649, allocations: 61.56 kB / 446.7 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1649, allocations: 4 kB / 446.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.1649, allocations: 0 / 446.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1649, allocations: 0 / 446.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.156e-05/0.165, allocations: 31.91 kB / 446.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.1654, allocations: 384.6 kB / 447.1 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.1656, allocations: 42.56 kB / 447.1 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.36e-05/0.1657, allocations: 16.86 kB / 447.1 MB, free: 0.832 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.1657, allocations: 0 / 447.1 MB, free: 0.832 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.1657, allocations: 34.5 kB / 447.2 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.1657, allocations: 0 / 447.2 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005183/0.1663, allocations: 224 kB / 447.4 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.1663, allocations: 63.39 kB / 447.5 MB, free: 500 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000702/0.167, allocations: 0.8535 MB / 448.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.167, allocations: 25.7 kB / 448.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.1672, allocations: 224 kB / 448.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.1672, allocations: 19.73 kB / 448.6 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.1673, allocations: 17.72 kB / 448.6 MB, free: 15.33 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1674, allocations: 354.8 kB / 448.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.444e-05/0.1675, allocations: 19.98 kB / 449 MB, free: 14.95 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.501e-05/0.1676, allocations: 23.98 kB / 449 MB, free: 14.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.1677, allocations: 44.83 kB / 449 MB, free: 14.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1677, allocations: 0 / 449 MB, free: 14.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001993/0.1679, allocations: 117 kB / 449.1 MB, free: 14.76 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1679, allocations: 8 kB / 449.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1679, allocations: 3.984 kB / 449.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.168, allocations: 4 kB / 449.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.903e-05/0.168, allocations: 8 kB / 449.2 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.168, allocations: 0 / 449.2 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.39e-05/0.1681, allocations: 12.17 kB / 449.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.1681, allocations: 8 kB / 449.2 MB, free: 14.72 MB / 334.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.0001777/0.1683, allocations: 213.7 kB / 449.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.114e-05/0.1684, allocations: 39.44 kB / 449.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.1686, allocations: 141.3 kB / 449.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1686, allocations: 0 / 449.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1687, allocations: 0 / 449.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1687, allocations: 7.922 kB / 449.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005102/0.1692, allocations: 450.5 kB / 450 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1692, allocations: 0 / 450 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.175e-05/0.1692, allocations: 11.98 kB / 450 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.1693, allocations: 0 / 450 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.1693, allocations: 7.938 kB / 450 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.1693, allocations: 11.88 kB / 450 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1693, allocations: 0 / 450 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.1695, allocations: 203.1 kB / 450.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.587e-05/0.1696, allocations: 112.5 kB / 450.3 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.1697, allocations: 7.922 kB / 450.4 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.812e-05/0.1697, allocations: 8 kB / 450.4 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.1698, allocations: 0 / 450.4 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.1698, allocations: 4 kB / 450.4 MB, free: 13.42 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005925/0.1704, allocations: 0.651 MB / 451 MB, free: 12.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1704, allocations: 0 / 451 MB, free: 12.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00025/0.1707, allocations: 24 kB / 451 MB, free: 12.75 MB / 334.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.0009659/0.1716, allocations: 400.3 kB / 451.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.1718, allocations: 55.84 kB / 451.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1718, allocations: 0 / 451.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.221e-05/0.1719, allocations: 23.98 kB / 451.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.1723, allocations: 29.89 kB / 451.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.1736, allocations: 0.7718 MB / 452.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005106/0.1741, allocations: 0.8259 MB / 453.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.277e-05/0.1741, allocations: 8.25 kB / 453.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.1742, allocations: 11.44 kB / 453.2 MB, free: 10.65 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1742, allocations: 0 / 453.2 MB, free: 10.65 MB / 334.1 MB Notification: Performance of Templates: time 0.005331/0.1795, allocations: 1.464 MB / 454.6 MB, free: 9.199 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches