Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24") translateModel(ModelicaTest.Tables.CombiTable1D.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00134/0.00134, allocations: 177.2 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.678/1.678, allocations: 205.4 MB / 222.5 MB, free: 9.102 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008451/0.000845, allocations: 87.86 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3964/0.3964, allocations: 43.55 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00052/0.0005201, allocations: 12 kB / 431.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1597, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test24): time 0.002075/0.1619, allocations: 1.255 MB / 491.5 MB, free: 9.715 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.1632, allocations: 0.883 MB / 492.4 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.199e-05/0.1633, allocations: 4 kB / 492.4 MB, free: 8.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001994/0.1635, allocations: 19.91 kB / 492.4 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.1637, allocations: 39.84 kB / 492.4 MB, free: 8.762 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.1639, allocations: 71.91 kB / 492.5 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.1641, allocations: 47.84 kB / 492.6 MB, free: 8.645 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.1642, allocations: 19.97 kB / 492.6 MB, free: 8.625 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.855e-05/0.1642, allocations: 19.86 kB / 492.6 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.1644, allocations: 19.92 kB / 492.6 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.1644, allocations: 4 kB / 492.6 MB, free: 8.582 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1645, allocations: 43.91 kB / 492.7 MB, free: 8.539 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.425e-05/0.1646, allocations: 11.98 kB / 492.7 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.1646, allocations: 29.64 kB / 492.7 MB, free: 8.492 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.1648, allocations: 63.91 kB / 492.8 MB, free: 8.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1648, allocations: 4 kB / 492.8 MB, free: 8.426 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1648, allocations: 4 kB / 492.8 MB, free: 8.422 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.1648, allocations: 0 / 492.8 MB, free: 8.422 MB / 378.7 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.0005229/0.1653, allocations: 371.4 kB / 493.1 MB, free: 8.012 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1654, allocations: 12.02 kB / 493.2 MB, free: 8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.1654, allocations: 11.86 kB / 493.2 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.1656, allocations: 187 kB / 493.3 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.1657, allocations: 0 / 493.3 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.1657, allocations: 0 / 493.3 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.1658, allocations: 75.33 kB / 493.4 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1659, allocations: 3.906 kB / 493.4 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.1659, allocations: 0 / 493.4 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1659, allocations: 0 / 493.4 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.488e-05/0.166, allocations: 31.94 kB / 493.5 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.1664, allocations: 277 kB / 493.7 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.1666, allocations: 54.48 kB / 493.8 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.379e-05/0.1667, allocations: 12.86 kB / 493.8 MB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.1667, allocations: 4 kB / 493.8 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.1668, allocations: 38.64 kB / 493.8 MB, free: 7.195 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.1668, allocations: 0 / 493.8 MB, free: 7.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006525/0.1674, allocations: 165.3 kB / 494 MB, free: 7.027 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.1675, allocations: 77.11 kB / 494.1 MB, free: 6.934 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.1676, allocations: 137.8 kB / 494.2 MB, free: 6.789 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1677, allocations: 25.7 kB / 494.2 MB, free: 6.758 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.277e-05/0.1677, allocations: 100 kB / 494.3 MB, free: 6.656 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.1678, allocations: 11.75 kB / 494.3 MB, free: 6.645 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/0.1678, allocations: 4 kB / 494.3 MB, free: 6.641 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1679, allocations: 326.8 kB / 494.7 MB, free: 6.312 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-05/0.168, allocations: 23.98 kB / 494.7 MB, free: 6.289 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.309e-05/0.1681, allocations: 37.7 kB / 494.7 MB, free: 6.246 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.399e-05/0.1682, allocations: 28.02 kB / 494.7 MB, free: 6.219 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1682, allocations: 0 / 494.7 MB, free: 6.219 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002085/0.1684, allocations: 97.5 kB / 494.8 MB, free: 6.117 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.1684, allocations: 11.95 kB / 494.9 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1684, allocations: 0 / 494.9 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1685, allocations: 0 / 494.9 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.578e-05/0.1685, allocations: 19.98 kB / 494.9 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1686, allocations: 0 / 494.9 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.384e-05/0.1686, allocations: 4 kB / 494.9 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.1686, allocations: 4 kB / 494.9 MB, free: 6.078 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.1687, allocations: 113.8 kB / 495 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.1688, allocations: 3.984 kB / 495 MB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.169, allocations: 117.4 kB / 495.1 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.169, allocations: 0 / 495.1 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.169, allocations: 0 / 495.1 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1691, allocations: 0 / 495.1 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004897/0.1696, allocations: 362.9 kB / 495.5 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1696, allocations: 3.938 kB / 495.5 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.254e-05/0.1696, allocations: 24.22 kB / 495.5 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1696, allocations: 0 / 495.5 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.1697, allocations: 4 kB / 495.5 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1697, allocations: 0 / 495.5 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1697, allocations: 0 / 495.5 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.1699, allocations: 191.5 kB / 495.7 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.895e-05/0.17, allocations: 85 kB / 495.8 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.17, allocations: 7.953 kB / 495.8 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.285e-05/0.1701, allocations: 12 kB / 495.8 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.1701, allocations: 3.984 kB / 495.8 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.1702, allocations: 4 kB / 495.8 MB, free: 5.062 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.133e-05/0.1702, allocations: 103.8 kB / 495.9 MB, free: 4.961 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.034e-06/0.1703, allocations: 0 / 495.9 MB, free: 4.961 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002376/0.1705, allocations: 27.94 kB / 495.9 MB, free: 4.934 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009788/0.1715, allocations: 440.3 kB / 496.4 MB, free: 4.551 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002387/0.1717, allocations: 63.95 kB / 496.4 MB, free: 4.488 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1718, allocations: 0 / 496.4 MB, free: 4.488 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.272e-05/0.1718, allocations: 31.98 kB / 496.4 MB, free: 4.457 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.1722, allocations: 19.86 kB / 496.5 MB, free: 4.438 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004553/0.1726, allocations: 202.4 kB / 496.7 MB, free: 4.203 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.1729, allocations: 0.6926 MB / 497.4 MB, free: 3.484 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.208e-05/0.173, allocations: 19.42 kB / 497.4 MB, free: 3.465 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.173, allocations: 0 / 497.4 MB, free: 3.465 MB / 378.7 MB Notification: Performance of Templates: time 0.003258/0.1762, allocations: 1.563 MB / 498.9 MB, free: 1.902 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches