Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001205/0.001205, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.207/1.207, allocations: 222.9 MB / 243 MB, free: 15.14 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.175/0.175, allocations: 44.17 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001577, allocations: 60.34 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1619, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.003343/0.1653, allocations: 1.571 MB / 472.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008202/0.1662, allocations: 423.2 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.897e-05/0.1663, allocations: 0 / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003335/0.1666, allocations: 79.77 kB / 472.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.1668, allocations: 67.67 kB / 472.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003014/0.1671, allocations: 111.5 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.1674, allocations: 67.83 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.1675, allocations: 24.16 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.112e-05/0.1676, allocations: 35.84 kB / 473.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.1677, allocations: 51.89 kB / 473.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.1678, allocations: 0 / 473.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.1679, allocations: 39.98 kB / 473.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.113e-05/0.1679, allocations: 19.92 kB / 473.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.078e-05/0.168, allocations: 39.72 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.1682, allocations: 103.7 kB / 473.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1682, allocations: 0 / 473.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1682, allocations: 0 / 473.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1682, allocations: 0 / 473.3 MB, free: 11.01 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005777/0.1688, allocations: 411 kB / 473.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.1688, allocations: 8.031 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.1689, allocations: 12.84 kB / 473.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.1691, allocations: 196.1 kB / 473.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.1691, allocations: 384 / 473.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.1691, allocations: 12.31 kB / 473.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.1693, allocations: 61.55 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.1693, allocations: 3.906 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.1693, allocations: 0 / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1693, allocations: 4 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.174e-05/0.1694, allocations: 19.98 kB / 474 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.1698, allocations: 304.8 kB / 474.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.972e-05/0.1699, allocations: 50.48 kB / 474.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.839e-05/0.17, allocations: 20.94 kB / 474.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.17, allocations: 4 kB / 474.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.1701, allocations: 30.56 kB / 474.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1701, allocations: 0 / 474.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008278/0.1709, allocations: 233 kB / 474.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.171, allocations: 55.41 kB / 474.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.1711, allocations: 214.1 kB / 474.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.1712, allocations: 25.7 kB / 474.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.632e-05/0.1712, allocations: 108 kB / 475 MB, free: 9.074 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.1712, allocations: 23.66 kB / 475.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.1713, allocations: 25.7 kB / 475.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.072e-05/0.1714, allocations: 322.8 kB / 475.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.709e-05/0.1715, allocations: 31.98 kB / 475.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.776e-05/0.1715, allocations: 35.91 kB / 475.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.1717, allocations: 76.89 kB / 475.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1717, allocations: 0 / 475.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001982/0.1719, allocations: 109.5 kB / 475.7 MB, free: 8.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1719, allocations: 4 kB / 475.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1719, allocations: 320 / 475.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.172, allocations: 0 / 475.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.359e-05/0.1721, allocations: 19.98 kB / 475.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.1721, allocations: 3.938 kB / 475.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.478e-05/0.1721, allocations: 15.92 kB / 475.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1721, allocations: 7.984 kB / 475.7 MB, free: 8.387 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 (8): * Single equations (assignments): 8 * 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 9.582e-05/0.1722, allocations: 129.8 kB / 475.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.1723, allocations: 7.906 kB / 475.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.1725, allocations: 122.4 kB / 476 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1725, allocations: 0 / 476 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1725, allocations: 3.938 kB / 476 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1726, allocations: 0 / 476 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004708/0.173, allocations: 423.2 kB / 476.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.173, allocations: 4 kB / 476.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.836e-05/0.1731, allocations: 27.86 kB / 476.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1731, allocations: 0 / 476.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.1731, allocations: 3.938 kB / 476.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1731, allocations: 0 / 476.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1732, allocations: 4 kB / 476.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.1734, allocations: 212.3 kB / 476.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-05/0.1734, allocations: 88.94 kB / 476.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.1735, allocations: 8 kB / 476.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.924e-05/0.1735, allocations: 4 kB / 476.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.1736, allocations: 7.922 kB / 476.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.1736, allocations: 8 kB / 476.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.1737, allocations: 155.2 kB / 476.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1737, allocations: 0 / 476.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.174, allocations: 20 kB / 476.9 MB, free: 7.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009583/0.1749, allocations: 458.8 kB / 477.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002212/0.1752, allocations: 79.88 kB / 477.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1752, allocations: 0 / 477.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.671e-05/0.1753, allocations: 39.97 kB / 477.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.1756, allocations: 28.23 kB / 477.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004705/0.1761, allocations: 259.1 kB / 477.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.1764, allocations: 0.708 MB / 478.5 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.302e-05/0.1765, allocations: 16.66 kB / 478.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.1765, allocations: 15.44 kB / 478.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1765, allocations: 4 kB / 478.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of Templates: time 0.4337/0.6102, allocations: 1.351 MB / 479.8 MB, free: 4.258 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches