Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.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.CombiTable1D.Test15,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.CombiTable1D.Test15") translateModel(ModelicaTest.Tables.CombiTable1D.Test15,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.CombiTable1D.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008105/0.0008105, allocations: 96.7 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008889/0.000889, allocations: 174.8 kB / 16.58 MB, free: 5.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.142/2.142, allocations: 205.4 MB / 222.7 MB, free: 5.598 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.5113/0.5113, allocations: 43.57 MB / 314.6 MB, free: 8.77 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.0006533/0.0006534, allocations: 20 kB / 384 MB, free: 7.984 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1572, allocations: 58.86 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test15): time 0.002168/0.1595, allocations: 1.26 MB / 444.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006023/0.1601, allocations: 291.9 kB / 444.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.272e-05/0.1602, allocations: 0 / 444.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.1605, allocations: 79.83 kB / 444.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.1607, allocations: 51.81 kB / 444.5 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.161, allocations: 83.91 kB / 444.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.1612, allocations: 63.81 kB / 444.6 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.1613, allocations: 19.91 kB / 444.7 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.839e-05/0.1614, allocations: 27.86 kB / 444.7 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.1615, allocations: 43.88 kB / 444.7 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.1615, allocations: 0 / 444.7 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.838e-05/0.1616, allocations: 24 kB / 444.7 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.527e-05/0.1616, allocations: 15.91 kB / 444.8 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.398e-05/0.1617, allocations: 37.64 kB / 444.8 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.1618, allocations: 68.12 kB / 444.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.1619, allocations: 0 / 444.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1619, allocations: 3.938 kB / 444.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.1619, allocations: 0 / 444.9 MB, free: 10.95 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.0005195/0.1624, allocations: 391 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.1624, allocations: 12.02 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.1625, allocations: 15.86 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.1627, allocations: 194.8 kB / 445.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.1627, allocations: 0 / 445.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.1628, allocations: 4 kB / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.1629, allocations: 53.67 kB / 445.5 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1629, allocations: 0 / 445.5 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.163, allocations: 0 / 445.5 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.163, allocations: 4 kB / 445.5 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.1631, allocations: 35.92 kB / 445.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004127/0.1635, allocations: 280.9 kB / 445.8 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.1637, allocations: 54.55 kB / 445.9 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.888e-05/0.1638, allocations: 12.86 kB / 445.9 MB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.1638, allocations: 0 / 445.9 MB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.1639, allocations: 42.64 kB / 445.9 MB, free: 9.703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.1639, allocations: 0 / 445.9 MB, free: 9.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005886/0.1645, allocations: 177.1 kB / 446.1 MB, free: 9.523 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.1645, allocations: 51.41 kB / 446.2 MB, free: 9.461 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.1647, allocations: 202.2 kB / 446.4 MB, free: 9.254 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.1647, allocations: 29.7 kB / 446.4 MB, free: 9.219 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.915e-05/0.1648, allocations: 100.1 kB / 446.5 MB, free: 9.117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.1648, allocations: 19.7 kB / 446.5 MB, free: 9.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.1648, allocations: 7.938 kB / 446.5 MB, free: 9.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.165, allocations: 314.8 kB / 446.8 MB, free: 8.773 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.353e-05/0.1651, allocations: 31.91 kB / 446.9 MB, free: 8.742 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.153e-05/0.1651, allocations: 27.98 kB / 446.9 MB, free: 8.715 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.119e-05/0.1652, allocations: 27.98 kB / 446.9 MB, free: 8.688 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1652, allocations: 0 / 446.9 MB, free: 8.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001898/0.1654, allocations: 89.58 kB / 447 MB, free: 8.594 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1655, allocations: 15.94 kB / 447 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1655, allocations: 3.938 kB / 447 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1655, allocations: 0 / 447 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.109e-05/0.1656, allocations: 16 kB / 447 MB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1656, allocations: 0 / 447 MB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.145e-05/0.1656, allocations: 11.98 kB / 447 MB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.1656, allocations: 0 / 447 MB, free: 8.547 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.746e-05/0.1657, allocations: 133.8 kB / 447.2 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.1658, allocations: 7.906 kB / 447.2 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002508/0.166, allocations: 113.8 kB / 447.3 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.166, allocations: 0 / 447.3 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.166, allocations: 0 / 447.3 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1661, allocations: 0 / 447.3 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004647/0.1665, allocations: 374.5 kB / 447.7 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1665, allocations: 384 / 447.7 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.583e-05/0.1666, allocations: 15.95 kB / 447.7 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1666, allocations: 0 / 447.7 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.1666, allocations: 8 kB / 447.7 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1666, allocations: 0 / 447.7 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1666, allocations: 0 / 447.7 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.1669, allocations: 195.3 kB / 447.9 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/0.167, allocations: 92.94 kB / 448 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.167, allocations: 7.953 kB / 448 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.335e-05/0.1671, allocations: 4 kB / 448 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.1671, allocations: 7.984 kB / 448 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-06/0.1671, allocations: 0 / 448 MB, free: 7.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001523/0.1673, allocations: 164 kB / 448.1 MB, free: 7.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1673, allocations: 0 / 448.1 MB, free: 7.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.1675, allocations: 16 kB / 448.2 MB, free: 7.324 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 (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.0009972/0.1685, allocations: 417.8 kB / 448.6 MB, free: 6.949 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002069/0.1688, allocations: 51.97 kB / 448.6 MB, free: 6.898 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1688, allocations: 0 / 448.6 MB, free: 6.898 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.216e-05/0.1689, allocations: 43.91 kB / 448.7 MB, free: 6.855 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.1692, allocations: 12 kB / 448.7 MB, free: 6.844 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005007/0.1697, allocations: 233.2 kB / 448.9 MB, free: 6.582 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.1701, allocations: 0.7043 MB / 449.6 MB, free: 5.852 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.345e-05/0.1702, allocations: 11.98 kB / 449.6 MB, free: 5.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/0.1702, allocations: 15.38 kB / 449.6 MB, free: 5.824 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1702, allocations: 0 / 449.6 MB, free: 5.824 MB / 382.1 MB Notification: Performance of Templates: time 0.004078/0.1743, allocations: 1.041 MB / 450.7 MB, free: 4.781 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test15/Test15.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches