Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.494/1.494, allocations: 177.2 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 1.005/1.005, allocations: 88.07 MB / 349.1 MB, free: 14.24 MB / 330.7 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8498,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8498,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 450.8 MB, free: 33.15 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.753e-05, allocations: 5.156 kB / 450.8 MB, free: 33.15 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.002407/0.002434, allocations: 1.429 MB / 452.3 MB, free: 32.17 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009451/0.003379, allocations: 0.5532 MB / 452.8 MB, free: 31.81 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.16e-05/0.003451, allocations: 4 kB / 452.8 MB, free: 31.81 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.005288, allocations: 3.429 MB / 456.2 MB, free: 31.19 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001973/0.007261, allocations: 3.475 MB / 459.7 MB, free: 30.56 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003112/0.007572, allocations: 88.77 kB / 459.8 MB, free: 30.52 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.005161/0.01273, allocations: 8.548 MB / 468.4 MB, free: 28.96 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.3e-05/0.0128, allocations: 6.375 kB / 468.4 MB, free: 28.96 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01125/0.02405, allocations: 4.747 MB / 473.1 MB, free: 27.91 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02238/0.04643, allocations: 9.057 MB / 482.2 MB, free: 25.01 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003709/0.05014, allocations: 0.4963 MB / 482.7 MB, free: 25 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004104/0.05424, allocations: 0.5634 MB / 483.2 MB, free: 24.52 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.02011/0.07435, allocations: 20.94 MB / 0.4923 GB, free: 3.523 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01123/0.08559, allocations: 4.772 MB / 0.497 GB, free: 14.72 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03018/0.1158, allocations: 22.08 MB / 0.5186 GB, free: 8.527 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1158, allocations: 4 kB / 0.5186 GB, free: 8.523 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1158, allocations: 0 / 0.5186 GB, free: 8.523 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.001006/0.1168, allocations: 0 / 0.5186 GB, free: 8.523 MB / 442.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.06468/0.1815, allocations: 39.89 MB / 0.5575 GB, free: 260 kB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/0.1815, allocations: 12.03 kB / 0.5575 GB, free: 248 kB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008708/0.1902, allocations: 4.647 MB / 0.5621 GB, free: 11.56 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1247/0.3149, allocations: 51.88 MB / 0.6127 GB, free: 7.367 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.3149, allocations: 384 / 0.6127 GB, free: 7.367 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008938/0.3158, allocations: 128.4 kB / 0.6129 GB, free: 7.242 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002992/0.3188, allocations: 1.545 MB / 0.6144 GB, free: 5.684 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3188, allocations: 4.188 kB / 0.6144 GB, free: 5.68 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002953/0.3191, allocations: 130 kB / 0.6145 GB, free: 5.555 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.3191, allocations: 0 / 0.6145 GB, free: 5.555 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.3205, allocations: 0.904 MB / 0.6154 GB, free: 4.645 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02803/0.3485, allocations: 13.51 MB / 0.6286 GB, free: 7.09 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002429/0.351, allocations: 0.551 MB / 0.6291 GB, free: 6.523 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002281/0.3532, allocations: 0.5377 MB / 0.6296 GB, free: 5.977 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.3533, allocations: 4 kB / 0.6296 GB, free: 5.973 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003187/0.3564, allocations: 1.349 MB / 0.631 GB, free: 4.602 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=8): time 2.715e-06/0.3564, allocations: 0 / 0.631 GB, free: 4.602 MB / 0.5418 GB Notification: Performance of matching and sorting (n=8): time 0.3669/0.7234, allocations: 8.759 MB / 0.6395 GB, free: 129.2 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.7234, allocations: 80.11 kB / 0.6396 GB, free: 129.1 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08197/0.8054, allocations: 49.58 MB / 0.688 GB, free: 117.1 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 0.0008928/0.8063, allocations: 152.8 kB / 0.6881 GB, free: 117 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.02143/0.8277, allocations: 22.55 MB / 0.7102 GB, free: 98.87 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008932/0.8286, allocations: 143.9 kB / 0.7103 GB, free: 98.86 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002225/0.8308, allocations: 0.877 MB / 0.7112 GB, free: 98.84 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 6.552e-05/0.8309, allocations: 309.3 kB / 0.7115 GB, free: 98.54 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/0.8325, allocations: 0.5346 MB / 0.712 GB, free: 98.5 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.8337, allocations: 0.541 MB / 0.7125 GB, free: 98.46 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/0.8353, allocations: 1.081 MB / 0.7136 GB, free: 98.37 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.8353, allocations: 1.219 kB / 0.7136 GB, free: 98.37 MB / 0.5419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01/0.8453, allocations: 8.225 MB / 0.7216 GB, free: 95.57 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 4.445e-05/0.8453, allocations: 39.23 kB / 0.7216 GB, free: 95.53 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.8453, allocations: 3 kB / 0.7216 GB, free: 95.53 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/0.8454, allocations: 0 / 0.7216 GB, free: 95.53 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.457e-05/0.8455, allocations: 6.016 kB / 0.7216 GB, free: 95.53 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.8455, allocations: 0 / 0.7216 GB, free: 95.53 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005795/0.8513, allocations: 128 kB / 0.7218 GB, free: 95.4 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001448/0.8527, allocations: 1.717 MB / 0.7234 GB, free: 93.69 MB / 0.5419 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.01296/0.8657, allocations: 9.668 MB / 0.7329 GB, free: 84.16 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007361/0.873, allocations: 4.906 MB / 0.7377 GB, free: 79.83 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/0.8832, allocations: 5.115 MB / 0.7427 GB, free: 74.71 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.8832, allocations: 0 / 0.7427 GB, free: 74.71 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.8832, allocations: 0 / 0.7427 GB, free: 74.71 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.8832, allocations: 0 / 0.7427 GB, free: 74.71 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02503/0.9083, allocations: 14.73 MB / 0.7571 GB, free: 59.94 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.9083, allocations: 0 / 0.7571 GB, free: 59.94 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.507e-05/0.9083, allocations: 3.984 kB / 0.7571 GB, free: 59.93 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.9083, allocations: 6.938 kB / 0.7571 GB, free: 59.93 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009852/0.9093, allocations: 380 kB / 0.7574 GB, free: 59.56 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.9093, allocations: 0 / 0.7574 GB, free: 59.56 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.9093, allocations: 0 / 0.7574 GB, free: 59.56 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00889/0.9182, allocations: 8.558 MB / 0.7658 GB, free: 50.94 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006764/0.925, allocations: 4.037 MB / 0.7697 GB, free: 46.88 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003562/0.9285, allocations: 139.9 kB / 0.7699 GB, free: 46.74 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003955/0.9325, allocations: 128 kB / 0.77 GB, free: 46.61 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.617e-05/0.9326, allocations: 5.266 kB / 0.77 GB, free: 46.61 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009856/0.9335, allocations: 1.719 MB / 0.7717 GB, free: 44.9 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.04884/0.9824, allocations: 34.49 MB / 0.8053 GB, free: 10.71 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9824, allocations: 0 / 0.8053 GB, free: 10.71 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.005033/0.9874, allocations: 1.249 MB / 0.8066 GB, free: 9.465 MB / 0.5419 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.0004902/0.9879, allocations: 250.6 kB / 0.8068 GB, free: 9.215 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.001726/0.9896, allocations: 1.271 MB / 0.808 GB, free: 7.926 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.9896, allocations: 3 kB / 0.8081 GB, free: 7.926 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009814/0.9906, allocations: 0.7307 MB / 0.8088 GB, free: 7.18 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01392/1.005, allocations: 3.621 MB / 0.8123 GB, free: 3.555 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5025/1.507, allocations: 73.05 MB / 0.8836 GB, free: 133.3 MB / 0.589 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03796/1.545, allocations: 17.24 MB / 0.9005 GB, free: 131.4 MB / 0.589 GB Notification: Performance of simCode: alias equations: time 0.02583/1.571, allocations: 9.427 MB / 0.9097 GB, free: 129 MB / 0.589 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005488/1.576, allocations: 1.963 MB / 0.9116 GB, free: 129 MB / 0.589 GB Notification: Performance of SimCode: time 2.565e-06/1.576, allocations: 0 / 0.9116 GB, free: 129 MB / 0.589 GB Notification: Performance of Templates: time 0.4094/1.986, allocations: 165.3 MB / 1.073 GB, free: 7.48 MB / 0.6046 GB " [Timeout remaining time 298] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.069568998063914]