Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.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.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-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_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001299, allocations: 188.9 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.243/1.243, allocations: 222.9 MB / 240.9 MB, free: 10.98 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.001019/0.001019, allocations: 105.7 kB / 291.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.7083/0.7083, allocations: 119.3 MB / 460.6 MB, free: 9.59 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009868/0.0009868, allocations: 51.92 kB / 0.5391 GB, free: 43.21 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1278, allocations: 80.7 MB / 0.6179 GB, free: 12.74 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000): time 0.00241/0.1303, allocations: 1.474 MB / 0.6194 GB, free: 11.25 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009363/0.1312, allocations: 0.5922 MB / 0.6199 GB, free: 10.66 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.668e-05/0.1313, allocations: 7.938 kB / 0.6199 GB, free: 10.65 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003907/0.1352, allocations: 6.837 MB / 0.6266 GB, free: 3.797 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00391/0.1391, allocations: 6.88 MB / 0.6333 GB, free: 12.9 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.1394, allocations: 63.88 kB / 0.6334 GB, free: 12.84 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.01108/0.1505, allocations: 17.03 MB / 0.65 GB, free: 11.79 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.52e-05/0.1506, allocations: 4 kB / 0.65 GB, free: 11.79 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009438/0.1601, allocations: 8.454 MB / 0.6583 GB, free: 3.316 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01677/0.1769, allocations: 15.17 MB / 0.6731 GB, free: 4.121 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003881/0.1808, allocations: 0.9766 MB / 0.6741 GB, free: 3.145 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002971/0.1838, allocations: 1.047 MB / 0.6751 GB, free: 2.094 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.4704/0.6543, allocations: 39.8 MB / 0.7139 GB, free: 41.33 MB / 0.495 GB Notification: Performance of NFVerifyModel.verify: time 0.02471/0.679, allocations: 22.48 MB / 0.7359 GB, free: 23.52 MB / 0.495 GB Notification: Performance of NFConvertDAE.convert: time 0.03784/0.7169, allocations: 47.44 MB / 0.7822 GB, free: 6.309 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.7169, allocations: 2 kB / 0.7822 GB, free: 6.309 MB / 0.5107 GB Notification: Performance of FrontEnd: time 1.823e-06/0.717, allocations: 0 / 0.7822 GB, free: 6.309 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 0.001967/0.7189, allocations: 0 / 0.7822 GB, free: 6.309 MB / 0.5107 GB 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.1022/0.8211, allocations: 77.14 MB / 0.8576 GB, free: 8.41 MB / 0.5888 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.8212, allocations: 10.03 kB / 0.8576 GB, free: 8.402 MB / 0.5888 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01465/0.8358, allocations: 8.794 MB / 0.8662 GB, free: 15.49 MB / 0.6044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8443/1.68, allocations: 103 MB / 0.9668 GB, free: 142.6 MB / 0.6671 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/1.68, allocations: 4.031 kB / 0.9668 GB, free: 142.6 MB / 0.6671 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001766/1.682, allocations: 251.8 kB / 0.967 GB, free: 142.6 MB / 0.6671 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004191/1.686, allocations: 2.984 MB / 0.9699 GB, free: 142.4 MB / 0.6671 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/1.686, allocations: 2.406 kB / 0.9699 GB, free: 142.4 MB / 0.6671 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005042/1.687, allocations: 255.1 kB / 0.9702 GB, free: 142.4 MB / 0.6671 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/1.687, allocations: 0 / 0.9702 GB, free: 142.4 MB / 0.6671 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/1.689, allocations: 1.734 MB / 0.9719 GB, free: 142.4 MB / 0.6671 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04185/1.731, allocations: 27.54 MB / 0.9988 GB, free: 126.7 MB / 0.6671 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00392/1.735, allocations: 1.019 MB / 0.9998 GB, free: 126.7 MB / 0.6671 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001521/1.736, allocations: 1.006 MB / 1.001 GB, free: 126.7 MB / 0.6671 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/1.736, allocations: 0 / 1.001 GB, free: 126.7 MB / 0.6671 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002575/1.739, allocations: 2.537 MB / 1.003 GB, free: 125.8 MB / 0.6671 GB Notification: Performance of pre-optimization done (n=8): time 2.154e-06/1.739, allocations: 0 / 1.003 GB, free: 125.8 MB / 0.6671 GB Notification: Performance of matching and sorting (n=8): time 0.02595/1.765, allocations: 16.5 MB / 1.019 GB, free: 119.6 MB / 0.6671 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/1.765, allocations: 83.23 kB / 1.019 GB, free: 119.5 MB / 0.6671 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1352/1.9, allocations: 99.07 MB / 1.116 GB, free: 21.25 MB / 0.6671 GB Notification: Performance of collectPreVariables (initialization): time 0.002572/1.903, allocations: 277.7 kB / 1.116 GB, free: 20.97 MB / 0.6671 GB Notification: Performance of collectInitialEqns (initialization): time 0.04675/1.95, allocations: 46.97 MB / 1.162 GB, free: 5.996 MB / 0.6984 GB Notification: Performance of collectInitialBindings (initialization): time 0.002634/1.952, allocations: 266.7 kB / 1.163 GB, free: 5.746 MB / 0.6984 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00507/1.957, allocations: 1.736 MB / 1.164 GB, free: 4.012 MB / 0.6984 GB Notification: Performance of setup shared object (initialization): time 8.678e-05/1.958, allocations: 308 kB / 1.165 GB, free: 3.707 MB / 0.6984 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001599/1.959, allocations: 0.9922 MB / 1.166 GB, free: 2.715 MB / 0.6984 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/1.961, allocations: 0.996 MB / 1.166 GB, free: 1.719 MB / 0.6984 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003251/1.964, allocations: 2.058 MB / 1.169 GB, free: 15.64 MB / 0.714 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.964, allocations: 0 / 1.169 GB, free: 15.64 MB / 0.714 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.02649/1.991, allocations: 15.51 MB / 1.184 GB, free: 0.5586 MB / 0.714 GB Notification: Performance of prepare postOptimizeDAE: time 6.216e-05/1.991, allocations: 41.69 kB / 1.184 GB, free: 0.5117 MB / 0.714 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/1.991, allocations: 3.062 kB / 1.184 GB, free: 0.5117 MB / 0.714 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/1.991, allocations: 0 / 1.184 GB, free: 0.5117 MB / 0.714 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.832e-05/1.991, allocations: 7.938 kB / 1.184 GB, free: 0.5039 MB / 0.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/1.991, allocations: 0 / 1.184 GB, free: 0.5039 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01487/2.006, allocations: 257.9 kB / 1.184 GB, free: 260 kB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01082/2.017, allocations: 3.426 MB / 1.187 GB, free: 12.83 MB / 0.7296 GB 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.0327/2.049, allocations: 19.2 MB / 1.206 GB, free: 9.605 MB / 0.7453 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01919/2.068, allocations: 9.043 MB / 1.215 GB, free: 456 kB / 0.7453 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0245/2.093, allocations: 10.22 MB / 1.225 GB, free: 6.207 MB / 0.7609 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/2.093, allocations: 3.938 kB / 1.225 GB, free: 6.203 MB / 0.7609 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/2.093, allocations: 0 / 1.225 GB, free: 6.203 MB / 0.7609 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/2.093, allocations: 0 / 1.225 GB, free: 6.203 MB / 0.7609 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3879/2.481, allocations: 29.99 MB / 1.254 GB, free: 238.2 MB / 0.7609 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/2.481, allocations: 3.5 kB / 1.254 GB, free: 238.2 MB / 0.7609 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.99e-05/2.481, allocations: 4 kB / 1.254 GB, free: 238.2 MB / 0.7609 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/2.481, allocations: 0 / 1.254 GB, free: 238.2 MB / 0.7609 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002947/2.484, allocations: 0.7407 MB / 1.255 GB, free: 238.2 MB / 0.7609 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/2.484, allocations: 7.594 kB / 1.255 GB, free: 238.2 MB / 0.7609 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/2.484, allocations: 0 / 1.255 GB, free: 238.2 MB / 0.7609 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05679/2.541, allocations: 39.27 MB / 1.293 GB, free: 229.6 MB / 0.7609 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02281/2.564, allocations: 7.656 MB / 1.301 GB, free: 224.5 MB / 0.7609 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006797/2.571, allocations: 257.8 kB / 1.301 GB, free: 224.5 MB / 0.7609 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007896/2.578, allocations: 250.5 kB / 1.301 GB, free: 224.5 MB / 0.7609 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/2.579, allocations: 3.375 kB / 1.301 GB, free: 224.5 MB / 0.7609 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003107/2.582, allocations: 3.423 MB / 1.305 GB, free: 222.2 MB / 0.7609 GB Notification: Performance of sorting global known variables: time 0.09563/2.677, allocations: 68.98 MB / 1.372 GB, free: 153.9 MB / 0.7609 GB Notification: Performance of sort global known variables: time 6.11e-07/2.677, allocations: 2.188 kB / 1.372 GB, free: 153.9 MB / 0.7609 GB Notification: Performance of remove unused functions: time 0.01102/2.688, allocations: 2.475 MB / 1.374 GB, free: 151.4 MB / 0.7609 GB 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.001819/2.69, allocations: 371.5 kB / 1.375 GB, free: 151.1 MB / 0.7609 GB Notification: Performance of simCode: created initialization part: time 0.003547/2.694, allocations: 2.331 MB / 1.377 GB, free: 148.7 MB / 0.7609 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/2.694, allocations: 3.562 kB / 1.377 GB, free: 148.7 MB / 0.7609 GB Notification: Performance of simCode: created simulation system equations: time 0.00197/2.696, allocations: 1.335 MB / 1.378 GB, free: 147.4 MB / 0.7609 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04209/2.738, allocations: 6.75 MB / 1.385 GB, free: 140.6 MB / 0.7609 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5527/3.291, allocations: 161.7 MB / 1.543 GB, free: 204.4 MB / 0.7609 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.06595/3.357, allocations: 34.39 MB / 1.576 GB, free: 188.6 MB / 0.7609 GB Notification: Performance of simCode: alias equations: time 0.05737/3.414, allocations: 18.65 MB / 1.595 GB, free: 180.3 MB / 0.7609 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007765/3.422, allocations: 3.915 MB / 1.598 GB, free: 180.3 MB / 0.7609 GB Notification: Performance of SimCode: time 1.112e-06/3.422, allocations: 0 / 1.598 GB, free: 180.3 MB / 0.7609 GB Notification: Performance of Templates: time 1.26/4.682, allocations: 339.3 MB / 1.93 GB, free: 184.7 MB / 0.7921 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches