Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2D.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 96.7 kB / 15.7 MB, free: 460 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.001168/0.001168, allocations: 170.2 kB / 16.57 MB, free: 6.395 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.886/1.886, allocations: 205.4 MB / 222.7 MB, free: 5.66 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.5282/0.5282, allocations: 43.57 MB / 314.6 MB, free: 8.777 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.000579/0.0005792, allocations: 15.98 kB / 384 MB, free: 7.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1674, allocations: 58.86 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test29): time 0.002069/0.1695, allocations: 1.314 MB / 444.1 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006174/0.1701, allocations: 295.9 kB / 444.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.768e-05/0.1702, allocations: 4 kB / 444.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.1705, allocations: 59.84 kB / 444.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.1706, allocations: 51.88 kB / 444.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.1709, allocations: 103.7 kB / 444.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.1711, allocations: 71.81 kB / 444.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.055e-05/0.1712, allocations: 8.172 kB / 444.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.08e-05/0.1712, allocations: 27.91 kB / 444.7 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.787e-05/0.1713, allocations: 43.83 kB / 444.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.1714, allocations: 0 / 444.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.943e-05/0.1714, allocations: 27.98 kB / 444.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.976e-05/0.1715, allocations: 23.86 kB / 444.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3e-05/0.1715, allocations: 37.64 kB / 444.9 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.1717, allocations: 72.11 kB / 444.9 MB, free: 10.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1718, allocations: 0 / 444.9 MB, free: 10.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1718, allocations: 0 / 444.9 MB, free: 10.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.1718, allocations: 0 / 444.9 MB, free: 10.87 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.0005174/0.1723, allocations: 402.8 kB / 445.3 MB, free: 10.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.1723, allocations: 12.02 kB / 445.3 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.1724, allocations: 15.86 kB / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.1726, allocations: 190.9 kB / 445.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.1726, allocations: 0 / 445.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.1726, allocations: 4 kB / 445.5 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.1728, allocations: 61.67 kB / 445.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1729, allocations: 0 / 445.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1729, allocations: 0 / 445.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1729, allocations: 0 / 445.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.173, allocations: 51.92 kB / 445.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/0.1734, allocations: 300.7 kB / 446 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.1736, allocations: 50.56 kB / 446 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.008e-05/0.1736, allocations: 28.94 kB / 446 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.1737, allocations: 0 / 446 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.1737, allocations: 34.56 kB / 446.1 MB, free: 9.578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.1737, allocations: 0 / 446.1 MB, free: 9.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007726/0.1745, allocations: 245.1 kB / 446.3 MB, free: 9.332 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.1745, allocations: 59.34 kB / 446.4 MB, free: 9.262 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.1748, allocations: 198.2 kB / 446.6 MB, free: 9.059 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.1748, allocations: 25.7 kB / 446.6 MB, free: 9.027 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.341e-05/0.1749, allocations: 108.1 kB / 446.7 MB, free: 8.918 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.1749, allocations: 19.73 kB / 446.7 MB, free: 8.898 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.1749, allocations: 3.938 kB / 446.7 MB, free: 8.895 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1751, allocations: 326.8 kB / 447 MB, free: 8.566 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.1752, allocations: 43.95 kB / 447.1 MB, free: 8.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.28e-05/0.1753, allocations: 39.97 kB / 447.1 MB, free: 8.484 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.1754, allocations: 43.97 kB / 447.2 MB, free: 8.441 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.1754, allocations: 0 / 447.2 MB, free: 8.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002546/0.1757, allocations: 129.5 kB / 447.3 MB, free: 8.309 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1757, allocations: 7.953 kB / 447.3 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1757, allocations: 4 kB / 447.3 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1757, allocations: 0 / 447.3 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.1758, allocations: 31.92 kB / 447.3 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1759, allocations: 0 / 447.3 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.496e-05/0.1759, allocations: 15.98 kB / 447.3 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1759, allocations: 3.938 kB / 447.3 MB, free: 8.246 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.875e-05/0.176, allocations: 125.8 kB / 447.5 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.1761, allocations: 11.89 kB / 447.5 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003119/0.1764, allocations: 142.3 kB / 447.6 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1764, allocations: 4 kB / 447.6 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1764, allocations: 0 / 447.6 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1764, allocations: 0 / 447.6 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005307/0.177, allocations: 414.5 kB / 448 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.177, allocations: 3.953 kB / 448 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.037e-05/0.1771, allocations: 19.98 kB / 448 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1771, allocations: 0 / 448 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.1771, allocations: 4 kB / 448 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1771, allocations: 4 kB / 448.1 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1771, allocations: 0 / 448.1 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003154/0.1774, allocations: 232 kB / 448.3 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.1775, allocations: 92.95 kB / 448.4 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.1776, allocations: 4 kB / 448.4 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.788e-05/0.1777, allocations: 15.98 kB / 448.4 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.1777, allocations: 7.969 kB / 448.4 MB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.1777, allocations: 4 kB / 448.4 MB, free: 7.082 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.1779, allocations: 164 kB / 448.6 MB, free: 6.922 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.575e-06/0.1779, allocations: 0 / 448.6 MB, free: 6.922 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.1781, allocations: 27.94 kB / 448.6 MB, free: 6.895 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 (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.00104/0.1792, allocations: 397 kB / 449 MB, free: 6.535 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003078/0.1795, allocations: 103.9 kB / 449.1 MB, free: 6.434 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1795, allocations: 0 / 449.1 MB, free: 6.434 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.1796, allocations: 51.97 kB / 449.1 MB, free: 6.383 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.18, allocations: 15.94 kB / 449.1 MB, free: 6.367 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005357/0.1805, allocations: 257.5 kB / 449.4 MB, free: 6.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/0.181, allocations: 0.7121 MB / 450.1 MB, free: 5.352 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.471e-05/0.1811, allocations: 11.94 kB / 450.1 MB, free: 5.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.518e-05/0.1811, allocations: 11.44 kB / 450.1 MB, free: 5.328 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1811, allocations: 0 / 450.1 MB, free: 5.328 MB / 382.1 MB Notification: Performance of Templates: time 0.004479/0.1856, allocations: 1.143 MB / 451.3 MB, free: 4.184 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test29/Test29.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches