Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.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.CombiTable1D.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18") translateModel(ModelicaTest.Tables.CombiTable1D.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 106.6 kB / 17.03 MB, free: 6.129 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.001937/0.001937, allocations: 194.9 kB / 17.96 MB, free: 5.215 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.638/1.638, allocations: 205.1 MB / 223.8 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.2608/0.2608, allocations: 43.52 MB / 314.7 MB, free: 480 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.00194/0.00194, allocations: 75.7 kB / 384.2 MB, free: 56.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1557, allocations: 57.79 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test18): time 0.003629/0.1594, allocations: 1.558 MB / 443.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.1609, allocations: 0.9455 MB / 444.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.98e-05/0.1609, allocations: 4 kB / 444.5 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.1613, allocations: 23.84 kB / 444.5 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.1615, allocations: 43.78 kB / 444.5 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.1618, allocations: 103.7 kB / 444.6 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.162, allocations: 63.89 kB / 444.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.1621, allocations: 16.12 kB / 444.7 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.764e-05/0.1622, allocations: 27.84 kB / 444.7 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000378/0.1625, allocations: 31.86 kB / 444.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.1626, allocations: 11.94 kB / 444.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.1627, allocations: 55.95 kB / 444.8 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.204e-05/0.1628, allocations: 8 kB / 444.9 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.369e-05/0.1628, allocations: 27.8 kB / 444.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.163, allocations: 107.7 kB / 445 MB, free: 3.098 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.163, allocations: 0 / 445 MB, free: 3.098 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.163, allocations: 0 / 445 MB, free: 3.098 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.163, allocations: 0 / 445 MB, free: 3.098 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004887/0.1635, allocations: 387.1 kB / 445.4 MB, free: 2.672 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1636, allocations: 15.89 kB / 445.4 MB, free: 2.656 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.04e-05/0.1637, allocations: 8.844 kB / 445.4 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.1638, allocations: 195.5 kB / 445.6 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.1639, allocations: 384 / 445.6 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.1639, allocations: 4.375 kB / 445.6 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.1641, allocations: 96.05 kB / 445.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1641, allocations: 0 / 445.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.1641, allocations: 0 / 445.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.1641, allocations: 4 kB / 445.7 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.1642, allocations: 39.91 kB / 445.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.1647, allocations: 396.8 kB / 446.1 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/0.165, allocations: 89.25 kB / 446.2 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.328e-05/0.1651, allocations: 41.69 kB / 446.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.1651, allocations: 0 / 446.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.1651, allocations: 30.56 kB / 446.3 MB, free: 1.633 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.1651, allocations: 4 kB / 446.3 MB, free: 1.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.000667/0.1658, allocations: 217.1 kB / 446.5 MB, free: 1.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.1659, allocations: 106.8 kB / 446.6 MB, free: 1.281 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.166, allocations: 145.7 kB / 446.7 MB, free: 1.129 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.166, allocations: 29.7 kB / 446.8 MB, free: 1.094 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.812e-05/0.1661, allocations: 92.05 kB / 446.8 MB, free: 1 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.1661, allocations: 31.55 kB / 446.9 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-05/0.1661, allocations: 29.7 kB / 446.9 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.666e-05/0.1662, allocations: 318.8 kB / 447.2 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.74e-05/0.1663, allocations: 31.97 kB / 447.2 MB, free: 0.582 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.869e-05/0.1664, allocations: 54.55 kB / 447.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.1665, allocations: 93.77 kB / 447.4 MB, free: 432 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1666, allocations: 4 kB / 447.4 MB, free: 428 kB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001926/0.1668, allocations: 117.5 kB / 447.5 MB, free: 304 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1668, allocations: 4 kB / 447.5 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1668, allocations: 0 / 447.5 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.1668, allocations: 4 kB / 447.5 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.466e-05/0.1669, allocations: 19.98 kB / 447.5 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1669, allocations: 3.938 kB / 447.5 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.246e-05/0.167, allocations: 11.98 kB / 447.6 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.167, allocations: 8 kB / 447.6 MB, free: 252 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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 7.547e-05/0.1671, allocations: 117.8 kB / 447.7 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.676e-05/0.1671, allocations: 7.906 kB / 447.7 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003064/0.1674, allocations: 145.7 kB / 447.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.1674, allocations: 4 kB / 447.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1675, allocations: 7.875 kB / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.1675, allocations: 3.984 kB / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006602/0.1681, allocations: 0.5032 MB / 448.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1681, allocations: 0 / 448.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.93e-05/0.1682, allocations: 23.92 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1682, allocations: 3.938 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.1683, allocations: 4 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1683, allocations: 0 / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1683, allocations: 8.016 kB / 448.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003576/0.1686, allocations: 299.5 kB / 448.7 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.174e-05/0.1687, allocations: 88.95 kB / 448.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.1687, allocations: 4 kB / 448.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.1688, allocations: 7.984 kB / 448.8 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/0.1689, allocations: 15.98 kB / 448.8 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.1689, allocations: 0 / 448.8 MB, free: 14.9 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.158e-05/0.169, allocations: 110.6 kB / 448.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.169, allocations: 0 / 448.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00031/0.1693, allocations: 24 kB / 448.9 MB, free: 14.77 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001122/0.1705, allocations: 456.6 kB / 449.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002948/0.1708, allocations: 79.89 kB / 449.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1708, allocations: 0 / 449.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.1709, allocations: 47.91 kB / 449.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004453/0.1713, allocations: 27.86 kB / 449.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005152/0.1719, allocations: 211.9 kB / 449.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004348/0.1723, allocations: 0.704 MB / 450.4 MB, free: 13.28 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.097e-05/0.1724, allocations: 20.41 kB / 450.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.581e-05/0.1725, allocations: 23.42 kB / 450.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1725, allocations: 0 / 450.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of Templates: time 0.004701/0.1772, allocations: 1.524 MB / 452 MB, free: 11.72 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches