Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.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.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009063/0.0009065, allocations: 102.6 kB / 16.02 MB, free: 76 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.000959/0.0009589, allocations: 184.5 kB / 16.92 MB, free: 6.918 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.022/2.022, allocations: 205.4 MB / 223.1 MB, free: 5.777 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.4935/0.4935, allocations: 43.57 MB / 315 MB, free: 8.711 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.0005596/0.0005598, allocations: 12.33 kB / 384.6 MB, free: 7.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1575, allocations: 58.86 MB / 443.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.002264/0.1599, allocations: 1.337 MB / 444.8 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.1614, allocations: 0.9299 MB / 445.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.174e-05/0.1614, allocations: 0 / 445.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002567/0.1617, allocations: 23.91 kB / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.1619, allocations: 35.84 kB / 445.8 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/0.1623, allocations: 147.8 kB / 445.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.1624, allocations: 63.83 kB / 446 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.1626, allocations: 16.27 kB / 446 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.415e-05/0.1627, allocations: 19.86 kB / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.1628, allocations: 31.84 kB / 446 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.1629, allocations: 4 kB / 446 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.163, allocations: 51.97 kB / 446.1 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.104e-05/0.1631, allocations: 15.92 kB / 446.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.81e-05/0.1631, allocations: 45.56 kB / 446.2 MB, free: 9.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.1633, allocations: 95.64 kB / 446.2 MB, free: 9.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1633, allocations: 0 / 446.2 MB, free: 9.867 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1634, allocations: 0 / 446.2 MB, free: 9.867 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1634, allocations: 0 / 446.2 MB, free: 9.867 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006161/0.164, allocations: 395.2 kB / 446.6 MB, free: 9.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.164, allocations: 11.97 kB / 446.6 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.1641, allocations: 12.83 kB / 446.7 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.1643, allocations: 180.3 kB / 446.8 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.1643, allocations: 384 / 446.8 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.1644, allocations: 4.375 kB / 446.8 MB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.1646, allocations: 87.5 kB / 446.9 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1646, allocations: 0 / 446.9 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.1647, allocations: 4 kB / 446.9 MB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.1647, allocations: 3.938 kB / 446.9 MB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.1648, allocations: 43.97 kB / 447 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005033/0.1654, allocations: 308.7 kB / 447.3 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.1655, allocations: 50.56 kB / 447.3 MB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.617e-05/0.1656, allocations: 40.86 kB / 447.4 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.1656, allocations: 3.938 kB / 447.4 MB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.1657, allocations: 30.56 kB / 447.4 MB, free: 8.547 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.532e-06/0.1657, allocations: 0 / 447.4 MB, free: 8.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008552/0.1665, allocations: 265.4 kB / 447.7 MB, free: 8.281 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.1666, allocations: 77.11 kB / 447.7 MB, free: 8.188 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.1668, allocations: 137.6 kB / 447.9 MB, free: 8.047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1668, allocations: 29.7 kB / 447.9 MB, free: 8.012 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.796e-05/0.1669, allocations: 84.14 kB / 448 MB, free: 7.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.1669, allocations: 27.64 kB / 448 MB, free: 7.898 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/0.1669, allocations: 17.72 kB / 448 MB, free: 7.875 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1671, allocations: 322.8 kB / 448.3 MB, free: 7.551 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.1672, allocations: 43.97 kB / 448.4 MB, free: 7.508 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.1673, allocations: 65.75 kB / 448.4 MB, free: 7.438 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.1676, allocations: 108.9 kB / 448.5 MB, free: 7.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1676, allocations: 0 / 448.5 MB, free: 7.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002983/0.1679, allocations: 145.5 kB / 448.7 MB, free: 7.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.1679, allocations: 4 kB / 448.7 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1679, allocations: 3.984 kB / 448.7 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1679, allocations: 0 / 448.7 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.1681, allocations: 23.98 kB / 448.7 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1681, allocations: 0 / 448.7 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.934e-05/0.1682, allocations: 23.92 kB / 448.7 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.1682, allocations: 4 kB / 448.7 MB, free: 7.121 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 (7): * Single equations (assignments): 7 * 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.0001098/0.1683, allocations: 125.8 kB / 448.9 MB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.1683, allocations: 3.906 kB / 448.9 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003628/0.1687, allocations: 157.9 kB / 449 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1687, allocations: 0 / 449 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1687, allocations: 0 / 449 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1687, allocations: 3.938 kB / 449 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005375/0.1693, allocations: 430.4 kB / 449.5 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1693, allocations: 0 / 449.5 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.436e-05/0.1694, allocations: 23.98 kB / 449.5 MB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1694, allocations: 0 / 449.5 MB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.1694, allocations: 7.938 kB / 449.5 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.1694, allocations: 4 kB / 449.5 MB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1694, allocations: 3.938 kB / 449.5 MB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003306/0.1698, allocations: 235.8 kB / 449.7 MB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.1698, allocations: 85 kB / 449.8 MB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.1698, allocations: 7.938 kB / 449.8 MB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.598e-05/0.1699, allocations: 15.98 kB / 449.8 MB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.17, allocations: 8 kB / 449.8 MB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.17, allocations: 3.938 kB / 449.8 MB, free: 5.926 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.466e-05/0.1701, allocations: 107.2 kB / 449.9 MB, free: 5.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1701, allocations: 0 / 449.9 MB, free: 5.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.1704, allocations: 24 kB / 450 MB, free: 5.797 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 (7): * Single equations (assignments): 7 * 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.001117/0.1715, allocations: 456.3 kB / 450.4 MB, free: 5.371 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003265/0.1718, allocations: 103.9 kB / 450.5 MB, free: 5.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.1718, allocations: 4 kB / 450.5 MB, free: 5.266 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.172, allocations: 63.83 kB / 450.6 MB, free: 5.203 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.1723, allocations: 15.98 kB / 450.6 MB, free: 5.188 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005169/0.1729, allocations: 221.6 kB / 450.8 MB, free: 4.941 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.1732, allocations: 0.7043 MB / 451.5 MB, free: 4.211 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.318e-05/0.1733, allocations: 23.97 kB / 451.5 MB, free: 4.188 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.1734, allocations: 11.44 kB / 451.6 MB, free: 4.176 MB / 382.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1734, allocations: 0 / 451.6 MB, free: 4.176 MB / 382.1 MB Notification: Performance of Templates: time 0.004799/0.1782, allocations: 1.44 MB / 453 MB, free: 2.734 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches