Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_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.0009373/0.0009379, allocations: 93.47 kB / 17.35 MB, free: 6.375 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.001222/0.001222, allocations: 175.7 kB / 18.25 MB, free: 5.523 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.482/1.482, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.2102/0.2102, allocations: 44.25 MB / 337.7 MB, free: 2.426 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003566, allocations: 12 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1569, allocations: 61.92 MB / 472.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002332/0.1593, allocations: 1.294 MB / 473.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009789/0.1603, allocations: 419.4 kB / 474 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.179e-05/0.1604, allocations: 0 / 474 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000736/0.1612, allocations: 451.2 kB / 474.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004374/0.1616, allocations: 243.5 kB / 474.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005622/0.1622, allocations: 158.4 kB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003839/0.1626, allocations: 147.8 kB / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.1628, allocations: 19.98 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.163, allocations: 99.67 kB / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003277/0.1633, allocations: 195.7 kB / 475.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.1634, allocations: 0 / 475.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.1635, allocations: 27.92 kB / 475.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.1636, allocations: 87.67 kB / 475.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.1638, allocations: 124.7 kB / 475.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004288/0.1643, allocations: 227 kB / 475.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.1643, allocations: 0 / 475.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.1643, allocations: 0 / 475.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.814e-05/0.1643, allocations: 0 / 475.7 MB, free: 9.863 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001086/0.1654, allocations: 0.5819 MB / 476.3 MB, free: 9.234 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.528e-05/0.1655, allocations: 12.03 kB / 476.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.1656, allocations: 36.47 kB / 476.3 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.166, allocations: 300.1 kB / 476.6 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.1661, allocations: 8.312 kB / 476.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.1661, allocations: 4.375 kB / 476.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.1663, allocations: 49.81 kB / 476.7 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.1663, allocations: 3.984 kB / 476.7 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.1664, allocations: 4 kB / 476.7 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.1664, allocations: 0 / 476.7 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.1665, allocations: 35.92 kB / 476.7 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006674/0.1672, allocations: 384.7 kB / 477.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.1673, allocations: 38.62 kB / 477.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.434e-05/0.1674, allocations: 20.84 kB / 477.2 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.1674, allocations: 0 / 477.2 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.1674, allocations: 34.56 kB / 477.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 3.226e-06/0.1674, allocations: 0 / 477.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003276/0.1678, allocations: 105.1 kB / 477.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.1678, allocations: 55.53 kB / 477.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009953/0.1688, allocations: 0.8613 MB / 478.2 MB, free: 7.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.1689, allocations: 25.7 kB / 478.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.1691, allocations: 224 kB / 478.5 MB, free: 6.906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.1691, allocations: 3.906 kB / 478.5 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.1691, allocations: 9.719 kB / 478.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.1693, allocations: 366.7 kB / 478.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.671e-05/0.1694, allocations: 8 kB / 478.8 MB, free: 6.512 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.691e-05/0.1694, allocations: 15.98 kB / 478.8 MB, free: 6.496 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.1695, allocations: 40.78 kB / 478.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1696, allocations: 0 / 478.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000155/0.1697, allocations: 97.19 kB / 479 MB, free: 6.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.1697, allocations: 4 kB / 479 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1698, allocations: 0 / 479 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1698, allocations: 0 / 479 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.823e-05/0.1699, allocations: 11.98 kB / 479 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.1699, allocations: 0 / 479 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.309e-05/0.1699, allocations: 4 kB / 479 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.1699, allocations: 0 / 479 MB, free: 6.332 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 (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.0002005/0.1701, allocations: 213.7 kB / 479.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.099e-05/0.1702, allocations: 43.47 kB / 479.3 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.1704, allocations: 116.5 kB / 479.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.1705, allocations: 0 / 479.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.1705, allocations: 0 / 479.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1705, allocations: 4 kB / 479.4 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.1708, allocations: 281.5 kB / 479.6 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1708, allocations: 0 / 479.6 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.035e-05/0.1708, allocations: 16.02 kB / 479.7 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.1708, allocations: 3.938 kB / 479.7 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.1708, allocations: 4 kB / 479.7 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1709, allocations: 0 / 479.7 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1709, allocations: 0 / 479.7 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.1711, allocations: 187 kB / 479.9 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.559e-05/0.1712, allocations: 128.5 kB / 480 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.1712, allocations: 0 / 480 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.997e-05/0.1713, allocations: 4 kB / 480 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.1713, allocations: 0 / 480 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.1713, allocations: 0 / 480 MB, free: 5.246 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007303/0.1721, allocations: 0.6511 MB / 480.6 MB, free: 4.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1721, allocations: 3.938 kB / 480.6 MB, free: 4.594 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.1723, allocations: 20 kB / 480.7 MB, free: 4.574 MB / 350.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.0008902/0.1732, allocations: 350.2 kB / 481 MB, free: 4.352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001511/0.1734, allocations: 31.98 kB / 481 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1734, allocations: 0 / 481 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.076e-05/0.1735, allocations: 19.92 kB / 481 MB, free: 4.301 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.1739, allocations: 20.62 kB / 481.1 MB, free: 4.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.1752, allocations: 0.8445 MB / 481.9 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/0.1757, allocations: 0.8224 MB / 482.7 MB, free: 2.562 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.887e-05/0.1758, allocations: 15.97 kB / 482.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.296e-05/0.1758, allocations: 11.44 kB / 482.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1758, allocations: 3.938 kB / 482.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of Templates: time 0.005175/0.181, allocations: 1.165 MB / 483.9 MB, free: 1.371 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches