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.001877/0.001877, allocations: 115.1 kB / 17.29 MB, free: 6.219 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.002027/0.002027, allocations: 193.9 kB / 18.21 MB, free: 5.293 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.404/1.404, allocations: 222.9 MB / 241.9 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.129/1.129, allocations: 119.3 MB / 411.4 MB, free: 9.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 55.91 kB / 0.4911 GB, free: 14.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5435/0.5447, allocations: 80.68 MB / 0.5699 GB, free: 42.92 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.002638/0.5474, allocations: 1.476 MB / 0.5713 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000985/0.5484, allocations: 0.5711 MB / 0.5719 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.013e-05/0.5485, allocations: 1.156 kB / 0.5719 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.5488, allocations: 224 kB / 0.5721 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0004091/0.5492, allocations: 268.3 kB / 0.5723 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.5495, allocations: 74.47 kB / 0.5724 GB, free: 41.03 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005307/0.5501, allocations: 0.5933 MB / 0.573 GB, free: 40.74 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.48e-05/0.5501, allocations: 7.328 kB / 0.573 GB, free: 40.74 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003288/0.5505, allocations: 308.5 kB / 0.5733 GB, free: 40.59 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000497/0.551, allocations: 0.5294 MB / 0.5738 GB, free: 40.38 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 8.452e-05/0.5511, allocations: 34.44 kB / 0.5739 GB, free: 40.38 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.5512, allocations: 107.4 kB / 0.574 GB, free: 40.34 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.00121/0.5525, allocations: 1.254 MB / 0.5752 GB, free: 39.73 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0005069/0.553, allocations: 0.7188 MB / 0.5759 GB, free: 39.12 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.5541, allocations: 1.227 MB / 0.5771 GB, free: 38.45 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/0.5542, allocations: 0 / 0.5771 GB, free: 38.45 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5542, allocations: 0 / 0.5771 GB, free: 38.45 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.894e-05/0.5542, allocations: 0 / 0.5771 GB, free: 38.45 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.002628/0.5568, allocations: 2.768 MB / 0.5798 GB, free: 36.28 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.5569, allocations: 9.219 kB / 0.5798 GB, free: 36.28 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003347/0.5572, allocations: 285.4 kB / 0.5801 GB, free: 36.12 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00492/0.5622, allocations: 3.325 MB / 0.5833 GB, free: 34.08 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.5622, allocations: 1.656 kB / 0.5833 GB, free: 34.08 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.425e-05/0.5623, allocations: 9.812 kB / 0.5833 GB, free: 34.08 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.5625, allocations: 155 kB / 0.5835 GB, free: 34 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.5625, allocations: 0 / 0.5835 GB, free: 34 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.242e-05/0.5626, allocations: 9.688 kB / 0.5835 GB, free: 34 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.5626, allocations: 0 / 0.5835 GB, free: 34 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.5627, allocations: 69.59 kB / 0.5835 GB, free: 34 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.564, allocations: 1.012 MB / 0.5845 GB, free: 33.32 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.5641, allocations: 65.39 kB / 0.5846 GB, free: 33.29 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.5643, allocations: 68.11 kB / 0.5847 GB, free: 33.27 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 9.288e-06/0.5643, allocations: 0 / 0.5847 GB, free: 33.27 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003414/0.5646, allocations: 178.9 kB / 0.5848 GB, free: 33.14 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 2.585e-06/0.5646, allocations: 0 / 0.5848 GB, free: 33.14 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.001047/0.5657, allocations: 0.6518 MB / 0.5855 GB, free: 32.89 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.5657, allocations: 87.84 kB / 0.5856 GB, free: 32.79 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003142/0.5689, allocations: 3.182 MB / 0.5887 GB, free: 30.39 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.5689, allocations: 37.7 kB / 0.5887 GB, free: 30.35 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007499/0.5697, allocations: 1.24 MB / 0.5899 GB, free: 29.11 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.654e-05/0.5698, allocations: 23.94 kB / 0.5899 GB, free: 29.09 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.844e-05/0.5698, allocations: 77.72 kB / 0.59 GB, free: 29 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.796e-05/0.5699, allocations: 314 kB / 0.5903 GB, free: 28.69 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.247e-05/0.57, allocations: 47.94 kB / 0.5903 GB, free: 28.64 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.374e-05/0.5701, allocations: 51.98 kB / 0.5904 GB, free: 28.59 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.5702, allocations: 164.2 kB / 0.5906 GB, free: 28.42 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.5702, allocations: 0 / 0.5906 GB, free: 28.42 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005992/0.5709, allocations: 0.6167 MB / 0.5912 GB, free: 27.79 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.547e-05/0.5709, allocations: 34.48 kB / 0.5912 GB, free: 27.75 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.5709, allocations: 0 / 0.5912 GB, free: 27.75 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.5709, allocations: 4 kB / 0.5912 GB, free: 27.74 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.999e-05/0.571, allocations: 4 kB / 0.5912 GB, free: 27.74 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.571, allocations: 7.922 kB / 0.5912 GB, free: 27.73 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/0.5713, allocations: 15.94 kB / 0.5912 GB, free: 27.71 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-05/0.5714, allocations: 116 kB / 0.5913 GB, free: 27.6 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.0006336/0.5721, allocations: 0.7412 MB / 0.5921 GB, free: 26.84 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.5723, allocations: 304.1 kB / 0.5923 GB, free: 26.54 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/0.5725, allocations: 333.8 kB / 0.5927 GB, free: 26.21 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.5725, allocations: 0 / 0.5927 GB, free: 26.21 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.5725, allocations: 0 / 0.5927 GB, free: 26.21 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.5725, allocations: 0 / 0.5927 GB, free: 26.21 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000833/0.5734, allocations: 1.085 MB / 0.5937 GB, free: 25.08 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5734, allocations: 0 / 0.5937 GB, free: 25.08 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.435e-05/0.5734, allocations: 7.938 kB / 0.5937 GB, free: 25.07 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.5734, allocations: 0 / 0.5937 GB, free: 25.07 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.5735, allocations: 35.92 kB / 0.5938 GB, free: 25.04 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.5735, allocations: 8 kB / 0.5938 GB, free: 25.03 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5735, allocations: 96 / 0.5938 GB, free: 25.03 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005127/0.574, allocations: 0.6729 MB / 0.5944 GB, free: 24.33 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002854/0.5743, allocations: 337.3 kB / 0.5948 GB, free: 23.98 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.5744, allocations: 8 kB / 0.5948 GB, free: 23.97 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.5746, allocations: 12 kB / 0.5948 GB, free: 23.96 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.5746, allocations: 0 / 0.5948 GB, free: 23.96 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.076e-05/0.5747, allocations: 120 kB / 0.5949 GB, free: 23.84 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.001834/0.5766, allocations: 2.207 MB / 0.597 GB, free: 21.66 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5766, allocations: 0 / 0.597 GB, free: 21.66 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003599/0.5769, allocations: 112 kB / 0.5971 GB, free: 21.55 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.000174/0.5771, allocations: 131.2 kB / 0.5973 GB, free: 21.41 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002756/0.5774, allocations: 215.4 kB / 0.5975 GB, free: 21.19 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5774, allocations: 0 / 0.5975 GB, free: 21.19 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.5775, allocations: 147.3 kB / 0.5976 GB, free: 21.03 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006971/0.5782, allocations: 228.7 kB / 0.5978 GB, free: 20.8 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004471/0.5827, allocations: 4.848 MB / 0.6026 GB, free: 15.91 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008648/0.5836, allocations: 1.695 MB / 0.6042 GB, free: 14.19 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.5837, allocations: 135.4 kB / 0.6044 GB, free: 14.05 MB / 462.3 MB Notification: Performance of SimCode: time 8.01e-07/0.5837, allocations: 0 / 0.6044 GB, free: 14.05 MB / 462.3 MB Notification: Performance of Templates: time 0.08114/0.6649, allocations: 47.66 MB / 0.6509 GB, free: 14.32 MB / 0.4983 GB 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 -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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches