Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.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.CombiTable1Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 99.27 kB / 16.99 MB, free: 6.398 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.001329/0.001329, allocations: 183.8 kB / 17.87 MB, free: 5.957 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.491/1.491, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2427/0.2427, allocations: 44.22 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003196/0.0003195, allocations: 9.25 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.153, allocations: 61.92 MB / 471.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.002223/0.1552, allocations: 1.278 MB / 472.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008442/0.1561, allocations: 363.6 kB / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.949e-05/0.1562, allocations: 0 / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002971/0.1565, allocations: 71.77 kB / 473.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001902/0.1567, allocations: 51.86 kB / 473.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.157, allocations: 78.66 kB / 473.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.1572, allocations: 55.88 kB / 473.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1573, allocations: 12.17 kB / 473.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.681e-05/0.1573, allocations: 27.91 kB / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.1575, allocations: 35.91 kB / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.1575, allocations: 3.938 kB / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.087e-05/0.1576, allocations: 35.91 kB / 473.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.1576, allocations: 15.98 kB / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.339e-05/0.1577, allocations: 37.64 kB / 473.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.1578, allocations: 75.83 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1578, allocations: 0 / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1578, allocations: 0 / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1579, allocations: 0 / 473.6 MB, free: 11.6 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005308/0.1584, allocations: 395.2 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.1584, allocations: 12.56 kB / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.91e-05/0.1585, allocations: 7.906 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.1587, allocations: 190.9 kB / 474.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.1588, allocations: 8 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.1588, allocations: 3.938 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.159, allocations: 53.64 kB / 474.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.159, allocations: 7.906 kB / 474.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.159, allocations: 0 / 474.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.159, allocations: 0 / 474.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.1591, allocations: 39.91 kB / 474.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004707/0.1596, allocations: 288.8 kB / 474.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.1597, allocations: 46.56 kB / 474.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.1598, allocations: 0 / 474.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.1598, allocations: 42.5 kB / 474.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1598, allocations: 0 / 474.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009925/0.1608, allocations: 253.4 kB / 474.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.1609, allocations: 51.41 kB / 474.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.1611, allocations: 210.2 kB / 475.1 MB, free: 9.832 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1611, allocations: 25.7 kB / 475.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.214e-05/0.1612, allocations: 108 kB / 475.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.1613, allocations: 27.64 kB / 475.3 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.1613, allocations: 0 / 475.3 MB, free: 9.664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1614, allocations: 326.8 kB / 475.6 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.275e-05/0.1615, allocations: 23.98 kB / 475.6 MB, free: 9.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.13e-05/0.1616, allocations: 36.06 kB / 475.7 MB, free: 9.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.606e-05/0.1617, allocations: 31.97 kB / 475.7 MB, free: 9.246 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1617, allocations: 0 / 475.7 MB, free: 9.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002153/0.1619, allocations: 113.7 kB / 475.8 MB, free: 9.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.1619, allocations: 8 kB / 475.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.1619, allocations: 0 / 475.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.162, allocations: 0 / 475.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.1621, allocations: 19.98 kB / 475.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.1621, allocations: 4.062 kB / 475.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.461e-05/0.1622, allocations: 7.984 kB / 475.9 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.1622, allocations: 4 kB / 475.9 MB, free: 9.086 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.1623, allocations: 129.8 kB / 476 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.1623, allocations: 19.83 kB / 476 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003084/0.1627, allocations: 122.2 kB / 476.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1627, allocations: 0 / 476.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1627, allocations: 0 / 476.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1627, allocations: 7.984 kB / 476.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000543/0.1632, allocations: 407.2 kB / 476.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1633, allocations: 4 kB / 476.5 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.608e-05/0.1633, allocations: 24.02 kB / 476.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1633, allocations: 0 / 476.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1633, allocations: 4 kB / 476.6 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1634, allocations: 0 / 476.6 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1634, allocations: 4 kB / 476.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.1636, allocations: 225.9 kB / 476.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-05/0.1637, allocations: 92.91 kB / 476.9 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.1638, allocations: 4 kB / 476.9 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.134e-05/0.1638, allocations: 8 kB / 476.9 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.1639, allocations: 11.94 kB / 476.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.1639, allocations: 0 / 476.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.1641, allocations: 159.2 kB / 477.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1641, allocations: 0 / 477.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.1643, allocations: 16 kB / 477.1 MB, free: 7.754 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001149/0.1655, allocations: 460.9 kB / 477.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002274/0.1657, allocations: 75.88 kB / 477.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1657, allocations: 0 / 477.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.692e-05/0.1658, allocations: 47.98 kB / 477.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.1661, allocations: 16.3 kB / 477.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004801/0.1666, allocations: 262.4 kB / 477.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.1669, allocations: 0.7082 MB / 478.6 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.16e-05/0.1669, allocations: 12.66 kB / 478.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.167, allocations: 11.44 kB / 478.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.167, allocations: 0 / 478.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of Templates: time 0.003856/0.1708, allocations: 1.24 MB / 479.9 MB, free: 5.059 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches