Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 97.92 kB / 16.99 MB, free: 5.941 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.001868/0.001868, allocations: 180.2 kB / 17.88 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 223.2 MB / 241.8 MB, free: 360 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2225/0.2225, allocations: 44.23 MB / 337.1 MB, free: 2.891 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003077/0.0003077, allocations: 12 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1567, allocations: 61.93 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.002529/0.1593, allocations: 1.31 MB / 472.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.161, allocations: 0.9414 MB / 473.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.885e-05/0.1611, allocations: 3.938 kB / 473.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002314/0.1613, allocations: 19.91 kB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.1615, allocations: 39.84 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.1618, allocations: 115.2 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.162, allocations: 39.89 kB / 473.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1621, allocations: 8.188 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.63e-05/0.1621, allocations: 23.91 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.1623, allocations: 23.86 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.1623, allocations: 4 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.698e-05/0.1624, allocations: 31.92 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.027e-05/0.1625, allocations: 19.91 kB / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.92e-05/0.1625, allocations: 29.7 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.1626, allocations: 68.17 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.1627, allocations: 0 / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1627, allocations: 4 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.1627, allocations: 0 / 474.1 MB, free: 11.05 MB / 350.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.0005246/0.1632, allocations: 391 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1632, allocations: 12.5 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.1633, allocations: 7.906 kB / 474.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.1635, allocations: 183 kB / 474.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.1635, allocations: 4 kB / 474.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.1635, allocations: 4 kB / 474.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.1638, allocations: 83.34 kB / 474.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1638, allocations: 3.984 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1639, allocations: 0 / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.1639, allocations: 0 / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.164, allocations: 43.91 kB / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003753/0.1644, allocations: 292.7 kB / 475.1 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.1645, allocations: 50.56 kB / 475.2 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.1646, allocations: 0 / 475.2 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.1646, allocations: 34.56 kB / 475.2 MB, free: 9.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.454e-06/0.1646, allocations: 0 / 475.2 MB, free: 9.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007357/0.1653, allocations: 241.4 kB / 475.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.1654, allocations: 85.05 kB / 475.5 MB, free: 9.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.1655, allocations: 136.9 kB / 475.7 MB, free: 9.309 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.1656, allocations: 25.7 kB / 475.7 MB, free: 9.277 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.984e-05/0.1656, allocations: 100.1 kB / 475.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.1657, allocations: 19.72 kB / 475.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.1657, allocations: 0 / 475.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1658, allocations: 322.8 kB / 476.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.1659, allocations: 43.97 kB / 476.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.1661, allocations: 53.69 kB / 476.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.1662, allocations: 47.94 kB / 476.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.1662, allocations: 0 / 476.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003159/0.1665, allocations: 125.5 kB / 476.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.1666, allocations: 4 kB / 476.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1666, allocations: 4 kB / 476.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1666, allocations: 3.984 kB / 476.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.1667, allocations: 23.92 kB / 476.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1667, allocations: 4 kB / 476.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.882e-05/0.1668, allocations: 19.98 kB / 476.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.1668, allocations: 4 kB / 476.5 MB, free: 8.492 MB / 350.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.535e-05/0.1669, allocations: 121.7 kB / 476.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.167, allocations: 7.906 kB / 476.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003147/0.1673, allocations: 146.7 kB / 476.7 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1673, allocations: 4 kB / 476.7 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1673, allocations: 3.984 kB / 476.7 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1673, allocations: 4 kB / 476.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005697/0.1679, allocations: 414.5 kB / 477.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1679, allocations: 0 / 477.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.812e-05/0.168, allocations: 23.98 kB / 477.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.168, allocations: 0 / 477.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.168, allocations: 4 kB / 477.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.168, allocations: 3.938 kB / 477.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.168, allocations: 0 / 477.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/0.1684, allocations: 223.4 kB / 477.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/0.1684, allocations: 93 kB / 477.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.1684, allocations: 0 / 477.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.653e-05/0.1685, allocations: 15.98 kB / 477.5 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.1686, allocations: 11.98 kB / 477.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.1686, allocations: 4 kB / 477.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.368e-05/0.1687, allocations: 103.3 kB / 477.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1687, allocations: 0 / 477.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.169, allocations: 27.98 kB / 477.6 MB, free: 7.199 MB / 350.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.0009878/0.17, allocations: 445.7 kB / 478.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002905/0.1703, allocations: 95.89 kB / 478.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1703, allocations: 0 / 478.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.1704, allocations: 47.97 kB / 478.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.1707, allocations: 26.12 kB / 478.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/0.1711, allocations: 197.3 kB / 478.4 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.1715, allocations: 0.6926 MB / 479.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.403e-05/0.1716, allocations: 24.94 kB / 479.2 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.754e-05/0.1717, allocations: 11.44 kB / 479.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1717, allocations: 0 / 479.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of Templates: time 0.004398/0.1761, allocations: 1.425 MB / 480.6 MB, free: 4.375 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches