Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00814/0.00814, allocations: 100.3 kB / 15.87 MB, free: 6.309 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.001451/0.001451, allocations: 192.9 kB / 16.79 MB, free: 6.238 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.825/1.825, allocations: 205.1 MB / 222.6 MB, free: 4.738 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.3778/0.3778, allocations: 43.5 MB / 313.5 MB, free: 8.258 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.001708/0.001708, allocations: 63.89 kB / 382 MB, free: 8.504 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1552, allocations: 57.79 MB / 439.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003534/0.1588, allocations: 1.672 MB / 441.5 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008156/0.1597, allocations: 339.6 kB / 441.8 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.185e-05/0.1597, allocations: 3.938 kB / 441.8 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003118/0.16, allocations: 71.83 kB / 441.9 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000155/0.1602, allocations: 55.83 kB / 442 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.1606, allocations: 139.8 kB / 442.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.1608, allocations: 83.73 kB / 442.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.1609, allocations: 20.27 kB / 442.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.991e-05/0.161, allocations: 35.84 kB / 442.2 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.1611, allocations: 47.88 kB / 442.3 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.1611, allocations: 3.938 kB / 442.3 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.484e-05/0.1612, allocations: 31.92 kB / 442.3 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.133e-05/0.1613, allocations: 19.92 kB / 442.3 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.243e-05/0.1614, allocations: 35.8 kB / 442.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.1616, allocations: 99.64 kB / 442.5 MB, free: 11.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.1616, allocations: 0 / 442.5 MB, free: 11.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1616, allocations: 0 / 442.5 MB, free: 11.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.1616, allocations: 0 / 442.5 MB, free: 11.95 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.0005545/0.1622, allocations: 407 kB / 442.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.1622, allocations: 8.031 kB / 442.9 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.1623, allocations: 8.844 kB / 442.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.1625, allocations: 204 kB / 443.1 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1625, allocations: 4.375 kB / 443.1 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.912e-05/0.1626, allocations: 4.375 kB / 443.1 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.1627, allocations: 61.8 kB / 443.1 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1628, allocations: 0 / 443.1 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1628, allocations: 0 / 443.1 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.1628, allocations: 4 kB / 443.1 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.1629, allocations: 39.95 kB / 443.2 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.1634, allocations: 316.6 kB / 443.5 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.1636, allocations: 50.55 kB / 443.5 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.589e-05/0.1636, allocations: 24.94 kB / 443.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.1637, allocations: 0 / 443.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.1637, allocations: 34.56 kB / 443.6 MB, free: 10.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.1637, allocations: 0 / 443.6 MB, free: 10.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008198/0.1646, allocations: 229.4 kB / 443.8 MB, free: 10.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.1646, allocations: 55.41 kB / 443.9 MB, free: 10.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.1648, allocations: 203.3 kB / 444.1 MB, free: 10.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.1648, allocations: 25.7 kB / 444.1 MB, free: 10.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.165, allocations: 116 kB / 444.2 MB, free: 9.984 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.165, allocations: 11.72 kB / 444.2 MB, free: 9.973 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.1651, allocations: 25.7 kB / 444.3 MB, free: 9.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002336/0.1653, allocations: 330.8 kB / 444.6 MB, free: 9.609 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.1655, allocations: 39.91 kB / 444.6 MB, free: 9.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.1656, allocations: 39.91 kB / 444.7 MB, free: 9.531 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.1659, allocations: 92.73 kB / 444.7 MB, free: 9.438 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1659, allocations: 0 / 444.7 MB, free: 9.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003162/0.1662, allocations: 129.5 kB / 444.9 MB, free: 9.305 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.1662, allocations: 4 kB / 444.9 MB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1662, allocations: 48 / 444.9 MB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1662, allocations: 3.984 kB / 444.9 MB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.1664, allocations: 23.92 kB / 444.9 MB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1664, allocations: 0 / 444.9 MB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.838e-05/0.1664, allocations: 15.92 kB / 444.9 MB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1665, allocations: 0 / 444.9 MB, free: 9.258 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.0001173/0.1666, allocations: 137.8 kB / 445.1 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.1666, allocations: 7.906 kB / 445.1 MB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003434/0.167, allocations: 151.2 kB / 445.2 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.167, allocations: 0 / 445.2 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/0.167, allocations: 0 / 445.2 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.167, allocations: 3.938 kB / 445.2 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005577/0.1676, allocations: 418.4 kB / 445.6 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1676, allocations: 0 / 445.6 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.903e-05/0.1677, allocations: 19.98 kB / 445.6 MB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1677, allocations: 0 / 445.6 MB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.1677, allocations: 7.922 kB / 445.6 MB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1677, allocations: 0 / 445.6 MB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1677, allocations: 4 kB / 445.7 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003993/0.1681, allocations: 223.3 kB / 445.9 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-05/0.1682, allocations: 81.02 kB / 446 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.1682, allocations: 3.938 kB / 446 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-05/0.1683, allocations: 11.98 kB / 446 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/0.1684, allocations: 12 kB / 446 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.1684, allocations: 0 / 446 MB, free: 8.094 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.1685, allocations: 156.9 kB / 446.1 MB, free: 7.941 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1685, allocations: 0 / 446.1 MB, free: 7.941 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002436/0.1688, allocations: 23.98 kB / 446.2 MB, free: 7.918 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.0009342/0.1697, allocations: 413.9 kB / 446.6 MB, free: 7.547 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003124/0.17, allocations: 95.86 kB / 446.7 MB, free: 7.453 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.17, allocations: 4 kB / 446.7 MB, free: 7.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.1702, allocations: 43.97 kB / 446.7 MB, free: 7.406 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.1705, allocations: 11.98 kB / 446.7 MB, free: 7.395 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005139/0.1711, allocations: 288.6 kB / 447 MB, free: 7.086 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.1714, allocations: 0.7159 MB / 447.7 MB, free: 6.344 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.954e-05/0.1714, allocations: 28.27 kB / 447.7 MB, free: 6.316 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.1715, allocations: 15.44 kB / 447.8 MB, free: 6.301 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1715, allocations: 0 / 447.8 MB, free: 6.301 MB / 382.1 MB Notification: Performance of Templates: time 0.004362/0.1759, allocations: 1.202 MB / 449 MB, free: 5.098 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches