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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 110.6 kB / 16.62 MB, free: 6.961 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.001096/0.001096, allocations: 190 kB / 17.54 MB, free: 6.066 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.343/1.343, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.358/1.358, allocations: 119.3 MB / 410.7 MB, free: 9.758 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.001481, allocations: 67.91 kB / 0.4904 GB, free: 14.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7067/0.7082, allocations: 80.68 MB / 0.5692 GB, free: 42.99 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000): time 0.002866/0.7111, allocations: 1.483 MB / 0.5707 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.7122, allocations: 0.5629 MB / 0.5712 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.441e-05/0.7123, allocations: 1.156 kB / 0.5712 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.005508/0.7178, allocations: 6.847 MB / 0.5779 GB, free: 37.95 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.005667/0.7236, allocations: 6.883 MB / 0.5846 GB, free: 34.1 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004947/0.7242, allocations: 71.86 kB / 0.5847 GB, free: 34.03 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.01419/0.7384, allocations: 17.03 MB / 0.6013 GB, free: 16.98 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 8.955e-05/0.7385, allocations: 15.97 kB / 0.6013 GB, free: 16.96 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01316/0.7517, allocations: 8.454 MB / 0.6096 GB, free: 8.496 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02787/0.7796, allocations: 16.14 MB / 0.6254 GB, free: 8.328 MB / 478.3 MB Notification: Performance of NFPackage.collectConstants: time 0.007388/0.7871, allocations: 0.9805 MB / 0.6263 GB, free: 7.348 MB / 478.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009818/0.7969, allocations: 1.055 MB / 0.6274 GB, free: 6.293 MB / 478.3 MB Notification: Performance of NFScalarize.scalarize: time 0.04907/0.8461, allocations: 39.8 MB / 0.6662 GB, free: 14.39 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.04638/0.8925, allocations: 22.48 MB / 0.6882 GB, free: 7.676 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.066/0.9585, allocations: 48.42 MB / 0.7355 GB, free: 6.996 MB / 0.5764 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.9586, allocations: 4 kB / 0.7355 GB, free: 6.992 MB / 0.5764 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9586, allocations: 4 kB / 0.7355 GB, free: 6.988 MB / 0.5764 GB Notification: Performance of Transformations before backend: time 0.002637/0.9613, allocations: 0 / 0.7355 GB, free: 6.988 MB / 0.5764 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.8152/1.777, allocations: 77.13 MB / 0.8108 GB, free: 84.39 MB / 0.5923 GB Notification: Performance of prepare preOptimizeDAE: time 6.461e-05/1.777, allocations: 8.031 kB / 0.8108 GB, free: 84.39 MB / 0.5923 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01625/1.793, allocations: 8.798 MB / 0.8194 GB, free: 75.47 MB / 0.5923 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3588/2.152, allocations: 103.1 MB / 0.92 GB, free: 3.82 MB / 0.6235 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/2.152, allocations: 384 / 0.92 GB, free: 3.82 MB / 0.6235 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003553/2.155, allocations: 252.4 kB / 0.9203 GB, free: 3.574 MB / 0.6235 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01324/2.169, allocations: 2.978 MB / 0.9232 GB, free: 0.5898 MB / 0.6235 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.819e-05/2.169, allocations: 4.938 kB / 0.9232 GB, free: 0.5859 MB / 0.6235 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002366/2.171, allocations: 251.9 kB / 0.9234 GB, free: 348 kB / 0.6235 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/2.171, allocations: 1.219 kB / 0.9234 GB, free: 348 kB / 0.6235 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006183/2.177, allocations: 1.73 MB / 0.9251 GB, free: 14.61 MB / 0.6392 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07204/2.249, allocations: 27.55 MB / 0.952 GB, free: 2.988 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005996/2.255, allocations: 1.021 MB / 0.953 GB, free: 1.961 MB / 0.6548 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005448/2.261, allocations: 1.005 MB / 0.954 GB, free: 0.9531 MB / 0.6548 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/2.261, allocations: 0 / 0.954 GB, free: 0.9531 MB / 0.6548 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008173/2.269, allocations: 2.54 MB / 0.9565 GB, free: 14.4 MB / 0.6704 GB Notification: Performance of pre-optimization done (n=8): time 3.716e-06/2.269, allocations: 0 / 0.9565 GB, free: 14.4 MB / 0.6704 GB Notification: Performance of matching and sorting (n=8): time 0.05875/2.328, allocations: 16.5 MB / 0.9726 GB, free: 13.76 MB / 0.686 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.785e-05/2.328, allocations: 81.05 kB / 0.9727 GB, free: 13.67 MB / 0.686 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7226/3.051, allocations: 99.06 MB / 1.069 GB, free: 196.7 MB / 0.7329 GB Notification: Performance of collectPreVariables (initialization): time 0.002408/3.053, allocations: 276 kB / 1.07 GB, free: 196.7 MB / 0.7329 GB Notification: Performance of collectInitialEqns (initialization): time 0.06293/3.116, allocations: 46.97 MB / 1.116 GB, free: 158.3 MB / 0.7329 GB Notification: Performance of collectInitialBindings (initialization): time 0.00236/3.118, allocations: 270 kB / 1.116 GB, free: 158.3 MB / 0.7329 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007408/3.126, allocations: 1.73 MB / 1.117 GB, free: 158.3 MB / 0.7329 GB Notification: Performance of setup shared object (initialization): time 7.733e-05/3.126, allocations: 307.2 kB / 1.118 GB, free: 158 MB / 0.7329 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004467/3.131, allocations: 0.9967 MB / 1.119 GB, free: 158 MB / 0.7329 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002367/3.133, allocations: 0.9896 MB / 1.12 GB, free: 158 MB / 0.7329 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002655/3.136, allocations: 2.061 MB / 1.122 GB, free: 157.9 MB / 0.7329 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/3.136, allocations: 3.969 kB / 1.122 GB, free: 157.9 MB / 0.7329 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.02412/3.16, allocations: 15.51 MB / 1.137 GB, free: 157.8 MB / 0.7329 GB Notification: Performance of prepare postOptimizeDAE: time 6.205e-05/3.16, allocations: 41.02 kB / 1.137 GB, free: 157.8 MB / 0.7329 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/3.16, allocations: 0 / 1.137 GB, free: 157.8 MB / 0.7329 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/3.16, allocations: 0 / 1.137 GB, free: 157.8 MB / 0.7329 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/3.16, allocations: 5.344 kB / 1.137 GB, free: 157.8 MB / 0.7329 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/3.16, allocations: 1.438 kB / 1.137 GB, free: 157.8 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01828/3.178, allocations: 262 kB / 1.137 GB, free: 157.8 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00936/3.188, allocations: 3.418 MB / 1.141 GB, free: 157.3 MB / 0.7329 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.036/3.224, allocations: 19.19 MB / 1.159 GB, free: 145.7 MB / 0.7329 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01668/3.24, allocations: 9.045 MB / 1.168 GB, free: 141.6 MB / 0.7329 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02244/3.263, allocations: 10.22 MB / 1.178 GB, free: 131.3 MB / 0.7329 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/3.263, allocations: 3.938 kB / 1.178 GB, free: 131.3 MB / 0.7329 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/3.263, allocations: 3.938 kB / 1.178 GB, free: 131.3 MB / 0.7329 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/3.263, allocations: 0.8438 kB / 1.178 GB, free: 131.3 MB / 0.7329 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08381/3.347, allocations: 29.99 MB / 1.207 GB, free: 101.3 MB / 0.7329 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/3.347, allocations: 0 / 1.207 GB, free: 101.3 MB / 0.7329 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.597e-05/3.347, allocations: 7.188 kB / 1.207 GB, free: 101.3 MB / 0.7329 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/3.347, allocations: 1.047 kB / 1.207 GB, free: 101.3 MB / 0.7329 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003066/3.35, allocations: 0.7422 MB / 1.208 GB, free: 100.5 MB / 0.7329 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/3.35, allocations: 3.938 kB / 1.208 GB, free: 100.5 MB / 0.7329 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/3.35, allocations: 2.188 kB / 1.208 GB, free: 100.5 MB / 0.7329 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04592/3.396, allocations: 16.14 MB / 1.224 GB, free: 84.23 MB / 0.7329 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02245/3.419, allocations: 7.654 MB / 1.231 GB, free: 76.45 MB / 0.7329 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01812/3.437, allocations: 259.9 kB / 1.232 GB, free: 76.19 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02402/3.461, allocations: 260.8 kB / 1.232 GB, free: 75.94 MB / 0.7329 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.6e-05/3.461, allocations: 0 / 1.232 GB, free: 75.94 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006783/3.468, allocations: 3.425 MB / 1.235 GB, free: 72.52 MB / 0.7329 GB Notification: Performance of sorting global known variables: time 0.1783/3.646, allocations: 68.98 MB / 1.303 GB, free: 4.184 MB / 0.7329 GB Notification: Performance of sort global known variables: time 2.605e-06/3.646, allocations: 0 / 1.303 GB, free: 4.184 MB / 0.7329 GB Notification: Performance of remove unused functions: time 0.01377/3.66, allocations: 2.476 MB / 1.305 GB, free: 1.711 MB / 0.7329 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.002001/3.662, allocations: 385.4 kB / 1.305 GB, free: 1.336 MB / 0.7329 GB Notification: Performance of simCode: created initialization part: time 0.005314/3.667, allocations: 2.328 MB / 1.308 GB, free: 15 MB / 0.7485 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/3.667, allocations: 2.094 kB / 1.308 GB, free: 15 MB / 0.7485 GB Notification: Performance of simCode: created simulation system equations: time 0.002027/3.669, allocations: 1.328 MB / 1.309 GB, free: 13.66 MB / 0.7485 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05113/3.721, allocations: 6.749 MB / 1.315 GB, free: 6.906 MB / 0.7485 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6498/4.37, allocations: 161.5 MB / 1.473 GB, free: 156.2 MB / 0.7485 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.06475/4.435, allocations: 34.38 MB / 1.507 GB, free: 121.8 MB / 0.7485 GB Notification: Performance of simCode: alias equations: time 0.06013/4.495, allocations: 18.69 MB / 1.525 GB, free: 103.1 MB / 0.7485 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00932/4.505, allocations: 3.914 MB / 1.529 GB, free: 99.14 MB / 0.7485 GB Notification: Performance of SimCode: time 2.434e-06/4.505, allocations: 4 kB / 1.529 GB, free: 99.14 MB / 0.7485 GB Notification: Performance of Templates: time 1.473/5.978, allocations: 339.3 MB / 1.86 GB, free: 19.37 MB / 0.7485 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/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