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.001343/0.001343, allocations: 101.6 kB / 16.5 MB, free: 6.648 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.001414/0.001414, allocations: 196.8 kB / 17.43 MB, free: 6.062 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.466/1.466, allocations: 222.9 MB / 241.1 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.113/1.113, allocations: 119.3 MB / 410.6 MB, free: 9.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 63.91 kB / 0.4903 GB, free: 14.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6391/0.6406, allocations: 80.69 MB / 0.5691 GB, free: 43.48 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.00236/0.643, allocations: 1.463 MB / 0.5705 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009745/0.644, allocations: 0.5929 MB / 0.5711 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.644, allocations: 0 / 0.5711 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002675/0.6443, allocations: 231.8 kB / 0.5713 GB, free: 41.76 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003693/0.6447, allocations: 268.6 kB / 0.5715 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.6449, allocations: 56.83 kB / 0.5716 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005875/0.6455, allocations: 0.5885 MB / 0.5722 GB, free: 41.3 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.793e-05/0.6456, allocations: 7.375 kB / 0.5722 GB, free: 41.29 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003593/0.6459, allocations: 303.9 kB / 0.5725 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004834/0.6464, allocations: 0.4986 MB / 0.573 GB, free: 40.94 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 8.8e-05/0.6465, allocations: 33.38 kB / 0.573 GB, free: 40.94 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.6467, allocations: 105.2 kB / 0.5731 GB, free: 40.9 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.001229/0.6479, allocations: 1.249 MB / 0.5743 GB, free: 40.29 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0004477/0.6484, allocations: 0.7202 MB / 0.575 GB, free: 39.68 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.6496, allocations: 1.568 MB / 0.5765 GB, free: 38.67 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/0.6496, allocations: 0.9062 kB / 0.5765 GB, free: 38.67 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.443e-06/0.6496, allocations: 0 / 0.5765 GB, free: 38.67 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.226e-05/0.6496, allocations: 0 / 0.5765 GB, free: 38.67 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.002815/0.6524, allocations: 2.765 MB / 0.5792 GB, free: 36.5 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.6525, allocations: 13.19 kB / 0.5793 GB, free: 36.49 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003372/0.6528, allocations: 284.9 kB / 0.5795 GB, free: 36.34 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00454/0.6574, allocations: 3.332 MB / 0.5828 GB, free: 34.3 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.6574, allocations: 1.625 kB / 0.5828 GB, free: 34.3 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.725e-05/0.6575, allocations: 10.75 kB / 0.5828 GB, free: 34.3 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.6577, allocations: 146.8 kB / 0.5829 GB, free: 34.23 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.6578, allocations: 4 kB / 0.5829 GB, free: 34.22 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.6578, allocations: 8.906 kB / 0.5829 GB, free: 34.22 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.6578, allocations: 1.344 kB / 0.5829 GB, free: 34.22 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.658, allocations: 76.2 kB / 0.583 GB, free: 34.21 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.6593, allocations: 1.002 MB / 0.584 GB, free: 33.55 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.6595, allocations: 77.16 kB / 0.5841 GB, free: 33.5 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.6596, allocations: 59.52 kB / 0.5841 GB, free: 33.48 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 8.607e-06/0.6596, allocations: 0 / 0.5841 GB, free: 33.48 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000376/0.66, allocations: 175.5 kB / 0.5843 GB, free: 33.36 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.66, allocations: 4 kB / 0.5843 GB, free: 33.36 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.001112/0.6611, allocations: 0.6597 MB / 0.5849 GB, free: 33.1 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.6612, allocations: 79.33 kB / 0.585 GB, free: 33 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003208/0.6644, allocations: 3.188 MB / 0.5881 GB, free: 30.13 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.6644, allocations: 33.7 kB / 0.5882 GB, free: 30.09 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009028/0.6653, allocations: 1.236 MB / 0.5894 GB, free: 28.85 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 8.581e-05/0.6654, allocations: 27.8 kB / 0.5894 GB, free: 28.82 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.6656, allocations: 81.7 kB / 0.5895 GB, free: 28.74 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.6657, allocations: 310 kB / 0.5898 GB, free: 28.43 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.726e-05/0.6658, allocations: 51.98 kB / 0.5898 GB, free: 28.38 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.422e-05/0.6659, allocations: 44 kB / 0.5899 GB, free: 28.34 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.6661, allocations: 164.2 kB / 0.59 GB, free: 28.16 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.6661, allocations: 0 / 0.59 GB, free: 28.16 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006223/0.6667, allocations: 0.6089 MB / 0.5906 GB, free: 27.54 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.719e-05/0.6668, allocations: 38.47 kB / 0.5907 GB, free: 27.49 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.6668, allocations: 0 / 0.5907 GB, free: 27.49 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.6668, allocations: 3.984 kB / 0.5907 GB, free: 27.49 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.694e-05/0.6669, allocations: 4 kB / 0.5907 GB, free: 27.48 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.6669, allocations: 11.92 kB / 0.5907 GB, free: 27.47 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002791/0.6672, allocations: 19.94 kB / 0.5907 GB, free: 27.45 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.469e-05/0.6673, allocations: 116 kB / 0.5908 GB, free: 27.34 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.0006555/0.668, allocations: 0.7411 MB / 0.5915 GB, free: 26.58 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/0.6682, allocations: 300.1 kB / 0.5918 GB, free: 26.29 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002951/0.6685, allocations: 333.8 kB / 0.5921 GB, free: 25.95 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.6685, allocations: 4 kB / 0.5921 GB, free: 25.95 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.6686, allocations: 96 / 0.5921 GB, free: 25.95 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.6686, allocations: 7.938 kB / 0.5921 GB, free: 25.94 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.6696, allocations: 1.089 MB / 0.5932 GB, free: 24.81 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6696, allocations: 0 / 0.5932 GB, free: 24.81 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.393e-05/0.6696, allocations: 3.938 kB / 0.5932 GB, free: 24.8 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.6696, allocations: 4 kB / 0.5932 GB, free: 24.8 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.505e-05/0.6697, allocations: 24 kB / 0.5932 GB, free: 24.78 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.6697, allocations: 0 / 0.5932 GB, free: 24.78 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6697, allocations: 0 / 0.5932 GB, free: 24.78 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005645/0.6702, allocations: 0.6728 MB / 0.5939 GB, free: 24.08 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000286/0.6705, allocations: 333.3 kB / 0.5942 GB, free: 23.73 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.6707, allocations: 12 kB / 0.5942 GB, free: 23.72 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.6709, allocations: 20 kB / 0.5942 GB, free: 23.7 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.6709, allocations: 3.938 kB / 0.5942 GB, free: 23.7 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.441e-05/0.671, allocations: 116 kB / 0.5944 GB, free: 23.58 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.001905/0.6729, allocations: 2.207 MB / 0.5965 GB, free: 21.39 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6729, allocations: 0 / 0.5965 GB, free: 21.39 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003746/0.6733, allocations: 112 kB / 0.5966 GB, free: 21.29 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.0001997/0.6735, allocations: 142 kB / 0.5968 GB, free: 21.14 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002915/0.6738, allocations: 199.4 kB / 0.5969 GB, free: 20.93 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6738, allocations: 0 / 0.5969 GB, free: 20.93 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.6739, allocations: 151.4 kB / 0.5971 GB, free: 20.77 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007278/0.6747, allocations: 236.5 kB / 0.5973 GB, free: 20.54 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004421/0.6791, allocations: 4.716 MB / 0.6019 GB, free: 15.79 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009046/0.68, allocations: 1.695 MB / 0.6036 GB, free: 14.06 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.001211/0.6812, allocations: 0.5845 MB / 0.6041 GB, free: 13.47 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.6813, allocations: 131.4 kB / 0.6043 GB, free: 13.34 MB / 462.3 MB Notification: Performance of SimCode: time 3.11e-07/0.6814, allocations: 0 / 0.6043 GB, free: 13.34 MB / 462.3 MB Notification: Performance of Templates: time 0.02119/0.7025, allocations: 10.43 MB / 0.6145 GB, free: 2.867 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 -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