Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009381/0.0009381, allocations: 94.02 kB / 17.31 MB, free: 6.535 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.000977/0.000977, allocations: 175.8 kB / 18.21 MB, free: 5.684 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.427/1.427, allocations: 223.3 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.078/1.078, allocations: 120.5 MB / 413.8 MB, free: 9.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.0003328, allocations: 8 kB / 0.4955 GB, free: 11.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5803/0.5807, allocations: 82.83 MB / 0.5764 GB, free: 41.91 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.001424/0.5821, allocations: 1.139 MB / 0.5775 GB, free: 41 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008654/0.583, allocations: 0.5731 MB / 0.5781 GB, free: 40.56 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.381e-05/0.5831, allocations: 1.375 kB / 0.5781 GB, free: 40.56 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.002392/0.5855, allocations: 3.427 MB / 0.5815 GB, free: 38.83 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.002549/0.588, allocations: 3.467 MB / 0.5848 GB, free: 37.09 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.5883, allocations: 63.94 kB / 0.5849 GB, free: 37.04 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.006109/0.5945, allocations: 8.54 MB / 0.5932 GB, free: 29.04 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.621e-05/0.5945, allocations: 0 / 0.5932 GB, free: 29.04 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005432/0.6, allocations: 4.247 MB / 0.5974 GB, free: 24.79 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005832/0.6058, allocations: 7.6 MB / 0.6048 GB, free: 17.18 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.001078/0.6069, allocations: 500 kB / 0.6053 GB, free: 16.69 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008717/0.6078, allocations: 0.5624 MB / 0.6058 GB, free: 16.12 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01511/0.6229, allocations: 19.91 MB / 0.6253 GB, free: 12.16 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.01681/0.6398, allocations: 11.27 MB / 0.6363 GB, free: 0.7656 MB / 478.3 MB Notification: Performance of NFConvertDAE.convert: time 0.02011/0.6599, allocations: 17.99 MB / 0.6539 GB, free: 14.71 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 9.418e-06/0.66, allocations: 4 kB / 0.6539 GB, free: 14.71 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.905e-06/0.66, allocations: 0 / 0.6539 GB, free: 14.71 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.0009838/0.661, allocations: 0 / 0.6539 GB, free: 14.71 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.04802/0.709, allocations: 34.1 MB / 0.6872 GB, free: 12.27 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.7091, allocations: 8.031 kB / 0.6872 GB, free: 12.26 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008395/0.7175, allocations: 4.403 MB / 0.6915 GB, free: 7.797 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.124/0.8415, allocations: 51.57 MB / 0.7418 GB, free: 3.875 MB / 0.5764 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.8416, allocations: 384 / 0.7418 GB, free: 3.875 MB / 0.5764 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003291/0.8419, allocations: 132.3 kB / 0.742 GB, free: 3.746 MB / 0.5764 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/0.8437, allocations: 1.524 MB / 0.7434 GB, free: 2.215 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.8437, allocations: 3.984 kB / 0.7435 GB, free: 2.211 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002339/0.844, allocations: 128 kB / 0.7436 GB, free: 2.086 MB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.844, allocations: 4 kB / 0.7436 GB, free: 2.082 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.8451, allocations: 0.8672 MB / 0.7444 GB, free: 1.215 MB / 0.5764 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02523/0.8704, allocations: 13.85 MB / 0.758 GB, free: 3.301 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.8719, allocations: 0.5298 MB / 0.7585 GB, free: 2.762 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008099/0.8727, allocations: 0.5164 MB / 0.759 GB, free: 2.242 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.8727, allocations: 0 / 0.759 GB, free: 2.242 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001372/0.8741, allocations: 1.328 MB / 0.7603 GB, free: 0.8945 MB / 0.592 GB Notification: Performance of pre-optimization done (n=8): time 2.315e-06/0.8741, allocations: 0 / 0.7603 GB, free: 0.8945 MB / 0.592 GB Notification: Performance of matching and sorting (n=8): time 0.603/1.477, allocations: 8.309 MB / 0.7684 GB, free: 137.6 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/1.477, allocations: 81.16 kB / 0.7685 GB, free: 137.5 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09014/1.567, allocations: 49.59 MB / 0.8169 GB, free: 111 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0008002/1.568, allocations: 153.7 kB / 0.817 GB, free: 110.9 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.02148/1.59, allocations: 22.54 MB / 0.839 GB, free: 88.32 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.001111/1.591, allocations: 144.5 kB / 0.8392 GB, free: 88.19 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002568/1.591, allocations: 141.7 kB / 0.8393 GB, free: 88.05 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 6.343e-05/1.591, allocations: 313.6 kB / 0.8396 GB, free: 87.74 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007503/1.592, allocations: 0.5 MB / 0.8401 GB, free: 87.23 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007268/1.593, allocations: 0.5078 MB / 0.8406 GB, free: 86.72 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/1.594, allocations: 1.077 MB / 0.8417 GB, free: 85.62 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/1.594, allocations: 0 / 0.8417 GB, free: 85.62 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.009567/1.604, allocations: 7.821 MB / 0.8493 GB, free: 80.24 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 5.641e-05/1.604, allocations: 37.69 kB / 0.8493 GB, free: 80.2 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/1.604, allocations: 0 / 0.8493 GB, free: 80.2 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/1.604, allocations: 3 kB / 0.8493 GB, free: 80.2 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.892e-05/1.604, allocations: 4 kB / 0.8493 GB, free: 80.2 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/1.604, allocations: 2.25 kB / 0.8493 GB, free: 80.2 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006667/1.611, allocations: 131.9 kB / 0.8495 GB, free: 80.07 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001649/1.612, allocations: 1.718 MB / 0.8511 GB, free: 78.35 MB / 0.5923 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.01466/1.627, allocations: 9.67 MB / 0.8606 GB, free: 68.66 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007139/1.634, allocations: 4.53 MB / 0.865 GB, free: 64.07 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0112/1.645, allocations: 5.111 MB / 0.87 GB, free: 58.95 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/1.645, allocations: 0 / 0.87 GB, free: 58.95 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/1.645, allocations: 0 / 0.87 GB, free: 58.95 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/1.645, allocations: 2.219 kB / 0.87 GB, free: 58.95 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03314/1.679, allocations: 15.08 MB / 0.8847 GB, free: 43.8 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/1.679, allocations: 3.938 kB / 0.8847 GB, free: 43.8 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.624e-05/1.679, allocations: 3.984 kB / 0.8847 GB, free: 43.8 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/1.679, allocations: 7 kB / 0.8847 GB, free: 43.79 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00119/1.68, allocations: 380 kB / 0.8851 GB, free: 43.42 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/1.68, allocations: 3.938 kB / 0.8851 GB, free: 43.42 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/1.68, allocations: 0 / 0.8851 GB, free: 43.42 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009675/1.69, allocations: 8.149 MB / 0.8931 GB, free: 35.19 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00877/1.698, allocations: 3.88 MB / 0.8969 GB, free: 31.23 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004581/1.703, allocations: 131 kB / 0.897 GB, free: 31.11 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005116/1.708, allocations: 128.1 kB / 0.8971 GB, free: 30.98 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/1.708, allocations: 11.92 kB / 0.8971 GB, free: 30.97 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001762/1.71, allocations: 1.715 MB / 0.8988 GB, free: 29.25 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.05885/1.769, allocations: 34.48 MB / 0.9325 GB, free: 11.07 MB / 0.6079 GB Notification: Performance of sort global known variables: time 3.51e-07/1.769, allocations: 0 / 0.9325 GB, free: 11.07 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.006279/1.775, allocations: 1.26 MB / 0.9337 GB, free: 9.82 MB / 0.6079 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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.0006382/1.776, allocations: 245.2 kB / 0.9339 GB, free: 9.578 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.002058/1.778, allocations: 1.245 MB / 0.9351 GB, free: 8.324 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.778, allocations: 0 / 0.9351 GB, free: 8.324 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.001103/1.779, allocations: 0.7138 MB / 0.9358 GB, free: 7.602 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01781/1.797, allocations: 3.387 MB / 0.9392 GB, free: 4.215 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1365/1.933, allocations: 81.11 MB / 1.018 GB, free: 3.523 MB / 0.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3748/2.308, allocations: 17.33 MB / 1.035 GB, free: 198 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004268/2.313, allocations: 1.962 MB / 1.037 GB, free: 198 MB / 0.686 GB Notification: Performance of SimCode: time 1.212e-06/2.313, allocations: 3.562 kB / 1.037 GB, free: 198 MB / 0.686 GB Notification: Performance of Templates: time 19.28/21.59, allocations: 6.088 GB / 7.125 GB, free: 114.5 MB / 0.7954 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches