Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_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.TimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 88.59 kB / 16.31 MB, free: 6.453 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.001159/0.001159, allocations: 183.1 kB / 17.21 MB, free: 6.324 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.553/1.553, allocations: 223.2 MB / 241.2 MB, free: 328 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.125/1.125, allocations: 120.5 MB / 412.8 MB, free: 9.199 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.000357, allocations: 12 kB / 0.4943 GB, free: 11.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6532/0.6535, allocations: 82.84 MB / 0.5752 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.001384/0.655, allocations: 1.121 MB / 0.5763 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007944/0.6558, allocations: 0.5281 MB / 0.5768 GB, free: 40.68 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.633e-05/0.6559, allocations: 0 / 0.5768 GB, free: 40.68 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.6562, allocations: 250.5 kB / 0.577 GB, free: 40.57 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0004012/0.6566, allocations: 287.4 kB / 0.5773 GB, free: 40.44 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.6568, allocations: 67.33 kB / 0.5774 GB, free: 40.39 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004009/0.6573, allocations: 0.5037 MB / 0.5779 GB, free: 40.11 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.148e-05/0.6573, allocations: 2.75 kB / 0.5779 GB, free: 40.11 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002894/0.6576, allocations: 311.4 kB / 0.5782 GB, free: 39.97 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000569/0.6582, allocations: 0.5363 MB / 0.5787 GB, free: 39.75 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 8.997e-05/0.6583, allocations: 33.22 kB / 0.5787 GB, free: 39.75 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.6585, allocations: 97.41 kB / 0.5788 GB, free: 39.72 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.001247/0.6598, allocations: 1.25 MB / 0.58 GB, free: 39.12 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.66, allocations: 285.8 kB / 0.5803 GB, free: 38.9 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0009775/0.661, allocations: 1.179 MB / 0.5814 GB, free: 38.25 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.661, allocations: 0.9375 kB / 0.5814 GB, free: 38.25 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.553e-06/0.661, allocations: 0 / 0.5814 GB, free: 38.25 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.008e-05/0.661, allocations: 0 / 0.5814 GB, free: 38.25 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.002363/0.6634, allocations: 2.509 MB / 0.5839 GB, free: 36.26 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.6634, allocations: 12.59 kB / 0.5839 GB, free: 36.26 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000259/0.6637, allocations: 292.5 kB / 0.5842 GB, free: 36.09 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004486/0.6682, allocations: 3.165 MB / 0.5873 GB, free: 33.88 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.6682, allocations: 0 / 0.5873 GB, free: 33.88 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.6683, allocations: 12 kB / 0.5873 GB, free: 33.86 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.6685, allocations: 141.6 kB / 0.5874 GB, free: 33.72 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.6685, allocations: 3.984 kB / 0.5874 GB, free: 33.71 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.6685, allocations: 12 kB / 0.5874 GB, free: 33.7 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.6685, allocations: 0 / 0.5874 GB, free: 33.7 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.6686, allocations: 79.88 kB / 0.5875 GB, free: 33.62 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009347/0.6696, allocations: 1.007 MB / 0.5885 GB, free: 32.57 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 9.826e-05/0.6697, allocations: 66.58 kB / 0.5886 GB, free: 32.5 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.54e-05/0.6698, allocations: 60.89 kB / 0.5886 GB, free: 32.44 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.6698, allocations: 0 / 0.5886 GB, free: 32.44 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002251/0.67, allocations: 184.9 kB / 0.5888 GB, free: 32.24 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.67, allocations: 0 / 0.5888 GB, free: 32.24 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0007249/0.6708, allocations: 0.6481 MB / 0.5894 GB, free: 31.57 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.6708, allocations: 85.11 kB / 0.5895 GB, free: 31.47 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002657/0.6735, allocations: 3.181 MB / 0.5926 GB, free: 28.31 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.6735, allocations: 37.7 kB / 0.5927 GB, free: 28.27 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007838/0.6743, allocations: 1.24 MB / 0.5939 GB, free: 27.03 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.166e-05/0.6744, allocations: 23.72 kB / 0.5939 GB, free: 27 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.877e-05/0.6744, allocations: 16 kB / 0.5939 GB, free: 26.99 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.052e-05/0.6745, allocations: 306 kB / 0.5942 GB, free: 26.68 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.371e-05/0.6745, allocations: 47.98 kB / 0.5942 GB, free: 26.64 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.523e-05/0.6746, allocations: 48 kB / 0.5943 GB, free: 26.59 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.069e-05/0.6747, allocations: 77.69 kB / 0.5944 GB, free: 26.51 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6747, allocations: 4.031 kB / 0.5944 GB, free: 26.5 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005429/0.6753, allocations: 0.605 MB / 0.595 GB, free: 25.88 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.703e-05/0.6753, allocations: 41.69 kB / 0.595 GB, free: 25.84 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.6753, allocations: 0 / 0.595 GB, free: 25.84 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.6753, allocations: 4 kB / 0.595 GB, free: 25.83 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.741e-05/0.6754, allocations: 4 kB / 0.595 GB, free: 25.83 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.6754, allocations: 0 / 0.595 GB, free: 25.83 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.6757, allocations: 19.89 kB / 0.595 GB, free: 25.81 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-05/0.6757, allocations: 112 kB / 0.5951 GB, free: 25.7 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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006536/0.6764, allocations: 0.7411 MB / 0.5959 GB, free: 24.94 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.6766, allocations: 292.2 kB / 0.5961 GB, free: 24.65 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002527/0.6768, allocations: 333.8 kB / 0.5964 GB, free: 24.32 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.6768, allocations: 4 kB / 0.5965 GB, free: 24.32 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6768, allocations: 4 kB / 0.5965 GB, free: 24.31 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.6769, allocations: 0 / 0.5965 GB, free: 24.31 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007613/0.6776, allocations: 1.1 MB / 0.5975 GB, free: 23.17 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.6776, allocations: 0 / 0.5975 GB, free: 23.17 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.348e-05/0.6777, allocations: 4 kB / 0.5975 GB, free: 23.16 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.6777, allocations: 0 / 0.5975 GB, free: 23.16 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.6777, allocations: 24 kB / 0.5976 GB, free: 23.14 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.6777, allocations: 4 kB / 0.5976 GB, free: 23.14 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.6777, allocations: 0 / 0.5976 GB, free: 23.14 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005415/0.6783, allocations: 0.6806 MB / 0.5982 GB, free: 22.43 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002674/0.6785, allocations: 329.2 kB / 0.5985 GB, free: 22.09 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.6787, allocations: 16 kB / 0.5986 GB, free: 22.07 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.6789, allocations: 15.94 kB / 0.5986 GB, free: 22.05 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.6789, allocations: 3.984 kB / 0.5986 GB, free: 22.05 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-05/0.679, allocations: 112 kB / 0.5987 GB, free: 21.94 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.002016/0.681, allocations: 2.199 MB / 0.6008 GB, free: 19.76 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.681, allocations: 0 / 0.6008 GB, free: 19.76 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003994/0.6814, allocations: 104 kB / 0.6009 GB, free: 19.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001732/0.6816, allocations: 135.2 kB / 0.6011 GB, free: 19.52 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002814/0.6819, allocations: 203.6 kB / 0.6013 GB, free: 19.31 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6819, allocations: 0 / 0.6013 GB, free: 19.31 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.682, allocations: 155.3 kB / 0.6014 GB, free: 19.14 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006198/0.6827, allocations: 228.8 kB / 0.6016 GB, free: 18.92 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004785/0.6874, allocations: 4.44 MB / 0.606 GB, free: 14.44 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009294/0.6884, allocations: 1.691 MB / 0.6076 GB, free: 12.72 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.001243/0.6897, allocations: 0.5843 MB / 0.6082 GB, free: 12.13 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.6898, allocations: 135.4 kB / 0.6083 GB, free: 12 MB / 462.3 MB Notification: Performance of SimCode: time 1.553e-06/0.6898, allocations: 0 / 0.6083 GB, free: 12 MB / 462.3 MB Notification: Performance of Templates: time 0.02237/0.7122, allocations: 10.44 MB / 0.6185 GB, free: 1.504 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches