Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001378/0.001378, allocations: 113.6 kB / 17.69 MB, free: 5.309 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.001455/0.001455, allocations: 192 kB / 18.63 MB, free: 4.375 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.436/1.436, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.197/1.197, allocations: 119.3 MB / 411.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 59.91 kB / 0.4924 GB, free: 13.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6195/0.6208, allocations: 80.69 MB / 0.5712 GB, free: 43.49 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.00304/0.6239, allocations: 1.405 MB / 0.5725 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.6251, allocations: 0.573 MB / 0.5731 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.283e-05/0.6252, allocations: 5.062 kB / 0.5731 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003307/0.6255, allocations: 227.8 kB / 0.5733 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0004794/0.626, allocations: 273.5 kB / 0.5736 GB, free: 41.69 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.6263, allocations: 80.31 kB / 0.5737 GB, free: 41.64 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005692/0.6269, allocations: 0.5981 MB / 0.5742 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.734e-05/0.627, allocations: 2.438 kB / 0.5742 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003756/0.6274, allocations: 312.3 kB / 0.5745 GB, free: 41.19 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006304/0.628, allocations: 0.5286 MB / 0.5751 GB, free: 40.98 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 8.356e-05/0.6281, allocations: 38.36 kB / 0.5751 GB, free: 40.98 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.6283, allocations: 111.7 kB / 0.5752 GB, free: 40.94 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.001299/0.6296, allocations: 1.254 MB / 0.5764 GB, free: 40.32 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0004501/0.6301, allocations: 0.7229 MB / 0.5771 GB, free: 39.71 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001421/0.6315, allocations: 1.622 MB / 0.5787 GB, free: 38.7 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.6315, allocations: 0.9062 kB / 0.5787 GB, free: 38.7 MB / 462.3 MB Notification: Performance of FrontEnd: time 4.038e-06/0.6315, allocations: 3.984 kB / 0.5787 GB, free: 38.7 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.885e-05/0.6315, allocations: 0 / 0.5787 GB, free: 38.7 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.00344/0.635, allocations: 2.765 MB / 0.5814 GB, free: 36.53 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 6.666e-05/0.6351, allocations: 10.12 kB / 0.5814 GB, free: 36.53 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006772/0.6358, allocations: 289.5 kB / 0.5817 GB, free: 36.37 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006225/0.642, allocations: 3.328 MB / 0.585 GB, free: 34.34 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.642, allocations: 2.5 kB / 0.585 GB, free: 34.34 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.035e-05/0.6421, allocations: 10.5 kB / 0.585 GB, free: 34.34 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.6424, allocations: 146.6 kB / 0.5851 GB, free: 34.27 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.6424, allocations: 0 / 0.5851 GB, free: 34.27 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.6424, allocations: 13 kB / 0.5851 GB, free: 34.26 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.6424, allocations: 1.188 kB / 0.5851 GB, free: 34.26 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.6426, allocations: 72.31 kB / 0.5852 GB, free: 34.25 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.6439, allocations: 1.009 MB / 0.5862 GB, free: 33.58 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.644, allocations: 73.08 kB / 0.5862 GB, free: 33.54 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.6442, allocations: 67.58 kB / 0.5863 GB, free: 33.52 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.6442, allocations: 1.156 kB / 0.5863 GB, free: 33.52 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002336/0.6444, allocations: 178.8 kB / 0.5865 GB, free: 33.39 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.6444, allocations: 4 kB / 0.5865 GB, free: 33.39 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0009301/0.6454, allocations: 0.6544 MB / 0.5871 GB, free: 32.93 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.6454, allocations: 81.09 kB / 0.5872 GB, free: 32.84 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002829/0.6482, allocations: 3.185 MB / 0.5903 GB, free: 29.67 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.6483, allocations: 37.7 kB / 0.5903 GB, free: 29.63 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009187/0.6492, allocations: 1.232 MB / 0.5915 GB, free: 28.39 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.84e-05/0.6493, allocations: 27.8 kB / 0.5916 GB, free: 28.37 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.484e-05/0.6494, allocations: 73.72 kB / 0.5916 GB, free: 28.29 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.151e-05/0.6494, allocations: 314 kB / 0.5919 GB, free: 27.98 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.697e-05/0.6495, allocations: 48 kB / 0.592 GB, free: 27.93 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.462e-05/0.6496, allocations: 51.92 kB / 0.592 GB, free: 27.88 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.6498, allocations: 164.3 kB / 0.5922 GB, free: 27.7 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6498, allocations: 0 / 0.5922 GB, free: 27.7 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005939/0.6504, allocations: 0.6127 MB / 0.5928 GB, free: 27.07 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/0.6504, allocations: 36.2 kB / 0.5928 GB, free: 27.04 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.6504, allocations: 0 / 0.5928 GB, free: 27.04 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.6505, allocations: 0 / 0.5928 GB, free: 27.04 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.102e-05/0.6506, allocations: 7.984 kB / 0.5928 GB, free: 27.03 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.6506, allocations: 4 kB / 0.5928 GB, free: 27.02 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.6509, allocations: 15.94 kB / 0.5929 GB, free: 27.01 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.481e-05/0.6509, allocations: 112 kB / 0.593 GB, free: 26.9 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.0006292/0.6516, allocations: 0.749 MB / 0.5937 GB, free: 26.13 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.6518, allocations: 304 kB / 0.594 GB, free: 25.83 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.652, allocations: 333.8 kB / 0.5943 GB, free: 25.5 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.652, allocations: 0 / 0.5943 GB, free: 25.5 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.652, allocations: 0 / 0.5943 GB, free: 25.5 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.6521, allocations: 0 / 0.5943 GB, free: 25.5 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008285/0.6529, allocations: 1.097 MB / 0.5954 GB, free: 24.36 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.6529, allocations: 0 / 0.5954 GB, free: 24.36 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.308e-05/0.6529, allocations: 7.938 kB / 0.5954 GB, free: 24.35 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.6529, allocations: 0 / 0.5954 GB, free: 24.35 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.605e-05/0.653, allocations: 31.98 kB / 0.5954 GB, free: 24.32 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.653, allocations: 0 / 0.5954 GB, free: 24.32 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.653, allocations: 0 / 0.5954 GB, free: 24.32 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000596/0.6536, allocations: 0.6652 MB / 0.5961 GB, free: 23.63 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004438/0.654, allocations: 345.3 kB / 0.5964 GB, free: 23.27 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.6542, allocations: 12 kB / 0.5964 GB, free: 23.26 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.6544, allocations: 12 kB / 0.5964 GB, free: 23.25 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.6544, allocations: 11.94 kB / 0.5964 GB, free: 23.23 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-05/0.6545, allocations: 116 kB / 0.5965 GB, free: 23.12 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.001954/0.6565, allocations: 2.207 MB / 0.5987 GB, free: 20.93 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6565, allocations: 0 / 0.5987 GB, free: 20.93 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003865/0.6569, allocations: 104 kB / 0.5988 GB, free: 20.83 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.0001791/0.6571, allocations: 135.8 kB / 0.5989 GB, free: 20.69 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002998/0.6574, allocations: 211.4 kB / 0.5991 GB, free: 20.47 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6574, allocations: 0 / 0.5991 GB, free: 20.47 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.6575, allocations: 147.4 kB / 0.5993 GB, free: 20.32 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007274/0.6583, allocations: 224.6 kB / 0.5995 GB, free: 20.09 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004311/0.6626, allocations: 4.163 MB / 0.6035 GB, free: 15.89 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009496/0.6636, allocations: 1.691 MB / 0.6052 GB, free: 14.17 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.001079/0.6646, allocations: 0.5923 MB / 0.6058 GB, free: 13.57 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.6648, allocations: 131.4 kB / 0.6059 GB, free: 13.45 MB / 462.3 MB Notification: Performance of SimCode: time 9.42e-07/0.6648, allocations: 4 kB / 0.6059 GB, free: 13.44 MB / 462.3 MB Notification: Performance of Templates: time 0.02443/0.6892, allocations: 10.67 MB / 0.6163 GB, free: 2.73 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250 -abortSlowSimulation -alarm=300 -s cvode -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches