Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/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) 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) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009762/0.0009762, allocations: 189.6 kB / 16.61 MB, free: 5.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.3426/0.3426, allocations: 225.6 MB / 243 MB, free: 4.145 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000869/0.000869, allocations: 98.88 kB / 293.2 MB, free: 11.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/package.mo): time 0.3959/0.3959, allocations: 119.5 MB / 462.8 MB, free: 10.6 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008442/0.0008442, allocations: 47.92 kB / 0.5413 GB, free: 10.63 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09941/0.1003, allocations: 80.68 MB / 0.6201 GB, free: 9.816 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.001862/0.1022, allocations: 1.478 MB / 0.6215 GB, free: 8.324 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007524/0.1029, allocations: 0.5884 MB / 0.6221 GB, free: 7.73 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.547e-05/0.103, allocations: 0 / 0.6221 GB, free: 7.73 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0004915/0.1035, allocations: 0.8615 MB / 0.623 GB, free: 6.867 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005472/0.104, allocations: 0.9044 MB / 0.6238 GB, free: 5.961 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.1043, allocations: 75.88 kB / 0.6239 GB, free: 5.887 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.001172/0.1054, allocations: 2.177 MB / 0.626 GB, free: 3.707 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 2.942e-05/0.1055, allocations: 4 kB / 0.6261 GB, free: 3.703 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008358/0.1063, allocations: 1.088 MB / 0.6271 GB, free: 2.613 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.1075, allocations: 2.04 MB / 0.6291 GB, free: 0.5703 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001848/0.1077, allocations: 132 kB / 0.6292 GB, free: 452 kB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002437/0.1079, allocations: 203.9 kB / 0.6294 GB, free: 248 kB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003386/0.1113, allocations: 4.983 MB / 0.6343 GB, free: 11.25 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001352/0.1127, allocations: 2.824 MB / 0.637 GB, free: 8.395 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.002953/0.1157, allocations: 6.134 MB / 0.643 GB, free: 2.227 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1157, allocations: 0 / 0.643 GB, free: 2.227 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1157, allocations: 0 / 0.643 GB, free: 2.227 MB / 458.8 MB Notification: Performance of Transformations before backend: time 3.739e-05/0.1157, allocations: 0 / 0.643 GB, free: 2.227 MB / 458.8 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.3326/0.4483, allocations: 9.958 MB / 0.6528 GB, free: 25 MB / 458.9 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.4484, allocations: 9.188 kB / 0.6528 GB, free: 25 MB / 458.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007971/0.4492, allocations: 1.107 MB / 0.6539 GB, free: 24.37 MB / 458.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01485/0.4641, allocations: 12.95 MB / 0.6665 GB, free: 18.82 MB / 458.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.4641, allocations: 1.656 kB / 0.6665 GB, free: 18.82 MB / 458.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.646e-05/0.4642, allocations: 36.5 kB / 0.6665 GB, free: 18.82 MB / 458.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004513/0.4646, allocations: 421.5 kB / 0.6669 GB, free: 18.69 MB / 458.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.271e-06/0.4646, allocations: 0 / 0.6669 GB, free: 18.69 MB / 458.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.536e-05/0.4647, allocations: 35.66 kB / 0.667 GB, free: 18.69 MB / 458.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.4647, allocations: 4.781 kB / 0.667 GB, free: 18.69 MB / 458.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002915/0.465, allocations: 243.1 kB / 0.6672 GB, free: 18.68 MB / 458.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0027/0.4677, allocations: 3.58 MB / 0.6707 GB, free: 16.55 MB / 458.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.4679, allocations: 162.9 kB / 0.6709 GB, free: 16.52 MB / 458.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.4682, allocations: 159.6 kB / 0.671 GB, free: 16.5 MB / 458.9 MB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.4682, allocations: 1.375 kB / 0.671 GB, free: 16.5 MB / 458.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000393/0.4686, allocations: 413 kB / 0.6714 GB, free: 16.31 MB / 458.9 MB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.4686, allocations: 0 / 0.6714 GB, free: 16.31 MB / 458.9 MB Notification: Performance of matching and sorting (n=8): time 0.002115/0.4707, allocations: 2.181 MB / 0.6735 GB, free: 15.59 MB / 458.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.4707, allocations: 89.06 kB / 0.6736 GB, free: 15.49 MB / 458.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007846/0.4786, allocations: 12.46 MB / 0.6858 GB, free: 3.324 MB / 458.9 MB Notification: Performance of collectPreVariables (initialization): time 7.304e-05/0.4787, allocations: 57.7 kB / 0.6858 GB, free: 3.262 MB / 458.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.002853/0.4815, allocations: 5.205 MB / 0.6909 GB, free: 14.05 MB / 474.9 MB Notification: Performance of collectInitialBindings (initialization): time 8.513e-05/0.4816, allocations: 55.36 kB / 0.691 GB, free: 14 MB / 474.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002417/0.4819, allocations: 241.7 kB / 0.6912 GB, free: 13.76 MB / 474.9 MB Notification: Performance of setup shared object (initialization): time 7.281e-05/0.4819, allocations: 310 kB / 0.6915 GB, free: 13.45 MB / 474.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.4821, allocations: 140 kB / 0.6916 GB, free: 13.31 MB / 474.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.4823, allocations: 146.4 kB / 0.6918 GB, free: 13.17 MB / 474.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004307/0.4828, allocations: 354.3 kB / 0.6921 GB, free: 12.81 MB / 474.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4828, allocations: 0 / 0.6921 GB, free: 12.81 MB / 474.9 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001676/0.4844, allocations: 2.047 MB / 0.6941 GB, free: 10.74 MB / 474.9 MB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/0.4845, allocations: 44.3 kB / 0.6942 GB, free: 10.69 MB / 474.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.4845, allocations: 3.938 kB / 0.6942 GB, free: 10.69 MB / 474.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.4845, allocations: 0 / 0.6942 GB, free: 10.69 MB / 474.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.741e-05/0.4846, allocations: 7.984 kB / 0.6942 GB, free: 10.68 MB / 474.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.4846, allocations: 0 / 0.6942 GB, free: 10.68 MB / 474.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006241/0.4852, allocations: 39.94 kB / 0.6942 GB, free: 10.64 MB / 474.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002923/0.4855, allocations: 436 kB / 0.6946 GB, free: 10.21 MB / 474.9 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.002075/0.4876, allocations: 2.54 MB / 0.6971 GB, free: 7.668 MB / 474.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007236/0.4883, allocations: 1.145 MB / 0.6982 GB, free: 6.508 MB / 474.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009001/0.4892, allocations: 1.284 MB / 0.6995 GB, free: 5.215 MB / 474.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.4892, allocations: 4 kB / 0.6995 GB, free: 5.211 MB / 474.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4892, allocations: 0 / 0.6995 GB, free: 5.211 MB / 474.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4892, allocations: 1.531 kB / 0.6995 GB, free: 5.211 MB / 474.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002716/0.492, allocations: 3.884 MB / 0.7033 GB, free: 1.281 MB / 474.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.492, allocations: 4 kB / 0.7033 GB, free: 1.277 MB / 474.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.789e-05/0.492, allocations: 1.281 kB / 0.7033 GB, free: 1.277 MB / 474.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.492, allocations: 3.938 kB / 0.7033 GB, free: 1.273 MB / 474.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.059e-05/0.4921, allocations: 99.39 kB / 0.7034 GB, free: 1.18 MB / 474.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.4921, allocations: 9.625 kB / 0.7034 GB, free: 1.176 MB / 474.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4921, allocations: 0 / 0.7034 GB, free: 1.176 MB / 474.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/0.4938, allocations: 2.162 MB / 0.7055 GB, free: 14.97 MB / 490.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009583/0.4947, allocations: 1.035 MB / 0.7065 GB, free: 13.91 MB / 490.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004099/0.4952, allocations: 43.94 kB / 0.7066 GB, free: 13.86 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000561/0.4957, allocations: 35.98 kB / 0.7066 GB, free: 13.83 MB / 490.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.379e-05/0.4958, allocations: 4 kB / 0.7066 GB, free: 13.82 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002879/0.4961, allocations: 440 kB / 0.707 GB, free: 13.39 MB / 490.9 MB Notification: Performance of sorting global known variables: time 0.007266/0.5033, allocations: 8.569 MB / 0.7154 GB, free: 4.906 MB / 490.9 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5033, allocations: 0 / 0.7154 GB, free: 4.906 MB / 490.9 MB Notification: Performance of remove unused functions: time 0.0006369/0.504, allocations: 342.6 kB / 0.7157 GB, free: 4.574 MB / 490.9 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.0001776/0.5042, allocations: 162.9 kB / 0.7159 GB, free: 4.414 MB / 490.9 MB Notification: Performance of simCode: created initialization part: time 0.0005339/0.5047, allocations: 415.4 kB / 0.7163 GB, free: 3.996 MB / 490.9 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5047, allocations: 7.922 kB / 0.7163 GB, free: 3.992 MB / 490.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0002929/0.505, allocations: 267.4 kB / 0.7165 GB, free: 3.719 MB / 490.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.5064, allocations: 0.8516 MB / 0.7174 GB, free: 2.871 MB / 490.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01505/0.5215, allocations: 19.21 MB / 0.7361 GB, free: 15.75 MB / 0.5106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003261/0.5247, allocations: 4.789 MB / 0.7408 GB, free: 10.93 MB / 0.5106 GB Notification: Performance of simCode: alias equations: time 0.004568/0.5293, allocations: 2.43 MB / 0.7432 GB, free: 8.496 MB / 0.5106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004058/0.5297, allocations: 0.4955 MB / 0.7436 GB, free: 8.004 MB / 0.5106 GB Notification: Performance of SimCode: time 3.41e-07/0.5297, allocations: 0 / 0.7436 GB, free: 8.004 MB / 0.5106 GB Notification: Performance of Templates: time 0.04014/0.5699, allocations: 41.19 MB / 0.7839 GB, free: 14.74 MB / 0.5575 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches