Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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.000869/0.000869, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.008411/0.008411, allocations: 160.7 kB / 24.7 MB, free: 9.43 MB / 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 0.9561/0.9561, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6996/0.6996, allocations: 88.06 MB / 349.5 MB, free: 14.34 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_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.835e-06/2.835e-06, allocations: 3.984 kB / 0.5242 GB, free: 3.539 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.467e-05, allocations: 2.281 kB / 0.5242 GB, free: 3.535 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.001684/0.001708, allocations: 1.417 MB / 0.5256 GB, free: 2.109 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007292/0.002438, allocations: 0.5647 MB / 0.5262 GB, free: 1.539 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.263e-05/0.00249, allocations: 0 / 0.5262 GB, free: 1.539 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.002812, allocations: 447.1 kB / 0.5266 GB, free: 1.102 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004312/0.003243, allocations: 498.9 kB / 0.5271 GB, free: 0.6133 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.00346, allocations: 79.77 kB / 0.5271 GB, free: 0.5352 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006219/0.004082, allocations: 1.131 MB / 0.5282 GB, free: 15.4 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.644e-05/0.004118, allocations: 0 / 0.5282 GB, free: 15.4 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004842/0.004602, allocations: 0.6435 MB / 0.5289 GB, free: 14.76 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000692/0.005294, allocations: 1.154 MB / 0.53 GB, free: 13.6 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 7.86e-05/0.005373, allocations: 64 kB / 0.5301 GB, free: 13.54 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.005515, allocations: 131.9 kB / 0.5302 GB, free: 13.41 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.00166/0.007175, allocations: 2.63 MB / 0.5328 GB, free: 10.77 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003713/0.007546, allocations: 0.6097 MB / 0.5334 GB, free: 10.16 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.009103, allocations: 2.849 MB / 0.5361 GB, free: 7.297 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.009105, allocations: 0 / 0.5361 GB, free: 7.297 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.873e-06/0.009107, allocations: 0 / 0.5361 GB, free: 7.297 MB / 458.8 MB Notification: Performance of Transformations before backend: time 2.898e-05/0.009136, allocations: 0 / 0.5361 GB, free: 7.297 MB / 458.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.003291/0.01243, allocations: 5.238 MB / 0.5412 GB, free: 1.98 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.01247, allocations: 8.031 kB / 0.5413 GB, free: 1.973 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003508/0.01282, allocations: 0.5906 MB / 0.5418 GB, free: 1.379 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006174/0.01899, allocations: 6.325 MB / 0.548 GB, free: 10.95 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.019, allocations: 384 / 0.548 GB, free: 10.95 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.697e-05/0.01904, allocations: 20.38 kB / 0.548 GB, free: 10.93 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.01935, allocations: 271.8 kB / 0.5483 GB, free: 10.65 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.01936, allocations: 192 / 0.5483 GB, free: 10.65 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.01939, allocations: 16.38 kB / 0.5483 GB, free: 10.64 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.01941, allocations: 11.86 kB / 0.5483 GB, free: 10.62 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.01957, allocations: 161.7 kB / 0.5485 GB, free: 10.46 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.02113, allocations: 1.771 MB / 0.5502 GB, free: 8.66 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.02129, allocations: 120.3 kB / 0.5503 GB, free: 8.527 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.0214, allocations: 114.6 kB / 0.5504 GB, free: 8.406 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.02142, allocations: 0 / 0.5504 GB, free: 8.406 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000283/0.0217, allocations: 294.5 kB / 0.5507 GB, free: 8.094 MB / 474.8 MB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.0217, allocations: 0 / 0.5507 GB, free: 8.094 MB / 474.8 MB Notification: Performance of matching and sorting (n=8): time 0.001031/0.02273, allocations: 1.264 MB / 0.5519 GB, free: 6.801 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.02278, allocations: 89.05 kB / 0.552 GB, free: 6.695 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004345/0.02712, allocations: 6.271 MB / 0.5581 GB, free: 480 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.02715, allocations: 45.7 kB / 0.5582 GB, free: 428 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0014/0.02855, allocations: 2.52 MB / 0.5607 GB, free: 13.89 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.64e-05/0.02861, allocations: 39.78 kB / 0.5607 GB, free: 13.85 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.02872, allocations: 137.7 kB / 0.5608 GB, free: 13.71 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.053e-05/0.0288, allocations: 310 kB / 0.5611 GB, free: 13.4 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-05/0.02889, allocations: 105.7 kB / 0.5612 GB, free: 13.29 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.307e-05/0.02897, allocations: 125.6 kB / 0.5613 GB, free: 13.16 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.02915, allocations: 228.2 kB / 0.5616 GB, free: 12.93 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.02916, allocations: 0 / 0.5616 GB, free: 12.93 MB / 490.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006944/0.02985, allocations: 1.161 MB / 0.5627 GB, free: 11.74 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/0.02988, allocations: 29.7 kB / 0.5627 GB, free: 11.71 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.02989, allocations: 7.938 kB / 0.5627 GB, free: 11.7 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.0299, allocations: 0 / 0.5627 GB, free: 11.7 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.3e-05/0.02998, allocations: 7.938 kB / 0.5627 GB, free: 11.69 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.83e-06/0.02998, allocations: 240 / 0.5627 GB, free: 11.69 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.03019, allocations: 27.94 kB / 0.5628 GB, free: 11.66 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.03031, allocations: 224 kB / 0.563 GB, free: 11.45 MB / 490.8 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.001028/0.03134, allocations: 1.331 MB / 0.5643 GB, free: 10.1 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002965/0.03164, allocations: 0.6015 MB / 0.5649 GB, free: 9.492 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004044/0.03204, allocations: 0.6481 MB / 0.5655 GB, free: 8.844 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.03205, allocations: 0 / 0.5655 GB, free: 8.844 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.03205, allocations: 3.938 kB / 0.5655 GB, free: 8.84 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.03206, allocations: 0 / 0.5655 GB, free: 8.84 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.03325, allocations: 1.931 MB / 0.5674 GB, free: 6.879 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.03325, allocations: 0 / 0.5674 GB, free: 6.879 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.577e-05/0.03328, allocations: 8 kB / 0.5674 GB, free: 6.871 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.03328, allocations: 4 kB / 0.5674 GB, free: 6.867 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-05/0.03332, allocations: 56 kB / 0.5674 GB, free: 6.816 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.03332, allocations: 3.938 kB / 0.5675 GB, free: 6.812 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.03332, allocations: 3.984 kB / 0.5675 GB, free: 6.809 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007219/0.03404, allocations: 1.239 MB / 0.5687 GB, free: 5.535 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003914/0.03443, allocations: 0.5232 MB / 0.5692 GB, free: 5.008 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.03456, allocations: 20 kB / 0.5692 GB, free: 4.988 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.03474, allocations: 16 kB / 0.5692 GB, free: 4.973 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.03477, allocations: 7.938 kB / 0.5692 GB, free: 4.965 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/0.03488, allocations: 224 kB / 0.5694 GB, free: 4.746 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.003105/0.03798, allocations: 4.328 MB / 0.5737 GB, free: 468 kB / 490.8 MB Notification: Performance of sort global known variables: time 2.3e-07/0.03798, allocations: 4 kB / 0.5737 GB, free: 464 kB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003158/0.0383, allocations: 184 kB / 0.5738 GB, free: 280 kB / 490.8 MB 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.0001881/0.03849, allocations: 143.2 kB / 0.574 GB, free: 124 kB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003114/0.0388, allocations: 322.6 kB / 0.5743 GB, free: 15.78 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.0388, allocations: 0 / 0.5743 GB, free: 15.78 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.03894, allocations: 197.1 kB / 0.5745 GB, free: 15.57 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007572/0.03969, allocations: 437.5 kB / 0.5749 GB, free: 15.14 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006592/0.04629, allocations: 8.794 MB / 0.5835 GB, free: 6.293 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001407/0.04769, allocations: 2.196 MB / 0.5856 GB, free: 4.066 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.04786, allocations: 260.5 kB / 0.5859 GB, free: 3.812 MB / 0.4949 GB Notification: Performance of SimCode: time 8.31e-07/0.04786, allocations: 0 / 0.5859 GB, free: 3.812 MB / 0.4949 GB Notification: Performance of Templates: time 0.5573/0.6052, allocations: 142.8 MB / 0.7253 GB, free: 28.01 MB / 0.5419 GB " [Timeout remaining time 299] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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: 7.203008516691625]