Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 95.75 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.001916/0.001916, allocations: 180.5 kB / 17.87 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.545/1.545, allocations: 223.2 MB / 241.8 MB, free: 14.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2126/0.2126, allocations: 44.22 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003476, allocations: 8 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.164, allocations: 61.93 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.002436/0.1665, allocations: 1.326 MB / 472.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007637/0.1673, allocations: 379.5 kB / 473.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.998e-05/0.1674, allocations: 4 kB / 473.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.1677, allocations: 51.86 kB / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.1679, allocations: 43.88 kB / 473.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.1683, allocations: 122.5 kB / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.1684, allocations: 43.94 kB / 473.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1686, allocations: 11.98 kB / 473.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.873e-05/0.1687, allocations: 31.84 kB / 473.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.1688, allocations: 27.91 kB / 473.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.1688, allocations: 4 kB / 473.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.1689, allocations: 31.92 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.612e-05/0.169, allocations: 23.97 kB / 473.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.566e-05/0.169, allocations: 37.64 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.1692, allocations: 76.11 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1692, allocations: 0 / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1692, allocations: 0 / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1692, allocations: 0 / 473.7 MB, free: 11.52 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006573/0.1699, allocations: 406.9 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.1699, allocations: 8.562 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.053e-05/0.17, allocations: 11.91 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.1702, allocations: 194.9 kB / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.1703, allocations: 4 kB / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.1703, allocations: 4 kB / 474.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.1705, allocations: 69.56 kB / 474.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.1705, allocations: 0 / 474.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.1706, allocations: 0 / 474.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.1706, allocations: 4 kB / 474.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.1707, allocations: 51.95 kB / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005207/0.1713, allocations: 312.5 kB / 474.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.1715, allocations: 58.56 kB / 474.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.1716, allocations: 7.984 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.1716, allocations: 30.56 kB / 474.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.1716, allocations: 0 / 474.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001553/0.1732, allocations: 469.4 kB / 475.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.1732, allocations: 55.34 kB / 475.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.1734, allocations: 196.4 kB / 475.5 MB, free: 9.484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.1735, allocations: 29.7 kB / 475.5 MB, free: 9.449 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.1735, allocations: 96.14 kB / 475.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.1736, allocations: 35.45 kB / 475.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.1736, allocations: 4 kB / 475.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1737, allocations: 326.8 kB / 476 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.1739, allocations: 51.97 kB / 476 MB, free: 8.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.174, allocations: 51.97 kB / 476.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.1742, allocations: 51.97 kB / 476.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1742, allocations: 4 kB / 476.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003133/0.1745, allocations: 149.5 kB / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.1745, allocations: 8 kB / 476.3 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.1745, allocations: 0 / 476.3 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1745, allocations: 4 kB / 476.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.1747, allocations: 39.91 kB / 476.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1747, allocations: 0 / 476.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.06e-05/0.1748, allocations: 15.97 kB / 476.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.1748, allocations: 4 kB / 476.4 MB, free: 8.605 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 (11): * Single equations (assignments): 11 * 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.0001382/0.1749, allocations: 129.8 kB / 476.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.175, allocations: 15.81 kB / 476.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003842/0.1754, allocations: 182.6 kB / 476.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1754, allocations: 0 / 476.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1754, allocations: 0 / 476.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.1754, allocations: 4 kB / 476.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006276/0.176, allocations: 495.9 kB / 477.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.176, allocations: 0 / 477.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.1761, allocations: 32.05 kB / 477.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1761, allocations: 0 / 477.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.1762, allocations: 8 kB / 477.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.1762, allocations: 96 / 477.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1762, allocations: 7.891 kB / 477.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003666/0.1766, allocations: 288.4 kB / 477.5 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.672e-05/0.1766, allocations: 96.95 kB / 477.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.1766, allocations: 4 kB / 477.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1768, allocations: 15.98 kB / 477.6 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.228e-05/0.1768, allocations: 11.98 kB / 477.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.1768, allocations: 4.188 kB / 477.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.177, allocations: 135.2 kB / 477.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.177, allocations: 0 / 477.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.1772, allocations: 31.98 kB / 477.8 MB, free: 7.043 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00102/0.1783, allocations: 465.6 kB / 478.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003385/0.1786, allocations: 119.9 kB / 478.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1786, allocations: 0 / 478.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.1788, allocations: 71.91 kB / 478.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.1791, allocations: 23.55 kB / 478.4 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00053/0.1796, allocations: 279.1 kB / 478.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.1799, allocations: 0.7121 MB / 479.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.137e-05/0.18, allocations: 20.41 kB / 479.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.18, allocations: 15.62 kB / 479.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1801, allocations: 0 / 479.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of Templates: time 0.004413/0.1845, allocations: 1.436 MB / 480.9 MB, free: 4.055 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches