Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01062/0.01062, allocations: 100.2 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.001942/0.001942, allocations: 191.8 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.818/1.818, allocations: 205.1 MB / 222.6 MB, free: 4.734 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.4348/0.4348, allocations: 43.5 MB / 313.5 MB, free: 8.281 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.00149/0.001491, allocations: 74.55 kB / 382 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1544, allocations: 57.79 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003588/0.1581, allocations: 1.621 MB / 441.4 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006984/0.1588, allocations: 327.7 kB / 441.8 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.747e-05/0.1588, allocations: 4 kB / 441.8 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000586/0.1594, allocations: 451.2 kB / 442.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002933/0.1598, allocations: 243.5 kB / 442.4 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000475/0.1602, allocations: 135.8 kB / 442.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003755/0.1606, allocations: 155.6 kB / 442.7 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.1608, allocations: 23.95 kB / 442.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.709e-05/0.1609, allocations: 99.8 kB / 442.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002682/0.1611, allocations: 199.6 kB / 443 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.1612, allocations: 4 kB / 443.1 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.754e-05/0.1613, allocations: 20 kB / 443.1 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002333/0.1615, allocations: 91.61 kB / 443.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.892e-05/0.1616, allocations: 95.06 kB / 443.3 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003745/0.162, allocations: 231.3 kB / 443.5 MB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.749e-05/0.162, allocations: 0 / 443.5 MB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.162, allocations: 4 kB / 443.5 MB, free: 10.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.423e-06/0.162, allocations: 3.938 kB / 443.5 MB, free: 10.93 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.0007676/0.1628, allocations: 0.6219 MB / 444.1 MB, free: 10.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.1628, allocations: 16.02 kB / 444.1 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.086e-05/0.1629, allocations: 36.47 kB / 444.2 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.1632, allocations: 292.1 kB / 444.4 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.1632, allocations: 12.36 kB / 444.5 MB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.1633, allocations: 384 / 444.5 MB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.1634, allocations: 57.75 kB / 444.5 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1635, allocations: 4 kB / 444.5 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.1635, allocations: 0 / 444.5 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1635, allocations: 0 / 444.5 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.112e-05/0.1636, allocations: 27.98 kB / 444.5 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005406/0.1641, allocations: 380.7 kB / 444.9 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.49e-05/0.1642, allocations: 38.5 kB / 445 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.308e-05/0.1643, allocations: 20.91 kB / 445 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.1643, allocations: 0 / 445 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.1644, allocations: 30.56 kB / 445 MB, free: 9.246 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.1644, allocations: 0 / 445 MB, free: 9.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003104/0.1647, allocations: 97.2 kB / 445.1 MB, free: 9.145 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.1648, allocations: 59.53 kB / 445.2 MB, free: 9.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.1659, allocations: 0.8613 MB / 446 MB, free: 8.203 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1659, allocations: 25.7 kB / 446 MB, free: 8.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.1661, allocations: 216.1 kB / 446.3 MB, free: 7.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.1661, allocations: 7.906 kB / 446.3 MB, free: 7.949 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/0.1662, allocations: 13.72 kB / 446.3 MB, free: 7.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.1664, allocations: 366.7 kB / 446.6 MB, free: 7.562 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.171e-05/0.1664, allocations: 4 kB / 446.6 MB, free: 7.559 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.1666, allocations: 19.98 kB / 446.7 MB, free: 7.539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.899e-05/0.1667, allocations: 24.84 kB / 446.7 MB, free: 7.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1667, allocations: 0 / 446.7 MB, free: 7.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001486/0.1668, allocations: 89.12 kB / 446.8 MB, free: 7.418 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.1669, allocations: 8 kB / 446.8 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.1669, allocations: 0 / 446.8 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1669, allocations: 3.938 kB / 446.8 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.079e-05/0.167, allocations: 12.08 kB / 446.8 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.167, allocations: 0 / 446.8 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.119e-05/0.1671, allocations: 4 kB / 446.8 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.872e-06/0.1671, allocations: 0 / 446.8 MB, free: 7.391 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 (2): * Single equations (assignments): 2 * 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.0001897/0.1673, allocations: 217.7 kB / 447 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.068e-05/0.1673, allocations: 43.38 kB / 447.1 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/0.1675, allocations: 108.6 kB / 447.2 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1676, allocations: 4.031 kB / 447.2 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.1676, allocations: 7.938 kB / 447.2 MB, free: 7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1676, allocations: 0 / 447.2 MB, free: 7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.1679, allocations: 281.5 kB / 447.4 MB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1679, allocations: 0 / 447.4 MB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.46e-05/0.1679, allocations: 11.92 kB / 447.5 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1679, allocations: 0 / 447.5 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.1679, allocations: 0 / 447.5 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1679, allocations: 4 kB / 447.5 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.168, allocations: 0 / 447.5 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.1682, allocations: 187 kB / 447.6 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.079e-05/0.1682, allocations: 112.5 kB / 447.8 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.1683, allocations: 8 kB / 447.8 MB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.337e-05/0.1683, allocations: 0 / 447.8 MB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.1684, allocations: 3.984 kB / 447.8 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.1684, allocations: 4 kB / 447.8 MB, free: 6.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000665/0.1691, allocations: 0.6511 MB / 448.4 MB, free: 5.668 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1691, allocations: 4.031 kB / 448.4 MB, free: 5.664 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000237/0.1693, allocations: 12 kB / 448.4 MB, free: 5.652 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 (2): * Single equations (assignments): 2 * 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.0008534/0.1702, allocations: 359.2 kB / 448.8 MB, free: 5.328 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001517/0.1703, allocations: 31.91 kB / 448.8 MB, free: 5.297 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1704, allocations: 0 / 448.8 MB, free: 5.297 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.669e-05/0.1704, allocations: 12 kB / 448.8 MB, free: 5.285 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.1709, allocations: 25.95 kB / 448.9 MB, free: 5.258 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.1722, allocations: 0.8354 MB / 449.7 MB, free: 4.387 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006018/0.1728, allocations: 0.8224 MB / 450.5 MB, free: 3.539 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.345e-05/0.1729, allocations: 7.984 kB / 450.5 MB, free: 3.531 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.1729, allocations: 11.44 kB / 450.5 MB, free: 3.523 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1729, allocations: 0 / 450.5 MB, free: 3.523 MB / 382.1 MB Notification: Performance of Templates: time 0.004898/0.1778, allocations: 1.218 MB / 451.7 MB, free: 2.305 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches