Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 99.53 kB / 15.98 MB, free: 6.355 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.001465/0.001465, allocations: 196.4 kB / 16.91 MB, free: 6.195 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.798/1.798, allocations: 205.1 MB / 222.8 MB, free: 4.691 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.465/0.465, allocations: 43.49 MB / 313.6 MB, free: 8.27 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.001643/0.001643, allocations: 74.56 kB / 382.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1505, allocations: 57.79 MB / 440 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test9): time 0.004009/0.1546, allocations: 1.629 MB / 441.6 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006413/0.1552, allocations: 307.5 kB / 441.9 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.832e-05/0.1553, allocations: 0 / 441.9 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006387/0.156, allocations: 451.2 kB / 442.4 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000349/0.1563, allocations: 247.5 kB / 442.6 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.1566, allocations: 103.9 kB / 442.7 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.1569, allocations: 159.6 kB / 442.9 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.922e-05/0.157, allocations: 11.98 kB / 442.9 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.1571, allocations: 115.8 kB / 443 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.1573, allocations: 215.6 kB / 443.2 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.1573, allocations: 4 kB / 443.2 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.524e-05/0.1574, allocations: 19.98 kB / 443.2 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.1575, allocations: 83.67 kB / 443.3 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.62e-05/0.1576, allocations: 99.06 kB / 443.4 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002776/0.1579, allocations: 243 kB / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1579, allocations: 0 / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1579, allocations: 0 / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.1579, allocations: 0 / 443.7 MB, free: 10.84 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008096/0.1588, allocations: 0.6338 MB / 444.3 MB, free: 10.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.1588, allocations: 11.89 kB / 444.3 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.269e-05/0.1589, allocations: 40.47 kB / 444.3 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003227/0.1592, allocations: 296.1 kB / 444.6 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1592, allocations: 384 / 444.6 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.1593, allocations: 8.375 kB / 444.6 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.1594, allocations: 53.75 kB / 444.7 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1595, allocations: 0 / 444.7 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1595, allocations: 0 / 444.7 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1595, allocations: 0 / 444.7 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.1596, allocations: 35.97 kB / 444.7 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006109/0.1602, allocations: 372.8 kB / 445.1 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.1604, allocations: 34.56 kB / 445.1 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.041e-05/0.1605, allocations: 28.88 kB / 445.2 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.1605, allocations: 3.938 kB / 445.2 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.1605, allocations: 30.56 kB / 445.2 MB, free: 9.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1605, allocations: 4 kB / 445.2 MB, free: 9.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004292/0.161, allocations: 117.1 kB / 445.3 MB, free: 9.016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.1611, allocations: 55.41 kB / 445.4 MB, free: 8.949 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008832/0.1619, allocations: 0.8457 MB / 446.2 MB, free: 8.094 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.162, allocations: 29.7 kB / 446.2 MB, free: 8.059 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.1622, allocations: 212.1 kB / 446.4 MB, free: 7.848 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.1622, allocations: 11.81 kB / 446.5 MB, free: 7.836 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/0.1622, allocations: 13.72 kB / 446.5 MB, free: 7.816 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.1624, allocations: 370.7 kB / 446.8 MB, free: 7.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.992e-05/0.1625, allocations: 11.94 kB / 446.8 MB, free: 7.434 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.232e-05/0.1626, allocations: 15.98 kB / 446.9 MB, free: 7.418 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.1627, allocations: 40.77 kB / 446.9 MB, free: 7.375 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1627, allocations: 0 / 446.9 MB, free: 7.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001807/0.1629, allocations: 105.2 kB / 447 MB, free: 7.266 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.1629, allocations: 4 kB / 447 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1629, allocations: 3.984 kB / 447 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.163, allocations: 0 / 447 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.671e-05/0.1631, allocations: 8 kB / 447 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.1631, allocations: 3.938 kB / 447 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.107e-05/0.1631, allocations: 11.92 kB / 447 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.1632, allocations: 3.984 kB / 447 MB, free: 7.23 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 (3): * Single equations (assignments): 3 * 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.0002177/0.1634, allocations: 213.7 kB / 447.2 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.699e-05/0.1634, allocations: 39.44 kB / 447.3 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002549/0.1637, allocations: 129.3 kB / 447.4 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1637, allocations: 0 / 447.4 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1637, allocations: 0 / 447.4 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1637, allocations: 0 / 447.4 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003175/0.1641, allocations: 285.5 kB / 447.7 MB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1641, allocations: 0 / 447.7 MB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.348e-05/0.1641, allocations: 12 kB / 447.7 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1641, allocations: 0 / 447.7 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.1641, allocations: 0 / 447.7 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1642, allocations: 7.938 kB / 447.7 MB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.1642, allocations: 0 / 447.7 MB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.1644, allocations: 202.9 kB / 447.9 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.275e-05/0.1645, allocations: 108.5 kB / 448 MB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.1645, allocations: 4 kB / 448 MB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.285e-05/0.1646, allocations: 11.98 kB / 448 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.1646, allocations: 0 / 448 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.1647, allocations: 4 kB / 448 MB, free: 6.129 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005547/0.1652, allocations: 0.6394 MB / 448.7 MB, free: 5.492 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1652, allocations: 0 / 448.7 MB, free: 5.492 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002334/0.1655, allocations: 20 kB / 448.7 MB, free: 5.473 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 (3): * Single equations (assignments): 3 * 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.0007829/0.1663, allocations: 351.9 kB / 449 MB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001799/0.1664, allocations: 43.84 kB / 449.1 MB, free: 5.109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1665, allocations: 0 / 449.1 MB, free: 5.109 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.307e-05/0.1665, allocations: 23.98 kB / 449.1 MB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.1669, allocations: 25.89 kB / 449.1 MB, free: 5.059 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.1681, allocations: 0.838 MB / 450 MB, free: 4.188 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000557/0.1686, allocations: 0.8182 MB / 450.8 MB, free: 3.344 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.285e-05/0.1687, allocations: 7.984 kB / 450.8 MB, free: 3.336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.1687, allocations: 15.44 kB / 450.8 MB, free: 3.324 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1687, allocations: 0 / 450.8 MB, free: 3.324 MB / 382.1 MB Notification: Performance of Templates: time 0.004593/0.1733, allocations: 1.265 MB / 452.1 MB, free: 2.059 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches