Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.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_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_OB_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_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009238/0.0009239, allocations: 107.3 kB / 17.01 MB, free: 6.09 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.0008535/0.0008535, allocations: 191.5 kB / 17.95 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.3646/0.3646, allocations: 225.7 MB / 244.4 MB, free: 5.242 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5592/0.5592, allocations: 119.5 MB / 414 MB, free: 10.38 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009935/0.0009935, allocations: 67.84 kB / 0.4945 GB, free: 13.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4376/0.4386, allocations: 80.69 MB / 0.5733 GB, free: 56.2 MB / 478.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.001919/0.4405, allocations: 1.412 MB / 0.5747 GB, free: 55.23 MB / 478.2 MB Notification: Performance of NFInst.instExpressions: time 0.0007608/0.4413, allocations: 0.5713 MB / 0.5753 GB, free: 54.83 MB / 478.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.772e-05/0.4414, allocations: 1.406 kB / 0.5753 GB, free: 54.83 MB / 478.2 MB Notification: Performance of NFTyping.typeComponents: time 0.0006126/0.442, allocations: 0.862 MB / 0.5761 GB, free: 54.68 MB / 478.2 MB Notification: Performance of NFTyping.typeBindings: time 0.0007055/0.4427, allocations: 0.9041 MB / 0.577 GB, free: 54.51 MB / 478.2 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.443, allocations: 82.47 kB / 0.5771 GB, free: 54.47 MB / 478.2 MB Notification: Performance of NFFlatten.flatten: time 0.001565/0.4445, allocations: 2.194 MB / 0.5792 GB, free: 54.06 MB / 478.2 MB Notification: Performance of NFFlatten.resolveConnections: time 3.693e-05/0.4446, allocations: 4.766 kB / 0.5792 GB, free: 54.06 MB / 478.2 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009089/0.4455, allocations: 1.081 MB / 0.5803 GB, free: 53.91 MB / 478.2 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001547/0.4471, allocations: 2.054 MB / 0.5823 GB, free: 53.59 MB / 478.2 MB Notification: Performance of NFPackage.collectConstants: time 0.000259/0.4473, allocations: 128.2 kB / 0.5824 GB, free: 53.59 MB / 478.2 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003291/0.4477, allocations: 204.6 kB / 0.5826 GB, free: 53.56 MB / 478.2 MB Notification: Performance of NFScalarize.scalarize: time 0.003901/0.4516, allocations: 4.981 MB / 0.5875 GB, free: 51.36 MB / 478.2 MB Notification: Performance of NFVerifyModel.verify: time 0.001193/0.4528, allocations: 2.828 MB / 0.5902 GB, free: 48.94 MB / 478.2 MB Notification: Performance of NFConvertDAE.convert: time 0.0031/0.4559, allocations: 6.25 MB / 0.5963 GB, free: 44.93 MB / 478.2 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.4559, allocations: 0 / 0.5963 GB, free: 44.93 MB / 478.2 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4559, allocations: 0 / 0.5963 GB, free: 44.93 MB / 478.2 MB Notification: Performance of Transformations before backend: time 7.084e-05/0.456, allocations: 0 / 0.5963 GB, free: 44.93 MB / 478.2 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.00585/0.4618, allocations: 9.966 MB / 0.6061 GB, free: 34.83 MB / 478.2 MB Notification: Performance of prepare preOptimizeDAE: time 2.753e-05/0.4619, allocations: 8.031 kB / 0.6061 GB, free: 34.82 MB / 478.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005404/0.4624, allocations: 1.103 MB / 0.6072 GB, free: 33.7 MB / 478.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01131/0.4737, allocations: 12.96 MB / 0.6198 GB, free: 20.62 MB / 478.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.4737, allocations: 384 / 0.6198 GB, free: 20.62 MB / 478.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.349e-05/0.4738, allocations: 36.75 kB / 0.6198 GB, free: 20.59 MB / 478.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003391/0.4741, allocations: 429.2 kB / 0.6203 GB, free: 20.16 MB / 478.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.423e-06/0.4742, allocations: 0 / 0.6203 GB, free: 20.16 MB / 478.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.166e-05/0.4742, allocations: 32 kB / 0.6203 GB, free: 20.13 MB / 478.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.4742, allocations: 3.938 kB / 0.6203 GB, free: 20.12 MB / 478.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.4745, allocations: 236 kB / 0.6205 GB, free: 19.89 MB / 478.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.4763, allocations: 3.572 MB / 0.624 GB, free: 16.28 MB / 478.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.4765, allocations: 174.5 kB / 0.6242 GB, free: 16.1 MB / 478.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.4767, allocations: 148.9 kB / 0.6243 GB, free: 15.95 MB / 478.2 MB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.4767, allocations: 0 / 0.6243 GB, free: 15.95 MB / 478.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002819/0.477, allocations: 428.8 kB / 0.6247 GB, free: 15.51 MB / 478.2 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.477, allocations: 0 / 0.6247 GB, free: 15.51 MB / 478.2 MB Notification: Performance of matching and sorting (n=8): time 0.001444/0.4785, allocations: 2.188 MB / 0.6269 GB, free: 13.3 MB / 478.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.4785, allocations: 85.11 kB / 0.6269 GB, free: 13.2 MB / 478.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008283/0.4868, allocations: 12.46 MB / 0.6391 GB, free: 0.832 MB / 478.2 MB Notification: Performance of collectPreVariables (initialization): time 5.367e-05/0.4868, allocations: 57.7 kB / 0.6392 GB, free: 0.7695 MB / 478.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.003733/0.4906, allocations: 5.208 MB / 0.6443 GB, free: 11.55 MB / 494.2 MB Notification: Performance of collectInitialBindings (initialization): time 7.931e-05/0.4907, allocations: 43.75 kB / 0.6443 GB, free: 11.51 MB / 494.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000243/0.4909, allocations: 245.7 kB / 0.6445 GB, free: 11.27 MB / 494.2 MB Notification: Performance of setup shared object (initialization): time 8.379e-05/0.491, allocations: 310 kB / 0.6448 GB, free: 10.96 MB / 494.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.4912, allocations: 136 kB / 0.645 GB, free: 10.82 MB / 494.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.4914, allocations: 148 kB / 0.6451 GB, free: 10.68 MB / 494.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004086/0.4918, allocations: 352.2 kB / 0.6454 GB, free: 10.32 MB / 494.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4918, allocations: 0 / 0.6454 GB, free: 10.32 MB / 494.2 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001712/0.4935, allocations: 2.051 MB / 0.6474 GB, free: 8.242 MB / 494.2 MB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/0.4936, allocations: 41.69 kB / 0.6475 GB, free: 8.195 MB / 494.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.4936, allocations: 0 / 0.6475 GB, free: 8.195 MB / 494.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.4936, allocations: 0 / 0.6475 GB, free: 8.195 MB / 494.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.79e-05/0.4937, allocations: 4.094 kB / 0.6475 GB, free: 8.191 MB / 494.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.4937, allocations: 3.938 kB / 0.6475 GB, free: 8.188 MB / 494.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005482/0.4942, allocations: 36 kB / 0.6475 GB, free: 8.152 MB / 494.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000298/0.4945, allocations: 444 kB / 0.6479 GB, free: 7.719 MB / 494.2 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.002557/0.4971, allocations: 2.525 MB / 0.6504 GB, free: 5.172 MB / 494.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000758/0.4979, allocations: 1.141 MB / 0.6515 GB, free: 4.016 MB / 494.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000998/0.4989, allocations: 1.288 MB / 0.6528 GB, free: 2.719 MB / 494.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4989, allocations: 7.984 kB / 0.6528 GB, free: 2.711 MB / 494.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.4989, allocations: 0 / 0.6528 GB, free: 2.711 MB / 494.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.4989, allocations: 0 / 0.6528 GB, free: 2.711 MB / 494.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002872/0.5018, allocations: 3.884 MB / 0.6566 GB, free: 14.78 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.5018, allocations: 0 / 0.6566 GB, free: 14.78 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.163e-05/0.5018, allocations: 15.88 kB / 0.6566 GB, free: 14.77 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.5018, allocations: 0 / 0.6566 GB, free: 14.77 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.618e-05/0.5019, allocations: 96 kB / 0.6567 GB, free: 14.67 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.5019, allocations: 7.984 kB / 0.6567 GB, free: 14.66 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5019, allocations: 0 / 0.6567 GB, free: 14.66 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.5036, allocations: 2.162 MB / 0.6588 GB, free: 12.46 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/0.5046, allocations: 1.033 MB / 0.6598 GB, free: 11.4 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003911/0.505, allocations: 40 kB / 0.6599 GB, free: 11.36 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005219/0.5056, allocations: 36 kB / 0.6599 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.5056, allocations: 0 / 0.6599 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002869/0.5059, allocations: 444 kB / 0.6603 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.008218/0.5141, allocations: 8.571 MB / 0.6687 GB, free: 2.398 MB / 0.4983 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5141, allocations: 0 / 0.6687 GB, free: 2.398 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0006501/0.5148, allocations: 348 kB / 0.669 GB, free: 2.059 MB / 0.4983 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.0001952/0.515, allocations: 156.7 kB / 0.6692 GB, free: 1.902 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0005408/0.5155, allocations: 419.3 kB / 0.6696 GB, free: 1.484 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5155, allocations: 4 kB / 0.6696 GB, free: 1.48 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002932/0.5158, allocations: 267.4 kB / 0.6698 GB, free: 1.207 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.5175, allocations: 0.8497 MB / 0.6707 GB, free: 364 kB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01535/0.5329, allocations: 17.02 MB / 0.6873 GB, free: 15.3 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003662/0.5365, allocations: 4.785 MB / 0.6919 GB, free: 10.49 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.003813/0.5404, allocations: 2.379 MB / 0.6943 GB, free: 8.102 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004382/0.5408, allocations: 0.4955 MB / 0.6947 GB, free: 7.605 MB / 0.5295 GB Notification: Performance of SimCode: time 3.9e-07/0.5408, allocations: 4 kB / 0.6948 GB, free: 7.602 MB / 0.5295 GB Notification: Performance of Templates: time 0.0582/0.599, allocations: 41.23 MB / 0.735 GB, free: 14.32 MB / 0.5764 GB make -j1 -f ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.makefile (rm -f ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & ./ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","../files/ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches