Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007417/0.007417, allocations: 100.4 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.001285/0.001285, allocations: 195.6 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.782/1.782, allocations: 205.1 MB / 222.6 MB, free: 4.754 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.4599/0.4599, 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.001358/0.001358, allocations: 66.56 kB / 382 MB, free: 8.496 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1553, allocations: 57.79 MB / 439.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003587/0.1589, allocations: 1.618 MB / 441.4 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006417/0.1596, allocations: 315.7 kB / 441.7 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.577e-05/0.1597, allocations: 0 / 441.7 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003089/0.16, allocations: 87.81 kB / 441.8 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001514/0.1602, allocations: 67.78 kB / 441.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.1604, allocations: 63.92 kB / 442 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.1605, allocations: 63.78 kB / 442 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.1606, allocations: 23.97 kB / 442 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.269e-05/0.1607, allocations: 31.89 kB / 442.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.361e-05/0.1608, allocations: 43.84 kB / 442.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.1608, allocations: 3.938 kB / 442.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.521e-05/0.1609, allocations: 35.97 kB / 442.2 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.221e-05/0.161, allocations: 19.92 kB / 442.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.592e-05/0.161, allocations: 31.69 kB / 442.2 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.1612, allocations: 95.92 kB / 442.3 MB, free: 12.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1612, allocations: 0 / 442.3 MB, free: 12.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1612, allocations: 0 / 442.3 MB, free: 12.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.1612, allocations: 4 kB / 442.3 MB, free: 12.09 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.0004946/0.1617, allocations: 403 kB / 442.7 MB, free: 11.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1618, allocations: 8.031 kB / 442.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.1618, allocations: 8.844 kB / 442.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.1621, allocations: 196.7 kB / 442.9 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.1621, allocations: 4.375 kB / 442.9 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.1621, allocations: 4.375 kB / 442.9 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.1622, allocations: 49.75 kB / 443 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1623, allocations: 4 kB / 443 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.1623, allocations: 3.984 kB / 443 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.1623, allocations: 4 kB / 443 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.718e-05/0.1624, allocations: 19.98 kB / 443 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.1628, allocations: 284.8 kB / 443.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.163, allocations: 50.5 kB / 443.3 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.309e-05/0.1631, allocations: 16.94 kB / 443.3 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.1631, allocations: 4 kB / 443.3 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.1632, allocations: 34.55 kB / 443.4 MB, free: 10.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.1632, allocations: 0 / 443.4 MB, free: 10.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005846/0.1638, allocations: 145.2 kB / 443.5 MB, free: 10.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.1638, allocations: 51.41 kB / 443.6 MB, free: 10.65 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.164, allocations: 231 kB / 443.8 MB, free: 10.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.164, allocations: 25.7 kB / 443.8 MB, free: 10.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.786e-05/0.1641, allocations: 108 kB / 443.9 MB, free: 10.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.1642, allocations: 15.75 kB / 443.9 MB, free: 10.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.1642, allocations: 17.72 kB / 444 MB, free: 10.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1644, allocations: 326.8 kB / 444.3 MB, free: 9.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.74e-05/0.1644, allocations: 19.98 kB / 444.3 MB, free: 9.887 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.575e-05/0.1645, allocations: 19.98 kB / 444.3 MB, free: 9.867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.1647, allocations: 45.02 kB / 444.4 MB, free: 9.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1647, allocations: 4 kB / 444.4 MB, free: 9.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001722/0.1649, allocations: 85.52 kB / 444.4 MB, free: 9.727 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1649, allocations: 4 kB / 444.5 MB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1649, allocations: 4 kB / 444.5 MB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.1649, allocations: 0 / 444.5 MB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.986e-05/0.165, allocations: 15.98 kB / 444.5 MB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.165, allocations: 3.938 kB / 444.5 MB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.878e-05/0.1651, allocations: 4 kB / 444.5 MB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1651, allocations: 3.984 kB / 444.5 MB, free: 9.691 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 (5): * Single equations (assignments): 5 * 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.0001867/0.1653, allocations: 129.8 kB / 444.6 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.1653, allocations: 11.81 kB / 444.6 MB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/0.1655, allocations: 106.6 kB / 444.7 MB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1656, allocations: 0 / 444.7 MB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1656, allocations: 0 / 444.7 MB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1656, allocations: 0 / 444.7 MB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004823/0.1661, allocations: 346.5 kB / 445.1 MB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.1661, allocations: 3.984 kB / 445.1 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.003e-05/0.1661, allocations: 19.94 kB / 445.1 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1661, allocations: 0 / 445.1 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1662, allocations: 0 / 445.1 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1662, allocations: 3.938 kB / 445.1 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1662, allocations: 0 / 445.1 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.1664, allocations: 183.6 kB / 445.3 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/0.1664, allocations: 81.02 kB / 445.3 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.868e-05/0.1665, allocations: 8 kB / 445.4 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-05/0.1665, allocations: 11.92 kB / 445.4 MB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.1666, allocations: 7.938 kB / 445.4 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.1666, allocations: 0 / 445.4 MB, free: 8.684 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001439/0.1667, allocations: 171.2 kB / 445.5 MB, free: 8.516 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1668, allocations: 0 / 445.5 MB, free: 8.516 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002368/0.167, allocations: 15.98 kB / 445.6 MB, free: 8.5 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 (5): * Single equations (assignments): 5 * 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.0009558/0.168, allocations: 412.2 kB / 446 MB, free: 8.129 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.1682, allocations: 47.97 kB / 446 MB, free: 8.082 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1682, allocations: 0 / 446 MB, free: 8.082 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.929e-05/0.1682, allocations: 23.98 kB / 446 MB, free: 8.059 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.1686, allocations: 15.89 kB / 446 MB, free: 8.043 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005412/0.1692, allocations: 264.2 kB / 446.3 MB, free: 7.758 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.1696, allocations: 0.7043 MB / 447 MB, free: 7.027 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.906e-05/0.1696, allocations: 4 kB / 447 MB, free: 7.023 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.888e-05/0.1697, allocations: 15.44 kB / 447 MB, free: 7.008 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1697, allocations: 0 / 447 MB, free: 7.008 MB / 382.1 MB Notification: Performance of Templates: time 0.003696/0.1734, allocations: 1.069 MB / 448.1 MB, free: 5.938 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches