Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.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.CombiTable2D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12") translateModel(ModelicaTest.Tables.CombiTable2D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001388/0.001388, allocations: 177.1 kB / 16.41 MB, free: 5.727 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.797/1.797, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.000803/0.0008035, allocations: 85.33 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.5282/0.5282, allocations: 43.56 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004365/0.0004366, allocations: 12 kB / 431.4 MB, free: 5.926 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1643, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test12): time 0.002424/0.1668, allocations: 1.313 MB / 491.6 MB, free: 9.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.1685, allocations: 0.8752 MB / 492.4 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.16e-05/0.1687, allocations: 0 / 492.4 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.1689, allocations: 19.92 kB / 492.4 MB, free: 8.758 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002625/0.1692, allocations: 27.91 kB / 492.5 MB, free: 8.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.1696, allocations: 103.8 kB / 492.6 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.1698, allocations: 51.84 kB / 492.6 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.1699, allocations: 8.172 kB / 492.6 MB, free: 8.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.183e-05/0.17, allocations: 19.92 kB / 492.7 MB, free: 8.551 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.1702, allocations: 23.86 kB / 492.7 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.1702, allocations: 4 kB / 492.7 MB, free: 8.523 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.1704, allocations: 47.95 kB / 492.7 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.91e-05/0.1705, allocations: 11.94 kB / 492.7 MB, free: 8.465 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.548e-05/0.1705, allocations: 29.7 kB / 492.8 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.1707, allocations: 83.75 kB / 492.9 MB, free: 8.348 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/0.1707, allocations: 4 kB / 492.9 MB, free: 8.344 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1708, allocations: 0 / 492.9 MB, free: 8.344 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.1708, allocations: 0 / 492.9 MB, free: 8.344 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006261/0.1714, allocations: 375.4 kB / 493.2 MB, free: 7.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.1715, allocations: 12.02 kB / 493.2 MB, free: 7.918 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.566e-05/0.1715, allocations: 11.86 kB / 493.2 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.1718, allocations: 194.9 kB / 493.4 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.1718, allocations: 0 / 493.4 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.1719, allocations: 11.98 kB / 493.4 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.1721, allocations: 75.33 kB / 493.5 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.65e-05/0.1721, allocations: 0 / 493.5 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.1722, allocations: 4 kB / 493.5 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.954e-06/0.1722, allocations: 0 / 493.5 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.1724, allocations: 47.92 kB / 493.6 MB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004522/0.1728, allocations: 284.9 kB / 493.8 MB, free: 7.199 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.173, allocations: 54.5 kB / 493.9 MB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.367e-05/0.1731, allocations: 24.94 kB / 493.9 MB, free: 7.109 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.1731, allocations: 4 kB / 493.9 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.1731, allocations: 34.5 kB / 494 MB, free: 7.062 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.1731, allocations: 4 kB / 494 MB, free: 7.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008429/0.174, allocations: 237.1 kB / 494.2 MB, free: 6.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.1741, allocations: 81.11 kB / 494.3 MB, free: 6.723 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.1742, allocations: 133.8 kB / 494.4 MB, free: 6.582 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.1742, allocations: 25.7 kB / 494.4 MB, free: 6.551 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.546e-05/0.1743, allocations: 92.14 kB / 494.5 MB, free: 6.457 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.1743, allocations: 27.64 kB / 494.6 MB, free: 6.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.1743, allocations: 0 / 494.6 MB, free: 6.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1745, allocations: 318.8 kB / 494.9 MB, free: 6.109 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.1746, allocations: 43.92 kB / 494.9 MB, free: 6.066 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.1747, allocations: 53.69 kB / 495 MB, free: 6.008 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.1749, allocations: 48.06 kB / 495 MB, free: 5.961 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1749, allocations: 0 / 495 MB, free: 5.961 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002899/0.1752, allocations: 129.5 kB / 495.1 MB, free: 5.828 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.1752, allocations: 11.39 kB / 495.1 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1752, allocations: 320 / 495.1 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.1752, allocations: 4 kB / 495.1 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.1754, allocations: 19.98 kB / 495.2 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1754, allocations: 0 / 495.2 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.855e-05/0.1755, allocations: 19.98 kB / 495.2 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1755, allocations: 3.984 kB / 495.2 MB, free: 5.773 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 (7): * Single equations (assignments): 7 * 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.0001084/0.1756, allocations: 117.8 kB / 495.3 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.662e-05/0.1756, allocations: 7.906 kB / 495.3 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000359/0.176, allocations: 145.9 kB / 495.5 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.176, allocations: 3.984 kB / 495.5 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.176, allocations: 0 / 495.5 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.176, allocations: 4 kB / 495.5 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005743/0.1766, allocations: 402.4 kB / 495.9 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1766, allocations: 3.953 kB / 495.9 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.701e-05/0.1767, allocations: 27.98 kB / 495.9 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1767, allocations: 0 / 495.9 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1767, allocations: 4 kB / 495.9 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.1768, allocations: 0 / 495.9 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.1768, allocations: 0 / 495.9 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003405/0.1771, allocations: 223.4 kB / 496.1 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.607e-05/0.1772, allocations: 92.95 kB / 496.2 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.1772, allocations: 0 / 496.2 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.417e-05/0.1773, allocations: 19.98 kB / 496.2 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.1774, allocations: 7.938 kB / 496.2 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.1774, allocations: 8.266 kB / 496.2 MB, free: 4.625 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.448e-05/0.1775, allocations: 99.27 kB / 496.3 MB, free: 4.527 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1775, allocations: 0 / 496.3 MB, free: 4.527 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002535/0.1777, allocations: 28 kB / 496.4 MB, free: 4.5 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 (7): * Single equations (assignments): 7 * 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.0009631/0.1787, allocations: 437.1 kB / 496.8 MB, free: 4.113 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003296/0.179, allocations: 95.92 kB / 496.9 MB, free: 4.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.1791, allocations: 0 / 496.9 MB, free: 4.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.1792, allocations: 51.91 kB / 496.9 MB, free: 3.969 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.1796, allocations: 20.23 kB / 497 MB, free: 3.949 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004531/0.18, allocations: 215 kB / 497.2 MB, free: 3.707 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.1804, allocations: 0.6887 MB / 497.8 MB, free: 2.992 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.03e-05/0.1805, allocations: 19.44 kB / 497.9 MB, free: 2.973 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1805, allocations: 0 / 497.9 MB, free: 2.973 MB / 378.7 MB Notification: Performance of Templates: time 0.004289/0.1848, allocations: 1.711 MB / 499.6 MB, free: 1.266 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches