Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, 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.001813/0.001814, allocations: 202.6 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.633/1.633, allocations: 205.1 MB / 222.6 MB, free: 4.781 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.3755/0.3755, allocations: 43.5 MB / 313.5 MB, free: 8.246 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.001634/0.001634, allocations: 66.56 kB / 382 MB, free: 8.508 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1577, allocations: 57.78 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.00552/0.1633, allocations: 1.718 MB / 441.5 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.1645, allocations: 375.5 kB / 441.9 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.1647, allocations: 3.938 kB / 441.9 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.1651, allocations: 15.91 kB / 441.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003118/0.1654, allocations: 43.84 kB / 442 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005847/0.166, allocations: 143.8 kB / 442.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002745/0.1663, allocations: 83.75 kB / 442.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.1665, allocations: 24.5 kB / 442.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.1666, allocations: 35.78 kB / 442.3 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.1667, allocations: 39.83 kB / 442.3 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.1667, allocations: 0 / 442.3 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002457/0.167, allocations: 47.98 kB / 442.3 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.1671, allocations: 23.91 kB / 442.4 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.099e-05/0.1672, allocations: 31.8 kB / 442.4 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004494/0.1677, allocations: 119.6 kB / 442.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.1677, allocations: 0 / 442.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1677, allocations: 0 / 442.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.1677, allocations: 0 / 442.5 MB, free: 11.91 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001018/0.1687, allocations: 415 kB / 442.9 MB, free: 11.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.011e-05/0.1688, allocations: 8.031 kB / 442.9 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.06e-05/0.1689, allocations: 8.844 kB / 442.9 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003247/0.1692, allocations: 192.2 kB / 443.1 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.1693, allocations: 8.375 kB / 443.1 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.1693, allocations: 384 / 443.1 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000396/0.1697, allocations: 111.3 kB / 443.2 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.1698, allocations: 0 / 443.2 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.1698, allocations: 7.938 kB / 443.2 MB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.1698, allocations: 0 / 443.2 MB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.1701, allocations: 75.92 kB / 443.3 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007065/0.1709, allocations: 336.7 kB / 443.6 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.1712, allocations: 82.45 kB / 443.7 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.1713, allocations: 36.95 kB / 443.8 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.433e-05/0.1714, allocations: 0 / 443.8 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/0.1715, allocations: 38.56 kB / 443.8 MB, free: 10.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 8.21e-07/0.1715, allocations: 0 / 443.8 MB, free: 10.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001669/0.1731, allocations: 384.9 kB / 444.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.265e-05/0.1732, allocations: 77.11 kB / 444.3 MB, free: 9.977 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.1734, allocations: 142.2 kB / 444.4 MB, free: 9.828 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.1734, allocations: 25.7 kB / 444.4 MB, free: 9.797 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.391e-05/0.1735, allocations: 108 kB / 444.5 MB, free: 9.688 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.1735, allocations: 27.64 kB / 444.5 MB, free: 9.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.278e-05/0.1736, allocations: 21.8 kB / 444.6 MB, free: 9.633 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1737, allocations: 322.8 kB / 444.9 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/0.174, allocations: 75.91 kB / 445 MB, free: 9.234 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.1743, allocations: 93.62 kB / 445 MB, free: 9.137 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005177/0.1748, allocations: 160.7 kB / 445.2 MB, free: 8.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1748, allocations: 384 / 445.2 MB, free: 8.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006077/0.1755, allocations: 189.4 kB / 445.4 MB, free: 8.785 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.1755, allocations: 8 kB / 445.4 MB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1755, allocations: 320 / 445.4 MB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1755, allocations: 4 kB / 445.4 MB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.1757, allocations: 31.97 kB / 445.4 MB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1758, allocations: 0 / 445.4 MB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.1759, allocations: 31.89 kB / 445.5 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.1759, allocations: 3.984 kB / 445.5 MB, free: 8.707 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 (8): * Single equations (assignments): 8 * 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.0001055/0.176, allocations: 133.7 kB / 445.6 MB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.1761, allocations: 7.906 kB / 445.6 MB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006613/0.1768, allocations: 218.1 kB / 445.8 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.1768, allocations: 0 / 445.8 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.1768, allocations: 7.938 kB / 445.8 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1768, allocations: 3.938 kB / 445.8 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008916/0.1777, allocations: 494.3 kB / 446.3 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1777, allocations: 0 / 446.3 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.1779, allocations: 31.97 kB / 446.3 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1779, allocations: 0 / 446.3 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.1779, allocations: 3.938 kB / 446.4 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1779, allocations: 3.938 kB / 446.4 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.178, allocations: 7.984 kB / 446.4 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006293/0.1786, allocations: 295.2 kB / 446.6 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-05/0.1786, allocations: 81.02 kB / 446.7 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.1787, allocations: 15.94 kB / 446.7 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.1789, allocations: 19.97 kB / 446.8 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.681e-05/0.1789, allocations: 7.984 kB / 446.8 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.179, allocations: 4 kB / 446.8 MB, free: 7.297 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.039e-05/0.1791, allocations: 114.9 kB / 446.9 MB, free: 7.188 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1791, allocations: 0 / 446.9 MB, free: 7.188 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.1793, allocations: 32 kB / 446.9 MB, free: 7.156 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 (8): * Single equations (assignments): 8 * 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.001015/0.1804, allocations: 445.3 kB / 447.4 MB, free: 6.746 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006276/0.181, allocations: 163.8 kB / 447.5 MB, free: 6.586 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.181, allocations: 0 / 447.5 MB, free: 6.586 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002917/0.1813, allocations: 91.84 kB / 447.6 MB, free: 6.496 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.1817, allocations: 19.98 kB / 447.6 MB, free: 6.477 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005092/0.1822, allocations: 243.9 kB / 447.9 MB, free: 6.207 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.1825, allocations: 0.7043 MB / 448.6 MB, free: 5.477 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.1826, allocations: 24.41 kB / 448.6 MB, free: 5.453 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.3e-05/0.1827, allocations: 19.44 kB / 448.6 MB, free: 5.434 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1827, allocations: 0 / 448.6 MB, free: 5.434 MB / 382.1 MB Notification: Performance of Templates: time 0.004438/0.1871, allocations: 1.875 MB / 450.5 MB, free: 3.562 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches