Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.00135, allocations: 95.17 kB / 16.98 MB, free: 6.398 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.001513/0.001514, allocations: 183.8 kB / 17.87 MB, free: 5.957 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.44/1.44, allocations: 223.2 MB / 241.8 MB, free: 364 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.221/0.221, allocations: 44.23 MB / 337.1 MB, free: 2.895 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004016/0.000402, allocations: 8 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1524, allocations: 61.92 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.002914/0.1554, allocations: 1.255 MB / 472.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002114/0.1576, allocations: 0.9454 MB / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.671e-05/0.1577, allocations: 0 / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.158, allocations: 19.86 kB / 473.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002326/0.1582, allocations: 35.83 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.1586, allocations: 71.11 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.1588, allocations: 43.88 kB / 473.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.1589, allocations: 8 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.058e-05/0.159, allocations: 19.92 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.1592, allocations: 23.84 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.1592, allocations: 7.938 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.1594, allocations: 27.98 kB / 473.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.59e-05/0.1594, allocations: 0 / 473.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.002e-05/0.1594, allocations: 37.64 kB / 473.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.1596, allocations: 59.91 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1597, allocations: 3.938 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1597, allocations: 0 / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1597, allocations: 0 / 474 MB, free: 11.18 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.0005858/0.1603, allocations: 379.4 kB / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.1603, allocations: 12.5 kB / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.886e-05/0.1604, allocations: 4 kB / 474.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.1607, allocations: 186.9 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.1607, allocations: 3.938 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.1607, allocations: 7.953 kB / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.1609, allocations: 63.41 kB / 474.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.1609, allocations: 0 / 474.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.161, allocations: 0 / 474.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.161, allocations: 4 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.1611, allocations: 27.97 kB / 474.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004705/0.1616, allocations: 272.9 kB / 474.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.1618, allocations: 42.56 kB / 475 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.1619, allocations: 4.078 kB / 475 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.1619, allocations: 30.56 kB / 475 MB, free: 9.992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.1619, allocations: 0 / 475 MB, free: 9.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007745/0.1627, allocations: 153.3 kB / 475.2 MB, free: 9.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.738e-05/0.1628, allocations: 81.11 kB / 475.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.163, allocations: 137.8 kB / 475.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.163, allocations: 33.64 kB / 475.4 MB, free: 9.555 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.716e-05/0.1631, allocations: 88.14 kB / 475.5 MB, free: 9.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.1632, allocations: 15.75 kB / 475.5 MB, free: 9.449 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-06/0.1632, allocations: 4 kB / 475.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1633, allocations: 322.8 kB / 475.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.772e-05/0.1635, allocations: 15.98 kB / 475.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.1636, allocations: 45.64 kB / 475.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.1637, allocations: 23.98 kB / 475.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1637, allocations: 0 / 475.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002892/0.164, allocations: 94.08 kB / 476 MB, free: 8.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.164, allocations: 4 kB / 476 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1641, allocations: 0 / 476 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1641, allocations: 3.984 kB / 476 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.291e-05/0.1642, allocations: 12 kB / 476 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.1642, allocations: 0 / 476 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.784e-05/0.1643, allocations: 11.98 kB / 476 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.1643, allocations: 7.984 kB / 476.1 MB, free: 8.895 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 0.0001183/0.1644, allocations: 121.7 kB / 476.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.1645, allocations: 7.906 kB / 476.2 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003438/0.1648, allocations: 93.62 kB / 476.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1649, allocations: 0 / 476.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.1649, allocations: 4 kB / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.1649, allocations: 4 kB / 476.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000665/0.1656, allocations: 354.4 kB / 476.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1656, allocations: 3.938 kB / 476.6 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.618e-05/0.1657, allocations: 20 kB / 476.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.1657, allocations: 3.984 kB / 476.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.1657, allocations: 0 / 476.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1657, allocations: 0 / 476.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1657, allocations: 0 / 476.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.1661, allocations: 187.4 kB / 476.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-05/0.1662, allocations: 89 kB / 476.9 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.1662, allocations: 4.188 kB / 476.9 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.1663, allocations: 8 kB / 476.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.1664, allocations: 11.98 kB / 476.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.1664, allocations: 3.938 kB / 477 MB, free: 7.891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.1665, allocations: 110 kB / 477.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1665, allocations: 0 / 477.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004862/0.167, allocations: 20 kB / 477.1 MB, free: 7.766 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.001492/0.1685, allocations: 444.4 kB / 477.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002777/0.1688, allocations: 51.97 kB / 477.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1688, allocations: 0 / 477.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.169, allocations: 31.92 kB / 477.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.1693, allocations: 15.95 kB / 477.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000541/0.1699, allocations: 168.8 kB / 477.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.1703, allocations: 0.6926 MB / 478.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.083e-05/0.1704, allocations: 7.984 kB / 478.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.05e-05/0.1704, allocations: 19.44 kB / 478.5 MB, free: 6.457 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1704, allocations: 4 kB / 478.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of Templates: time 0.005732/0.1762, allocations: 1.276 MB / 479.8 MB, free: 5.188 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches