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.001382/0.001382, allocations: 111 kB / 17.74 MB, free: 5.34 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.001272/0.001272, allocations: 196.3 kB / 18.68 MB, free: 4.41 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.375/1.375, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9528/0.9528, allocations: 119.3 MB / 411.9 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 62.08 kB / 0.5716 GB, free: 39.78 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.143, allocations: 80.71 MB / 0.6504 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250): time 0.003561/0.1466, allocations: 1.573 MB / 0.6519 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.1483, allocations: 0.8846 MB / 0.6528 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.727e-05/0.1484, allocations: 8 kB / 0.6528 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0007082/0.1491, allocations: 479.2 kB / 0.6532 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0006087/0.1497, allocations: 315.4 kB / 0.6535 GB, free: 9.809 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004077/0.1502, allocations: 111.6 kB / 0.6536 GB, free: 9.699 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0007883/0.151, allocations: 0.6318 MB / 0.6543 GB, free: 9.066 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 7.817e-05/0.151, allocations: 11.97 kB / 0.6543 GB, free: 9.055 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000471/0.1515, allocations: 327.4 kB / 0.6546 GB, free: 8.734 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000612/0.1522, allocations: 0.5383 MB / 0.6551 GB, free: 8.195 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 8.812e-05/0.1522, allocations: 36 kB / 0.6551 GB, free: 8.16 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.1524, allocations: 67.94 kB / 0.6552 GB, free: 8.094 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.001525/0.154, allocations: 1.263 MB / 0.6564 GB, free: 6.828 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0006327/0.1546, allocations: 0.7272 MB / 0.6572 GB, free: 6.094 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.1563, allocations: 1.64 MB / 0.6588 GB, free: 4.445 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.1563, allocations: 0 / 0.6588 GB, free: 4.445 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.755e-06/0.1563, allocations: 0 / 0.6588 GB, free: 4.445 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.648e-05/0.1563, allocations: 0 / 0.6588 GB, free: 4.445 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.002935/0.1593, allocations: 2.776 MB / 0.6615 GB, free: 1.602 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.1593, allocations: 15.89 kB / 0.6615 GB, free: 1.586 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002919/0.1596, allocations: 289.1 kB / 0.6618 GB, free: 1.301 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00444/0.1641, allocations: 3.35 MB / 0.665 GB, free: 13.89 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.1641, allocations: 8.375 kB / 0.665 GB, free: 13.89 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.1641, allocations: 4.125 kB / 0.665 GB, free: 13.88 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.1643, allocations: 49.67 kB / 0.6651 GB, free: 13.83 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.1643, allocations: 4 kB / 0.6651 GB, free: 13.82 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1643, allocations: 0 / 0.6651 GB, free: 13.82 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.1643, allocations: 0 / 0.6651 GB, free: 13.82 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.311e-05/0.1644, allocations: 15.98 kB / 0.6651 GB, free: 13.81 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009311/0.1653, allocations: 1.004 MB / 0.6661 GB, free: 12.76 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.1655, allocations: 54.56 kB / 0.6661 GB, free: 12.7 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.562e-05/0.1656, allocations: 28.78 kB / 0.6662 GB, free: 12.67 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.1656, allocations: 0 / 0.6662 GB, free: 12.67 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/0.1658, allocations: 63.39 kB / 0.6662 GB, free: 12.59 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.1658, allocations: 0 / 0.6662 GB, free: 12.59 MB / 0.5139 GB Notification: Performance of matching and sorting (n=5): time 0.0005239/0.1663, allocations: 389.8 kB / 0.6666 GB, free: 12.2 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.1664, allocations: 51.41 kB / 0.6666 GB, free: 12.14 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00327/0.1696, allocations: 3.291 MB / 0.6699 GB, free: 8.871 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.1697, allocations: 25.7 kB / 0.6699 GB, free: 8.84 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001126/0.1708, allocations: 1.318 MB / 0.6712 GB, free: 7.52 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.1708, allocations: 7.891 kB / 0.6712 GB, free: 7.512 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.255e-05/0.1709, allocations: 21.72 kB / 0.6712 GB, free: 7.484 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.171, allocations: 310 kB / 0.6715 GB, free: 7.176 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.718e-05/0.1711, allocations: 23.97 kB / 0.6715 GB, free: 7.152 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.72e-05/0.1711, allocations: 25.7 kB / 0.6715 GB, free: 7.121 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.731e-05/0.1713, allocations: 53.84 kB / 0.6716 GB, free: 7.062 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1713, allocations: 3.938 kB / 0.6716 GB, free: 7.059 MB / 0.5139 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003937/0.1717, allocations: 369.8 kB / 0.672 GB, free: 6.688 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1717, allocations: 8 kB / 0.672 GB, free: 6.68 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1717, allocations: 4.031 kB / 0.672 GB, free: 6.676 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1717, allocations: 0 / 0.672 GB, free: 6.676 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.425e-05/0.1718, allocations: 11.94 kB / 0.672 GB, free: 6.664 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.1718, allocations: 4 kB / 0.672 GB, free: 6.66 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.172, allocations: 11.91 kB / 0.672 GB, free: 6.648 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.172, allocations: 11.98 kB / 0.672 GB, free: 6.637 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.0007401/0.1728, allocations: 0.7012 MB / 0.6727 GB, free: 5.926 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002517/0.173, allocations: 304.2 kB / 0.673 GB, free: 5.625 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003362/0.1734, allocations: 349.8 kB / 0.6733 GB, free: 5.281 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1734, allocations: 3.984 kB / 0.6733 GB, free: 5.277 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.1734, allocations: 0 / 0.6733 GB, free: 5.277 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1734, allocations: 0 / 0.6733 GB, free: 5.277 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009789/0.1744, allocations: 1.094 MB / 0.6744 GB, free: 4.141 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1744, allocations: 0 / 0.6744 GB, free: 4.141 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.332e-05/0.1744, allocations: 4 kB / 0.6744 GB, free: 4.137 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1744, allocations: 0 / 0.6744 GB, free: 4.137 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1745, allocations: 4 kB / 0.6744 GB, free: 4.133 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1745, allocations: 0 / 0.6744 GB, free: 4.133 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1745, allocations: 0 / 0.6744 GB, free: 4.133 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004388/0.1749, allocations: 427.5 kB / 0.6748 GB, free: 3.695 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002923/0.1752, allocations: 305.2 kB / 0.6751 GB, free: 3.375 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.1753, allocations: 12.12 kB / 0.6751 GB, free: 3.363 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.1755, allocations: 12 kB / 0.6751 GB, free: 3.352 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.1756, allocations: 11.98 kB / 0.6751 GB, free: 3.34 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.1756, allocations: 0 / 0.6751 GB, free: 3.34 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.002477/0.1781, allocations: 2.263 MB / 0.6773 GB, free: 1.098 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1781, allocations: 4 kB / 0.6773 GB, free: 1.094 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.000348/0.1784, allocations: 91.98 kB / 0.6774 GB, free: 1.004 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.0009298/0.1794, allocations: 410.9 kB / 0.6778 GB, free: 0.7539 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0001718/0.1795, allocations: 39.92 kB / 0.6779 GB, free: 0.7148 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1795, allocations: 0 / 0.6779 GB, free: 0.7148 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 6.215e-05/0.1796, allocations: 19.98 kB / 0.6779 GB, free: 0.6953 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006957/0.1803, allocations: 248.3 kB / 0.6781 GB, free: 460 kB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005054/0.1854, allocations: 4.33 MB / 0.6823 GB, free: 12.08 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001303/0.1867, allocations: 1.699 MB / 0.684 GB, free: 10.34 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004757/0.1872, allocations: 307.2 kB / 0.6843 GB, free: 10.04 MB / 0.5295 GB Notification: Performance of SimCode: time 5.71e-07/0.1872, allocations: 0 / 0.6843 GB, free: 10.04 MB / 0.5295 GB Notification: Performance of Templates: time 0.08476/0.272, allocations: 47 MB / 0.7302 GB, free: 11.01 MB / 0.5764 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250_res.mat","/var/lib/jenkins1/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