Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 113.3 kB / 17.29 MB, free: 6.059 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.001029/0.001029, allocations: 197.3 kB / 18.21 MB, free: 5.145 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.364/1.364, allocations: 222.9 MB / 241.9 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.137/1.137, allocations: 119.3 MB / 411.3 MB, free: 9.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 63.89 kB / 0.4911 GB, free: 14.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6198/0.6213, allocations: 80.68 MB / 0.5699 GB, free: 43.41 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.002911/0.6242, allocations: 1.479 MB / 0.5713 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.6253, allocations: 0.5671 MB / 0.5719 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.509e-05/0.6254, allocations: 0 / 0.5719 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001351/0.6267, allocations: 1.721 MB / 0.5735 GB, free: 40.94 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.00154/0.6283, allocations: 1.754 MB / 0.5753 GB, free: 40.05 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.6287, allocations: 74.02 kB / 0.5753 GB, free: 40.01 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.004901/0.6336, allocations: 4.311 MB / 0.5795 GB, free: 37.91 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.435e-05/0.6337, allocations: 3.781 kB / 0.5795 GB, free: 37.91 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004696/0.6384, allocations: 2.138 MB / 0.5816 GB, free: 36.89 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00576/0.6442, allocations: 4.067 MB / 0.5856 GB, free: 33.73 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0005423/0.6448, allocations: 252 kB / 0.5858 GB, free: 33.48 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005317/0.6453, allocations: 323.9 kB / 0.5862 GB, free: 33.16 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.006728/0.652, allocations: 9.958 MB / 0.5959 GB, free: 23.18 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.005378/0.6575, allocations: 5.632 MB / 0.6014 GB, free: 17.49 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.005645/0.6631, allocations: 9.334 MB / 0.6105 GB, free: 8.133 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.6631, allocations: 3.984 kB / 0.6105 GB, free: 8.129 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.406e-06/0.6632, allocations: 4 kB / 0.6105 GB, free: 8.125 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0003015/0.6635, allocations: 3.938 kB / 0.6105 GB, free: 8.121 MB / 462.3 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.02843/0.6919, allocations: 19.56 MB / 0.6296 GB, free: 4.332 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 6.252e-05/0.692, allocations: 8.031 kB / 0.6296 GB, free: 4.324 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003523/0.6955, allocations: 2.202 MB / 0.6318 GB, free: 2.094 MB / 478.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05551/0.7511, allocations: 25.83 MB / 0.657 GB, free: 8.066 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.7511, allocations: 384 / 0.657 GB, free: 8.066 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.7513, allocations: 64.38 kB / 0.6571 GB, free: 8.004 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.7523, allocations: 0.7864 MB / 0.6578 GB, free: 7.211 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.7523, allocations: 3.938 kB / 0.6578 GB, free: 7.207 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/0.7525, allocations: 64 kB / 0.6579 GB, free: 7.145 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.7525, allocations: 0 / 0.6579 GB, free: 7.145 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006003/0.7531, allocations: 459.9 kB / 0.6583 GB, free: 6.695 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01391/0.767, allocations: 6.992 MB / 0.6652 GB, free: 15.65 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000822/0.7679, allocations: 298.6 kB / 0.6654 GB, free: 15.35 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004543/0.7683, allocations: 276.9 kB / 0.6657 GB, free: 15.07 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.7684, allocations: 0 / 0.6657 GB, free: 15.07 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009196/0.7693, allocations: 0.7074 MB / 0.6664 GB, free: 14.35 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 2.384e-06/0.7693, allocations: 0 / 0.6664 GB, free: 14.35 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.006738/0.776, allocations: 4.232 MB / 0.6705 GB, free: 10.07 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/0.7761, allocations: 89.09 kB / 0.6706 GB, free: 9.969 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04279/0.8189, allocations: 24.83 MB / 0.6949 GB, free: 1.344 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003703/0.8193, allocations: 89.7 kB / 0.6949 GB, free: 1.25 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.01232/0.8317, allocations: 10.83 MB / 0.7055 GB, free: 6.422 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005779/0.8323, allocations: 79.8 kB / 0.7056 GB, free: 6.344 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000518/0.8328, allocations: 457.7 kB / 0.706 GB, free: 5.891 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.8329, allocations: 310 kB / 0.7063 GB, free: 5.582 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004174/0.8334, allocations: 268 kB / 0.7066 GB, free: 5.32 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004004/0.8338, allocations: 271.9 kB / 0.7068 GB, free: 5.055 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008875/0.8347, allocations: 0.59 MB / 0.7074 GB, free: 4.449 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.8347, allocations: 0 / 0.7074 GB, free: 4.449 MB / 0.5452 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.005945/0.8406, allocations: 3.974 MB / 0.7113 GB, free: 444 kB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 5.331e-05/0.8407, allocations: 37.7 kB / 0.7113 GB, free: 400 kB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.8407, allocations: 0 / 0.7113 GB, free: 400 kB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.8407, allocations: 0 / 0.7113 GB, free: 400 kB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.533e-05/0.8408, allocations: 7.938 kB / 0.7113 GB, free: 392 kB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.8408, allocations: 7.984 kB / 0.7113 GB, free: 384 kB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003475/0.8443, allocations: 67.94 kB / 0.7114 GB, free: 316 kB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008153/0.8452, allocations: 0.8594 MB / 0.7122 GB, free: 15.45 MB / 0.5608 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.008243/0.8534, allocations: 4.914 MB / 0.717 GB, free: 10.52 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00383/0.8573, allocations: 2.271 MB / 0.7193 GB, free: 8.219 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005142/0.8624, allocations: 2.565 MB / 0.7218 GB, free: 5.645 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.8624, allocations: 0 / 0.7218 GB, free: 5.645 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.8624, allocations: 0 / 0.7218 GB, free: 5.645 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.8625, allocations: 0 / 0.7218 GB, free: 5.645 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01375/0.8762, allocations: 7.617 MB / 0.7292 GB, free: 13.97 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.8763, allocations: 0 / 0.7292 GB, free: 13.97 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.615e-05/0.8763, allocations: 7.938 kB / 0.7292 GB, free: 13.96 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.595e-06/0.8764, allocations: 4 kB / 0.7292 GB, free: 13.96 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006374/0.877, allocations: 188 kB / 0.7294 GB, free: 13.78 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.706e-06/0.877, allocations: 4 kB / 0.7294 GB, free: 13.77 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.877, allocations: 3.984 kB / 0.7294 GB, free: 13.77 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005958/0.883, allocations: 4.17 MB / 0.7335 GB, free: 9.551 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004298/0.8873, allocations: 1.983 MB / 0.7354 GB, free: 7.52 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001915/0.8892, allocations: 64.09 kB / 0.7355 GB, free: 7.457 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001704/0.891, allocations: 71.94 kB / 0.7355 GB, free: 7.387 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.891, allocations: 8 kB / 0.7356 GB, free: 7.379 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006966/0.8917, allocations: 0.8555 MB / 0.7364 GB, free: 6.523 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.03092/0.9226, allocations: 17.24 MB / 0.7532 GB, free: 5.434 MB / 0.592 GB Notification: Performance of sort global known variables: time 1.503e-06/0.9227, allocations: 0 / 0.7532 GB, free: 5.434 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.003581/0.9263, allocations: 0.6406 MB / 0.7539 GB, free: 4.793 MB / 0.592 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.0003852/0.9267, allocations: 189.3 kB / 0.754 GB, free: 4.602 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.001174/0.9279, allocations: 0.6868 MB / 0.7547 GB, free: 3.902 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.9279, allocations: 4 kB / 0.7547 GB, free: 3.898 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.0005837/0.9285, allocations: 423.4 kB / 0.7551 GB, free: 3.473 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005802/0.9343, allocations: 1.692 MB / 0.7568 GB, free: 1.777 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5648/1.499, allocations: 39.9 MB / 0.7957 GB, free: 146.6 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01283/1.512, allocations: 8.913 MB / 0.8044 GB, free: 137.7 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001736/1.514, allocations: 0.9909 MB / 0.8054 GB, free: 136.7 MB / 0.5923 GB Notification: Performance of SimCode: time 1.563e-06/1.514, allocations: 0 / 0.8054 GB, free: 136.7 MB / 0.5923 GB Notification: Performance of Templates: time 4.696/6.21, allocations: 1.617 GB / 2.422 GB, free: 171 MB / 0.7017 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches