Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 99.88 kB / 16.99 MB, free: 5.938 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.001755/0.001755, allocations: 181.5 kB / 17.87 MB, free: 5.594 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.512/1.512, allocations: 223.2 MB / 241.8 MB, free: 14.66 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.2221/0.2221, allocations: 44.22 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004647/0.0004648, allocations: 12.75 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1662, allocations: 61.92 MB / 471.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002551/0.1688, allocations: 1.255 MB / 472.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000788/0.1696, allocations: 363.6 kB / 473.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.175e-05/0.1697, allocations: 0 / 473.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.1699, allocations: 15.88 kB / 473.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001605/0.1701, allocations: 31.89 kB / 473.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.1703, allocations: 79.41 kB / 473.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.1705, allocations: 35.91 kB / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1706, allocations: 19.97 kB / 473.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.147e-05/0.1706, allocations: 11.94 kB / 473.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.354e-05/0.1707, allocations: 15.92 kB / 473.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.1707, allocations: 4 kB / 473.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.246e-05/0.1708, allocations: 19.94 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.852e-05/0.1709, allocations: 11.97 kB / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.302e-05/0.1709, allocations: 37.64 kB / 473.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.171, allocations: 55.86 kB / 473.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.171, allocations: 0 / 473.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.171, allocations: 0 / 473.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.137e-06/0.1711, allocations: 0 / 473.4 MB, free: 11.78 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.0005273/0.1716, allocations: 375.4 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1716, allocations: 12.56 kB / 473.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.1717, allocations: 7.906 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.1719, allocations: 179 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1719, allocations: 0 / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.172, allocations: 7.938 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.1721, allocations: 53.62 kB / 474 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1721, allocations: 0 / 474 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.1722, allocations: 4 kB / 474 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1722, allocations: 7.984 kB / 474 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.445e-05/0.1723, allocations: 23.98 kB / 474 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004274/0.1727, allocations: 272.9 kB / 474.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.1729, allocations: 50.5 kB / 474.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.173, allocations: 0 / 474.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.173, allocations: 30.56 kB / 474.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.173, allocations: 4 kB / 474.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006098/0.1736, allocations: 157.3 kB / 474.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.1737, allocations: 55.34 kB / 474.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.1739, allocations: 156.3 kB / 474.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.1739, allocations: 25.7 kB / 474.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.865e-05/0.1739, allocations: 96.12 kB / 474.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.174, allocations: 19.72 kB / 474.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-06/0.174, allocations: 4 kB / 474.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.1742, allocations: 326.7 kB / 475.2 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.998e-05/0.1743, allocations: 23.98 kB / 475.2 MB, free: 9.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.22e-05/0.1744, allocations: 15.98 kB / 475.3 MB, free: 9.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.212e-05/0.1744, allocations: 36.17 kB / 475.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1745, allocations: 0 / 475.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001732/0.1746, allocations: 89.52 kB / 475.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1747, allocations: 4 kB / 475.4 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1747, allocations: 0 / 475.4 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.1747, allocations: 0 / 475.4 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.467e-05/0.1748, allocations: 19.98 kB / 475.4 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.1748, allocations: 0 / 475.4 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.922e-05/0.1748, allocations: 4 kB / 475.4 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.1748, allocations: 4 kB / 475.4 MB, free: 9.543 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 (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 8.353e-05/0.1749, allocations: 121.7 kB / 475.5 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.175, allocations: 11.89 kB / 475.5 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002228/0.1752, allocations: 105.9 kB / 475.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.1752, allocations: 0 / 475.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1752, allocations: 0 / 475.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1752, allocations: 0 / 475.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003988/0.1756, allocations: 354.5 kB / 476 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1756, allocations: 0 / 476 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.886e-05/0.1757, allocations: 19.92 kB / 476 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1757, allocations: 0 / 476 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.1757, allocations: 0 / 476 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1757, allocations: 0 / 476 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1757, allocations: 0 / 476 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.1759, allocations: 187.6 kB / 476.2 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-05/0.176, allocations: 93 kB / 476.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.176, allocations: 0 / 476.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.1761, allocations: 11.94 kB / 476.3 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.1762, allocations: 11.98 kB / 476.3 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.1762, allocations: 0 / 476.3 MB, free: 8.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.109e-05/0.1763, allocations: 117.3 kB / 476.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1763, allocations: 0 / 476.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.1765, allocations: 16 kB / 476.4 MB, free: 8.41 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 (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.0009265/0.1774, allocations: 404.3 kB / 476.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002021/0.1776, allocations: 51.97 kB / 476.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1777, allocations: 0 / 476.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.271e-05/0.1777, allocations: 28.11 kB / 476.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.178, allocations: 20.06 kB / 476.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.1784, allocations: 200.5 kB / 477.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.1787, allocations: 0.7043 MB / 477.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.026e-05/0.1787, allocations: 7.984 kB / 477.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.1788, allocations: 15.44 kB / 477.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1788, allocations: 0 / 477.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of Templates: time 0.003715/0.1825, allocations: 0.9945 MB / 478.8 MB, free: 6.102 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches