Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.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_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 111.5 kB / 17.69 MB, free: 5.438 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.001305/0.001305, allocations: 192 kB / 18.63 MB, free: 4.508 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.305/1.305, allocations: 222.9 MB / 242.3 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 0.8349/0.8349, allocations: 119.3 MB / 411.8 MB, free: 9.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001366, allocations: 67.89 kB / 0.4924 GB, free: 13.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4506/0.452, allocations: 80.69 MB / 0.5712 GB, free: 43.5 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125): time 0.002283/0.4543, allocations: 1.402 MB / 0.5725 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008073/0.4551, allocations: 0.5801 MB / 0.5731 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.982e-05/0.4552, allocations: 1.312 kB / 0.5731 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001849/0.4554, allocations: 117.2 kB / 0.5732 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.4557, allocations: 162.7 kB / 0.5734 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.4559, allocations: 80.12 kB / 0.5734 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002651/0.4562, allocations: 341.9 kB / 0.5738 GB, free: 41.58 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.765e-05/0.4562, allocations: 3.062 kB / 0.5738 GB, free: 41.58 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.4564, allocations: 175.6 kB / 0.5739 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.4567, allocations: 278 kB / 0.5742 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.679e-05/0.4567, allocations: 26.17 kB / 0.5742 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.4569, allocations: 96.98 kB / 0.5743 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0005778/0.4575, allocations: 0.6271 MB / 0.5749 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.4577, allocations: 378.4 kB / 0.5753 GB, free: 40.72 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000547/0.4582, allocations: 0.8603 MB / 0.5761 GB, free: 40.19 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4582, allocations: 0 / 0.5761 GB, free: 40.19 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.502e-06/0.4582, allocations: 0 / 0.5761 GB, free: 40.19 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.4583, allocations: 0 / 0.5761 GB, free: 40.19 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.001341/0.4596, allocations: 1.568 MB / 0.5777 GB, free: 38.9 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.4596, allocations: 8.844 kB / 0.5777 GB, free: 38.9 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.4598, allocations: 144.2 kB / 0.5778 GB, free: 38.82 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002233/0.462, allocations: 1.761 MB / 0.5795 GB, free: 37.69 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.462, allocations: 1.312 kB / 0.5795 GB, free: 37.69 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.4621, allocations: 6.844 kB / 0.5795 GB, free: 37.69 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.4622, allocations: 96.08 kB / 0.5796 GB, free: 37.64 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.4623, allocations: 0 / 0.5796 GB, free: 37.64 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.4623, allocations: 8.594 kB / 0.5796 GB, free: 37.63 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.4623, allocations: 0.9375 kB / 0.5796 GB, free: 37.63 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.898e-05/0.4624, allocations: 49.73 kB / 0.5797 GB, free: 37.62 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005308/0.4629, allocations: 0.5939 MB / 0.5803 GB, free: 37.18 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 7.61e-05/0.463, allocations: 53.53 kB / 0.5803 GB, free: 37.14 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.046e-05/0.4631, allocations: 42.31 kB / 0.5804 GB, free: 37.12 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.4631, allocations: 0 / 0.5804 GB, free: 37.12 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.4633, allocations: 151.5 kB / 0.5805 GB, free: 37 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.103e-06/0.4633, allocations: 0 / 0.5805 GB, free: 37 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0005199/0.4638, allocations: 409.6 kB / 0.5809 GB, free: 36.82 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.4638, allocations: 79.64 kB / 0.581 GB, free: 36.72 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/0.4653, allocations: 1.634 MB / 0.5826 GB, free: 35.98 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.4654, allocations: 30.77 kB / 0.5826 GB, free: 35.95 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003704/0.4657, allocations: 0.6276 MB / 0.5832 GB, free: 35.41 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.4658, allocations: 27.45 kB / 0.5832 GB, free: 35.39 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.319e-05/0.4659, allocations: 47.97 kB / 0.5833 GB, free: 35.37 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.08e-05/0.4659, allocations: 307.2 kB / 0.5836 GB, free: 35.06 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.926e-05/0.466, allocations: 36.73 kB / 0.5836 GB, free: 35.05 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.041e-05/0.466, allocations: 31.41 kB / 0.5836 GB, free: 35.04 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.4662, allocations: 138.4 kB / 0.5838 GB, free: 34.95 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4662, allocations: 0.9375 kB / 0.5838 GB, free: 34.95 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004084/0.4666, allocations: 381.6 kB / 0.5841 GB, free: 34.77 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.4666, allocations: 36.89 kB / 0.5842 GB, free: 34.73 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.4667, allocations: 0 / 0.5842 GB, free: 34.73 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.4667, allocations: 1.125 kB / 0.5842 GB, free: 34.73 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.448e-05/0.4668, allocations: 4.281 kB / 0.5842 GB, free: 34.73 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.4668, allocations: 0 / 0.5842 GB, free: 34.73 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.4669, allocations: 14.55 kB / 0.5842 GB, free: 34.72 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.204e-05/0.467, allocations: 58.25 kB / 0.5842 GB, free: 34.71 MB / 462.3 MB 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.0003888/0.4674, allocations: 453.1 kB / 0.5847 GB, free: 34.46 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.4675, allocations: 156.6 kB / 0.5848 GB, free: 34.38 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.4677, allocations: 169.8 kB / 0.585 GB, free: 34.3 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4677, allocations: 1.062 kB / 0.585 GB, free: 34.3 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.4677, allocations: 0 / 0.585 GB, free: 34.3 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4677, allocations: 1.094 kB / 0.585 GB, free: 34.3 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004871/0.4682, allocations: 0.6326 MB / 0.5856 GB, free: 33.85 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4682, allocations: 4 kB / 0.5856 GB, free: 33.85 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.104e-05/0.4682, allocations: 7.188 kB / 0.5856 GB, free: 33.84 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.4682, allocations: 1.219 kB / 0.5856 GB, free: 33.84 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.4683, allocations: 17.62 kB / 0.5856 GB, free: 33.84 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.4683, allocations: 5.047 kB / 0.5856 GB, free: 33.84 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.4683, allocations: 0 / 0.5856 GB, free: 33.84 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003979/0.4687, allocations: 427 kB / 0.586 GB, free: 33.62 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002436/0.4689, allocations: 214.8 kB / 0.5863 GB, free: 33.43 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.554e-05/0.469, allocations: 10.69 kB / 0.5863 GB, free: 33.43 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.4691, allocations: 6.5 kB / 0.5863 GB, free: 33.43 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.4692, allocations: 6.219 kB / 0.5863 GB, free: 33.43 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.824e-05/0.4692, allocations: 66.05 kB / 0.5863 GB, free: 33.41 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0009552/0.4702, allocations: 1.143 MB / 0.5875 GB, free: 32.46 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4702, allocations: 0 / 0.5875 GB, free: 32.46 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002813/0.4705, allocations: 68 kB / 0.5875 GB, free: 32.39 MB / 462.3 MB 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.0001433/0.4706, allocations: 138.6 kB / 0.5877 GB, free: 32.25 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002042/0.4708, allocations: 179.3 kB / 0.5878 GB, free: 32.07 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4709, allocations: 0 / 0.5878 GB, free: 32.07 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 8.98e-05/0.471, allocations: 131.4 kB / 0.5879 GB, free: 31.93 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.4714, allocations: 114.4 kB / 0.5881 GB, free: 31.81 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.4732, allocations: 2.104 MB / 0.5901 GB, free: 29.68 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/0.4737, allocations: 1.18 MB / 0.5913 GB, free: 28.47 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0004672/0.4742, allocations: 301.8 kB / 0.5916 GB, free: 28.17 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.103e-05/0.4742, allocations: 71.44 kB / 0.5916 GB, free: 28.1 MB / 462.3 MB Notification: Performance of SimCode: time 4.71e-07/0.4742, allocations: 0 / 0.5916 GB, free: 28.1 MB / 462.3 MB Notification: Performance of Templates: time 0.01116/0.4854, allocations: 5.748 MB / 0.5972 GB, free: 22.27 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125 -abortSlowSimulation -alarm=300 -s gbode -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches