Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.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.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_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_ModelicaTest.Tables.CombiTable2D.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001402, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 202.1 kB / 16.79 MB, free: 6.84 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.786/1.786, allocations: 205.1 MB / 222.6 MB, free: 4.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4183/0.4183, allocations: 43.5 MB / 313.5 MB, free: 8.266 MB / 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.001405/0.001406, allocations: 66.89 kB / 382 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1587, allocations: 57.78 MB / 439.8 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test12): time 0.004402/0.1632, allocations: 1.679 MB / 441.5 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.165, allocations: 0.9181 MB / 442.4 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.755e-05/0.1651, allocations: 0 / 442.4 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000239/0.1654, allocations: 11.92 kB / 442.4 MB, free: 12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002167/0.1656, allocations: 39.91 kB / 442.5 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.166, allocations: 103.8 kB / 442.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.1661, allocations: 59.78 kB / 442.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.1663, allocations: 20.16 kB / 442.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.774e-05/0.1663, allocations: 19.92 kB / 442.7 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.1665, allocations: 27.86 kB / 442.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.1665, allocations: 0 / 442.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.1667, allocations: 47.97 kB / 442.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.212e-05/0.1667, allocations: 15.92 kB / 442.8 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.253e-05/0.1668, allocations: 27.86 kB / 442.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.167, allocations: 91.92 kB / 442.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.167, allocations: 0 / 442.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.167, allocations: 0 / 442.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.1671, allocations: 3.938 kB / 442.9 MB, free: 11.55 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005835/0.1676, allocations: 403.2 kB / 443.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.1677, allocations: 8.031 kB / 443.3 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.207e-05/0.1678, allocations: 8.844 kB / 443.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.168, allocations: 180.3 kB / 443.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.168, allocations: 4.359 kB / 443.5 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.168, allocations: 384 / 443.5 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.1682, allocations: 83.27 kB / 443.5 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.1683, allocations: 3.984 kB / 443.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.1683, allocations: 0 / 443.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.1683, allocations: 0 / 443.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.1684, allocations: 35.97 kB / 443.6 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004985/0.169, allocations: 280.8 kB / 443.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.1691, allocations: 50.48 kB / 443.9 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.562e-05/0.1692, allocations: 24.94 kB / 443.9 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.1693, allocations: 0 / 443.9 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.1693, allocations: 30.56 kB / 444 MB, free: 10.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.1693, allocations: 0 / 444 MB, free: 10.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008741/0.1702, allocations: 209.5 kB / 444.2 MB, free: 10.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.892e-05/0.1703, allocations: 81.09 kB / 444.2 MB, free: 9.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.1704, allocations: 129.8 kB / 444.4 MB, free: 9.844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.1705, allocations: 25.7 kB / 444.4 MB, free: 9.812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.835e-05/0.1705, allocations: 100.1 kB / 444.5 MB, free: 9.711 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.1706, allocations: 23.56 kB / 444.5 MB, free: 9.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.148e-05/0.1706, allocations: 21.7 kB / 444.5 MB, free: 9.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1708, allocations: 318.8 kB / 444.9 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.1709, allocations: 27.97 kB / 444.9 MB, free: 9.312 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.171, allocations: 53.69 kB / 444.9 MB, free: 9.254 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.1712, allocations: 76.73 kB / 445 MB, free: 9.176 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1712, allocations: 4 kB / 445 MB, free: 9.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002563/0.1715, allocations: 97.89 kB / 445.1 MB, free: 9.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.1715, allocations: 11.98 kB / 445.1 MB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1715, allocations: 8.016 kB / 445.1 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.1716, allocations: 3.984 kB / 445.1 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.1717, allocations: 19.98 kB / 445.1 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.1717, allocations: 4.062 kB / 445.2 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.458e-05/0.1718, allocations: 15.92 kB / 445.2 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.1718, allocations: 4 kB / 445.2 MB, free: 9.004 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 (7): * Single equations (assignments): 7 * 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.0001475/0.172, allocations: 125.7 kB / 445.3 MB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.549e-05/0.172, allocations: 7.906 kB / 445.3 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/0.1723, allocations: 126 kB / 445.4 MB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1724, allocations: 0 / 445.4 MB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.1724, allocations: 3.938 kB / 445.4 MB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.1724, allocations: 3.938 kB / 445.4 MB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005295/0.1729, allocations: 390.4 kB / 445.8 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1729, allocations: 0 / 445.8 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.309e-05/0.173, allocations: 23.98 kB / 445.8 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.173, allocations: 0 / 445.8 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.1731, allocations: 7.922 kB / 445.8 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1731, allocations: 0 / 445.8 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1731, allocations: 4 kB / 445.9 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.1734, allocations: 203.4 kB / 446 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.976e-05/0.1734, allocations: 81.02 kB / 446.1 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.1735, allocations: 7.938 kB / 446.1 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.353e-05/0.1736, allocations: 7.984 kB / 446.1 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.489e-05/0.1736, allocations: 11.98 kB / 446.2 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.1736, allocations: 0 / 446.2 MB, free: 7.918 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.602e-05/0.1737, allocations: 115.8 kB / 446.3 MB, free: 7.805 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1737, allocations: 0 / 446.3 MB, free: 7.805 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002744/0.174, allocations: 20 kB / 446.3 MB, free: 7.785 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 (7): * Single equations (assignments): 7 * 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.001039/0.1751, allocations: 434 kB / 446.7 MB, free: 7.391 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003084/0.1754, allocations: 79.88 kB / 446.8 MB, free: 7.312 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1754, allocations: 0 / 446.8 MB, free: 7.312 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.1755, allocations: 43.97 kB / 446.8 MB, free: 7.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.1759, allocations: 24.22 kB / 446.9 MB, free: 7.246 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005074/0.1765, allocations: 220 kB / 447.1 MB, free: 7.004 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.1768, allocations: 0.6887 MB / 447.8 MB, free: 6.289 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.46e-05/0.1769, allocations: 19.98 kB / 447.8 MB, free: 6.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.1769, allocations: 11.44 kB / 447.8 MB, free: 6.258 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.177, allocations: 3.938 kB / 447.8 MB, free: 6.254 MB / 382.1 MB Notification: Performance of Templates: time 0.00468/0.1816, allocations: 1.408 MB / 449.2 MB, free: 4.844 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Tables.CombiTable2D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches