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.001046/0.001046, allocations: 94.17 kB / 17.31 MB, free: 6.535 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.0009982/0.0009983, allocations: 179.9 kB / 18.21 MB, free: 5.684 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.334/1.334, allocations: 223.3 MB / 242.3 MB, free: 256 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9715/0.9715, allocations: 120.5 MB / 413.8 MB, free: 9.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003696, allocations: 12 kB / 0.4955 GB, free: 11.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6145/0.6149, allocations: 82.84 MB / 0.5764 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000): time 0.001433/0.6164, allocations: 1.143 MB / 0.5776 GB, free: 41 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009816/0.6174, allocations: 0.5772 MB / 0.5781 GB, free: 40.56 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.709e-05/0.6175, allocations: 0 / 0.5781 GB, free: 40.56 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.005061/0.6225, allocations: 6.84 MB / 0.5848 GB, free: 37.12 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.003214/0.6258, allocations: 6.882 MB / 0.5915 GB, free: 30.82 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.6262, allocations: 66.88 kB / 0.5916 GB, free: 30.76 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.009201/0.6354, allocations: 17.03 MB / 0.6082 GB, free: 13.71 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 8.09e-05/0.6355, allocations: 0 / 0.6082 GB, free: 13.71 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01007/0.6456, allocations: 8.454 MB / 0.6165 GB, free: 5.238 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01883/0.6645, allocations: 15.16 MB / 0.6313 GB, free: 6.051 MB / 478.3 MB Notification: Performance of NFPackage.collectConstants: time 0.004925/0.6695, allocations: 0.9805 MB / 0.6322 GB, free: 5.07 MB / 478.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004364/0.6739, allocations: 1.051 MB / 0.6333 GB, free: 4.02 MB / 478.3 MB Notification: Performance of NFScalarize.scalarize: time 0.04111/0.715, allocations: 39.8 MB / 0.6721 GB, free: 12.11 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.03735/0.7524, allocations: 22.51 MB / 0.6941 GB, free: 5.363 MB / 0.5296 GB Notification: Performance of NFConvertDAE.convert: time 0.04413/0.7966, allocations: 35.95 MB / 0.7292 GB, free: 1.312 MB / 0.5608 GB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.7966, allocations: 0 / 0.7292 GB, free: 1.312 MB / 0.5608 GB Notification: Performance of FrontEnd: time 2.886e-06/0.7967, allocations: 0 / 0.7292 GB, free: 1.312 MB / 0.5608 GB Notification: Performance of Transformations before backend: time 0.002378/0.799, allocations: 0 / 0.7292 GB, free: 1.312 MB / 0.5608 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.7479/1.547, allocations: 67.84 MB / 0.7955 GB, free: 91.37 MB / 0.5923 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/1.547, allocations: 12.03 kB / 0.7955 GB, free: 91.36 MB / 0.5923 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01516/1.562, allocations: 8.794 MB / 0.8041 GB, free: 82.45 MB / 0.5923 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.282/1.844, allocations: 103.1 MB / 0.9047 GB, free: 11.05 MB / 0.6236 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/1.844, allocations: 8 kB / 0.9047 GB, free: 11.05 MB / 0.6236 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007928/1.845, allocations: 252.4 kB / 0.9049 GB, free: 10.8 MB / 0.6236 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003382/1.849, allocations: 2.974 MB / 0.9079 GB, free: 7.824 MB / 0.6236 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/1.849, allocations: 0 / 0.9079 GB, free: 7.824 MB / 0.6236 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004717/1.849, allocations: 259.9 kB / 0.9081 GB, free: 7.57 MB / 0.6236 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/1.849, allocations: 0 / 0.9081 GB, free: 7.57 MB / 0.6236 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002259/1.851, allocations: 1.729 MB / 0.9098 GB, free: 5.844 MB / 0.6236 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0613/1.913, allocations: 27.54 MB / 0.9367 GB, free: 10.23 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004141/1.917, allocations: 1.018 MB / 0.9377 GB, free: 9.203 MB / 0.6548 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00193/1.919, allocations: 1.009 MB / 0.9387 GB, free: 8.191 MB / 0.6548 GB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/1.919, allocations: 0 / 0.9387 GB, free: 8.191 MB / 0.6548 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002712/1.922, allocations: 2.533 MB / 0.9411 GB, free: 5.637 MB / 0.6548 GB Notification: Performance of pre-optimization done (n=8): time 2.365e-06/1.922, allocations: 4 kB / 0.9411 GB, free: 5.633 MB / 0.6548 GB Notification: Performance of matching and sorting (n=8): time 0.02809/1.95, allocations: 16.5 MB / 0.9573 GB, free: 5.004 MB / 0.6704 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.235e-05/1.95, allocations: 87.11 kB / 0.9573 GB, free: 4.902 MB / 0.6704 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6073/2.557, allocations: 99.06 MB / 1.054 GB, free: 203.8 MB / 0.7486 GB Notification: Performance of collectPreVariables (initialization): time 0.002339/2.559, allocations: 280.5 kB / 1.054 GB, free: 203.8 MB / 0.7486 GB Notification: Performance of collectInitialEqns (initialization): time 0.05111/2.611, allocations: 46.96 MB / 1.1 GB, free: 165.6 MB / 0.7486 GB Notification: Performance of collectInitialBindings (initialization): time 0.002146/2.613, allocations: 271.3 kB / 1.1 GB, free: 165.6 MB / 0.7486 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00101/2.614, allocations: 267.7 kB / 1.101 GB, free: 165.6 MB / 0.7486 GB Notification: Performance of setup shared object (initialization): time 9.204e-05/2.614, allocations: 308 kB / 1.101 GB, free: 165.3 MB / 0.7486 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001705/2.616, allocations: 0.9907 MB / 1.102 GB, free: 165.3 MB / 0.7486 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/2.617, allocations: 0.9964 MB / 1.103 GB, free: 165.2 MB / 0.7486 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003176/2.62, allocations: 2.058 MB / 1.105 GB, free: 165.2 MB / 0.7486 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/2.62, allocations: 2.297 kB / 1.105 GB, free: 165.2 MB / 0.7486 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.02614/2.646, allocations: 15.5 MB / 1.12 GB, free: 165.1 MB / 0.7486 GB Notification: Performance of prepare postOptimizeDAE: time 6.524e-05/2.647, allocations: 46.28 kB / 1.12 GB, free: 165 MB / 0.7486 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/2.647, allocations: 6.312 kB / 1.12 GB, free: 165 MB / 0.7486 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/2.647, allocations: 0 / 1.12 GB, free: 165 MB / 0.7486 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/2.647, allocations: 2.438 kB / 1.12 GB, free: 165 MB / 0.7486 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/2.647, allocations: 2.375 kB / 1.12 GB, free: 165 MB / 0.7486 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01484/2.662, allocations: 255.8 kB / 1.12 GB, free: 165 MB / 0.7486 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007512/2.669, allocations: 3.423 MB / 1.124 GB, free: 164.6 MB / 0.7486 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.03215/2.701, allocations: 19.19 MB / 1.142 GB, free: 161.5 MB / 0.7486 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01551/2.717, allocations: 9.043 MB / 1.151 GB, free: 161.5 MB / 0.7486 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02417/2.741, allocations: 10.23 MB / 1.161 GB, free: 157.1 MB / 0.7486 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/2.741, allocations: 0 / 1.161 GB, free: 157.1 MB / 0.7486 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/2.741, allocations: 3.984 kB / 1.161 GB, free: 157.1 MB / 0.7486 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/2.741, allocations: 2 kB / 1.161 GB, free: 157.1 MB / 0.7486 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07616/2.817, allocations: 29.99 MB / 1.191 GB, free: 138.8 MB / 0.7486 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/2.817, allocations: 0 / 1.191 GB, free: 138.8 MB / 0.7486 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.802e-05/2.817, allocations: 0 / 1.191 GB, free: 138.8 MB / 0.7486 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/2.817, allocations: 6 kB / 1.191 GB, free: 138.8 MB / 0.7486 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002591/2.82, allocations: 0.7476 MB / 1.191 GB, free: 138 MB / 0.7486 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/2.82, allocations: 0 / 1.191 GB, free: 138 MB / 0.7486 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/2.82, allocations: 0 / 1.191 GB, free: 138 MB / 0.7486 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02176/2.842, allocations: 16.14 MB / 1.207 GB, free: 121.8 MB / 0.7486 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02014/2.862, allocations: 7.657 MB / 1.215 GB, free: 114 MB / 0.7486 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009668/2.872, allocations: 259.9 kB / 1.215 GB, free: 113.7 MB / 0.7486 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01139/2.883, allocations: 260 kB / 1.215 GB, free: 113.5 MB / 0.7486 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.723e-05/2.883, allocations: 0 / 1.215 GB, free: 113.5 MB / 0.7486 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004664/2.888, allocations: 3.425 MB / 1.218 GB, free: 110 MB / 0.7486 GB Notification: Performance of sorting global known variables: time 0.1145/3.002, allocations: 68.98 MB / 1.286 GB, free: 41.7 MB / 0.7486 GB Notification: Performance of sort global known variables: time 9.42e-07/3.003, allocations: 0 / 1.286 GB, free: 41.7 MB / 0.7486 GB Notification: Performance of remove unused functions: time 0.01312/3.016, allocations: 2.472 MB / 1.288 GB, free: 39.23 MB / 0.7486 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.001863/3.018, allocations: 375.3 kB / 1.289 GB, free: 38.86 MB / 0.7486 GB Notification: Performance of simCode: created initialization part: time 0.003811/3.021, allocations: 2.331 MB / 1.291 GB, free: 36.52 MB / 0.7486 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/3.021, allocations: 0 / 1.291 GB, free: 36.52 MB / 0.7486 GB Notification: Performance of simCode: created simulation system equations: time 0.00185/3.023, allocations: 1.328 MB / 1.292 GB, free: 35.18 MB / 0.7486 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04761/3.071, allocations: 6.756 MB / 1.299 GB, free: 28.42 MB / 0.7486 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6701/3.741, allocations: 165 MB / 1.46 GB, free: 147.4 MB / 0.7486 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.06955/3.811, allocations: 34.39 MB / 1.493 GB, free: 112.9 MB / 0.7486 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006838/3.817, allocations: 3.914 MB / 1.497 GB, free: 109 MB / 0.7486 GB Notification: Performance of SimCode: time 2.314e-06/3.818, allocations: 0 / 1.497 GB, free: 109 MB / 0.7486 GB Notification: Performance of Templates: time 82.28/86.1, allocations: 23.62 GB / 25.12 GB, free: 53.37 MB / 0.9517 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/jenkins1/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