Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 112.1 kB / 17.06 MB, free: 5.973 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.001652/0.001652, allocations: 200 kB / 18.01 MB, free: 5.055 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.356/1.356, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.002/1.002, allocations: 119.3 MB / 411.2 MB, free: 9.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 62.2 kB / 0.5709 GB, free: 39.82 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1496, allocations: 80.71 MB / 0.6497 GB, free: 13.11 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250): time 0.002777/0.1524, allocations: 1.566 MB / 0.6512 GB, free: 11.53 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.1538, allocations: 0.8963 MB / 0.6521 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.31e-05/0.1539, allocations: 3.938 kB / 0.6521 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0005466/0.1544, allocations: 475.3 kB / 0.6526 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0004663/0.1549, allocations: 315.4 kB / 0.6529 GB, free: 9.852 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.1552, allocations: 107.6 kB / 0.653 GB, free: 9.746 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005554/0.1558, allocations: 0.6358 MB / 0.6536 GB, free: 9.109 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.159e-05/0.1558, allocations: 15.97 kB / 0.6536 GB, free: 9.094 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003353/0.1562, allocations: 323.3 kB / 0.6539 GB, free: 8.777 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004912/0.1567, allocations: 0.5383 MB / 0.6544 GB, free: 8.238 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.929e-05/0.1568, allocations: 32 kB / 0.6545 GB, free: 8.207 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.1569, allocations: 67.98 kB / 0.6545 GB, free: 8.141 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.00125/0.1582, allocations: 1.263 MB / 0.6558 GB, free: 6.875 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.000463/0.1586, allocations: 0.735 MB / 0.6565 GB, free: 6.133 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.1598, allocations: 1.632 MB / 0.6581 GB, free: 4.492 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1598, allocations: 0 / 0.6581 GB, free: 4.492 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.754e-06/0.1598, allocations: 0 / 0.6581 GB, free: 4.492 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.662e-05/0.1599, allocations: 0 / 0.6581 GB, free: 4.492 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.002657/0.1625, allocations: 2.788 MB / 0.6608 GB, free: 1.637 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.1626, allocations: 11.89 kB / 0.6608 GB, free: 1.625 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002632/0.1628, allocations: 289.1 kB / 0.6611 GB, free: 1.34 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004175/0.167, allocations: 3.35 MB / 0.6644 GB, free: 13.93 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.1671, allocations: 384 / 0.6644 GB, free: 13.93 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.1671, allocations: 4.125 kB / 0.6644 GB, free: 13.93 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.1672, allocations: 53.61 kB / 0.6644 GB, free: 13.87 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1672, allocations: 4 kB / 0.6644 GB, free: 13.86 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1673, allocations: 0 / 0.6644 GB, free: 13.86 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1673, allocations: 4 kB / 0.6644 GB, free: 13.86 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.102e-05/0.1673, allocations: 15.98 kB / 0.6644 GB, free: 13.84 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009027/0.1683, allocations: 1.008 MB / 0.6654 GB, free: 12.79 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.1684, allocations: 54.61 kB / 0.6655 GB, free: 12.73 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.462e-05/0.1685, allocations: 24.78 kB / 0.6655 GB, free: 12.7 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.37e-05/0.1685, allocations: 3.938 kB / 0.6655 GB, free: 12.7 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001456/0.1687, allocations: 67.39 kB / 0.6656 GB, free: 12.62 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=5): time 2.074e-06/0.1687, allocations: 0 / 0.6656 GB, free: 12.62 MB / 0.5139 GB Notification: Performance of matching and sorting (n=5): time 0.000504/0.1692, allocations: 377.8 kB / 0.6659 GB, free: 12.24 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.1693, allocations: 55.41 kB / 0.666 GB, free: 12.18 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003355/0.1726, allocations: 3.288 MB / 0.6692 GB, free: 8.91 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.1727, allocations: 25.7 kB / 0.6692 GB, free: 8.879 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.00104/0.1737, allocations: 1.322 MB / 0.6705 GB, free: 7.555 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.1738, allocations: 15.81 kB / 0.6705 GB, free: 7.539 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.925e-05/0.1738, allocations: 21.7 kB / 0.6706 GB, free: 7.512 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1739, allocations: 306 kB / 0.6708 GB, free: 7.207 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.078e-05/0.174, allocations: 12 kB / 0.6709 GB, free: 7.195 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.242e-05/0.1741, allocations: 37.69 kB / 0.6709 GB, free: 7.152 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.765e-05/0.1742, allocations: 41.7 kB / 0.6709 GB, free: 7.105 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1742, allocations: 3.938 kB / 0.6709 GB, free: 7.102 MB / 0.5139 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004131/0.1746, allocations: 377.7 kB / 0.6713 GB, free: 6.723 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.1746, allocations: 4 kB / 0.6713 GB, free: 6.719 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1746, allocations: 0 / 0.6713 GB, free: 6.719 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.1747, allocations: 3.984 kB / 0.6713 GB, free: 6.715 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.424e-05/0.1748, allocations: 15.98 kB / 0.6713 GB, free: 6.699 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1748, allocations: 0 / 0.6713 GB, free: 6.699 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.175, allocations: 11.91 kB / 0.6713 GB, free: 6.688 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.175, allocations: 8.031 kB / 0.6713 GB, free: 6.68 MB / 0.5139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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.0007492/0.1757, allocations: 0.7131 MB / 0.672 GB, free: 5.957 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002636/0.176, allocations: 304.2 kB / 0.6723 GB, free: 5.656 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003365/0.1763, allocations: 341.8 kB / 0.6726 GB, free: 5.32 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1764, allocations: 0 / 0.6726 GB, free: 5.32 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.1764, allocations: 0 / 0.6726 GB, free: 5.32 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1764, allocations: 0 / 0.6726 GB, free: 5.32 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000881/0.1773, allocations: 1.097 MB / 0.6737 GB, free: 4.18 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1773, allocations: 0 / 0.6737 GB, free: 4.18 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.18e-05/0.1773, allocations: 7.984 kB / 0.6737 GB, free: 4.172 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1773, allocations: 4 kB / 0.6737 GB, free: 4.168 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.1773, allocations: 0 / 0.6737 GB, free: 4.168 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1773, allocations: 0 / 0.6737 GB, free: 4.168 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1773, allocations: 0 / 0.6737 GB, free: 4.168 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004012/0.1777, allocations: 419.5 kB / 0.6741 GB, free: 3.738 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002689/0.178, allocations: 313.2 kB / 0.6744 GB, free: 3.41 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.1781, allocations: 11.98 kB / 0.6744 GB, free: 3.398 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.1783, allocations: 15.94 kB / 0.6745 GB, free: 3.383 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.1783, allocations: 4 kB / 0.6745 GB, free: 3.379 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.1784, allocations: 4 kB / 0.6745 GB, free: 3.375 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.002255/0.1806, allocations: 2.263 MB / 0.6767 GB, free: 1.133 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1806, allocations: 0 / 0.6767 GB, free: 1.133 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003344/0.181, allocations: 96 kB / 0.6768 GB, free: 1.039 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008508/0.1818, allocations: 399.2 kB / 0.6771 GB, free: 0.7969 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.000158/0.182, allocations: 47.97 kB / 0.6772 GB, free: 0.75 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.182, allocations: 7.875 kB / 0.6772 GB, free: 0.7422 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 5.428e-05/0.1821, allocations: 16 kB / 0.6772 GB, free: 0.7266 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006554/0.1827, allocations: 254.3 kB / 0.6775 GB, free: 488 kB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004379/0.1871, allocations: 4.18 MB / 0.6815 GB, free: 12.26 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001214/0.1883, allocations: 1.71 MB / 0.6832 GB, free: 10.52 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.00125/0.1896, allocations: 0.7058 MB / 0.6839 GB, free: 9.805 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004065/0.19, allocations: 299.2 kB / 0.6842 GB, free: 9.512 MB / 0.5295 GB Notification: Performance of SimCode: time 4.01e-07/0.19, allocations: 0 / 0.6842 GB, free: 9.512 MB / 0.5295 GB Notification: Performance of Templates: time 0.02196/0.212, allocations: 8.373 MB / 0.6924 GB, free: 1.141 MB / 0.5295 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches