Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.CombiTable1Dv.Test8,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.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,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.CombiTable1Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000999/0.0009991, allocations: 100.5 kB / 16.98 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.0009789/0.0009788, allocations: 185.4 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.442/1.442, 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.2268/0.2268, allocations: 44.23 MB / 337.1 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003237, allocations: 8 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.157, allocations: 61.92 MB / 471.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.001967/0.159, allocations: 1.259 MB / 472.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007861/0.1598, allocations: 363.7 kB / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.085e-05/0.1599, allocations: 0 / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.1601, allocations: 19.86 kB / 473.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.1603, allocations: 27.91 kB / 473.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002983/0.1606, allocations: 94.88 kB / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.1608, allocations: 39.89 kB / 473.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.939e-05/0.1609, allocations: 16 kB / 473.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.976e-05/0.1609, allocations: 19.91 kB / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.295e-05/0.161, allocations: 11.94 kB / 473.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.161, allocations: 3.938 kB / 473.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.424e-05/0.1611, allocations: 23.92 kB / 473.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.689e-05/0.1611, allocations: 8 kB / 473.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.1612, allocations: 33.64 kB / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.1613, allocations: 63.83 kB / 473.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1613, allocations: 0 / 473.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1613, allocations: 0 / 473.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.1613, allocations: 4 kB / 473.4 MB, free: 11.73 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.0004654/0.1618, allocations: 371.4 kB / 473.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.1619, allocations: 8.562 kB / 473.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.1619, allocations: 7.906 kB / 473.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.1621, allocations: 183 kB / 474 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.1621, allocations: 0 / 474 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.1622, allocations: 7.953 kB / 474 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.1624, allocations: 61.62 kB / 474 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.1624, allocations: 3.984 kB / 474 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.1624, allocations: 0 / 474 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1624, allocations: 0 / 474 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.769e-05/0.1625, allocations: 27.98 kB / 474.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004572/0.163, allocations: 280.9 kB / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002357/0.1632, allocations: 54.48 kB / 474.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.1633, allocations: 0 / 474.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.1633, allocations: 30.56 kB / 474.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1633, allocations: 3.938 kB / 474.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006164/0.1639, allocations: 169.6 kB / 474.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.164, allocations: 59.39 kB / 474.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.1641, allocations: 152 kB / 474.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.1642, allocations: 25.7 kB / 474.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.1642, allocations: 96.12 kB / 474.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.1643, allocations: 23.7 kB / 475 MB, free: 10 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-06/0.1643, allocations: 0 / 475 MB, free: 10 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1644, allocations: 326.8 kB / 475.3 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.096e-05/0.1645, allocations: 19.98 kB / 475.3 MB, free: 9.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.16e-05/0.1646, allocations: 27.98 kB / 475.3 MB, free: 9.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.506e-05/0.1647, allocations: 27.98 kB / 475.3 MB, free: 9.598 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1647, allocations: 0 / 475.3 MB, free: 9.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001935/0.1649, allocations: 101.5 kB / 475.4 MB, free: 9.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1649, allocations: 4 kB / 475.4 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1649, allocations: 0 / 475.4 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1649, allocations: 0 / 475.4 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.482e-05/0.165, allocations: 15.98 kB / 475.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.165, allocations: 0 / 475.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.884e-05/0.165, allocations: 11.94 kB / 475.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.1651, allocations: 0 / 475.5 MB, free: 9.461 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 9.585e-05/0.1652, allocations: 133.7 kB / 475.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.1652, allocations: 7.906 kB / 475.6 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.1654, allocations: 105.9 kB / 475.7 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1655, allocations: 0 / 475.7 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1655, allocations: 0 / 475.7 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1655, allocations: 4 kB / 475.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003984/0.1659, allocations: 362.8 kB / 476.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1659, allocations: 0 / 476.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.532e-05/0.166, allocations: 19.92 kB / 476.1 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.166, allocations: 4 kB / 476.1 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.166, allocations: 0 / 476.1 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.166, allocations: 4 kB / 476.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.166, allocations: 0 / 476.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.1663, allocations: 191.4 kB / 476.3 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.782e-05/0.1663, allocations: 92.95 kB / 476.4 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.1664, allocations: 0 / 476.4 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.748e-05/0.1664, allocations: 7.984 kB / 476.4 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.1665, allocations: 4 kB / 476.4 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.1665, allocations: 0 / 476.4 MB, free: 8.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.51e-05/0.1666, allocations: 121.1 kB / 476.5 MB, free: 8.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1666, allocations: 0 / 476.5 MB, free: 8.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.1668, allocations: 12 kB / 476.5 MB, free: 8.309 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.0009192/0.1678, allocations: 417 kB / 476.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001984/0.168, allocations: 55.95 kB / 477 MB, free: 7.996 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.168, allocations: 0 / 477 MB, free: 7.996 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.855e-05/0.1681, allocations: 31.98 kB / 477 MB, free: 7.965 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.1683, allocations: 19.94 kB / 477 MB, free: 7.945 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004047/0.1687, allocations: 196.5 kB / 477.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.169, allocations: 0.7043 MB / 477.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.164e-05/0.1691, allocations: 15.97 kB / 477.9 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/0.1691, allocations: 11.44 kB / 478 MB, free: 6.969 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1691, allocations: 0 / 478 MB, free: 6.969 MB / 350.1 MB Notification: Performance of Templates: time 0.003478/0.1726, allocations: 1.022 MB / 479 MB, free: 5.953 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches