Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.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.0009642/0.0009642, 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.004229/0.004229, allocations: 160.2 kB / 24.7 MB, free: 9.418 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.9329/0.9329, allocations: 177.1 MB / 205 MB, free: 5.719 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.7041/0.7041, allocations: 88.06 MB / 349.5 MB, free: 14.36 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_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.5242 GB, free: 3.551 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.796e-05, allocations: 6.281 kB / 0.5242 GB, free: 3.543 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.001815/0.001843, allocations: 1.417 MB / 0.5256 GB, free: 2.117 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007515/0.002595, allocations: 0.5608 MB / 0.5262 GB, free: 1.551 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.589e-05/0.00265, allocations: 0 / 0.5262 GB, free: 1.551 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0005121/0.003163, allocations: 0.8693 MB / 0.527 GB, free: 0.6797 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0006421/0.003805, allocations: 0.9121 MB / 0.5279 GB, free: 15.76 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.004038, allocations: 79.7 kB / 0.528 GB, free: 15.69 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.001165/0.005203, allocations: 2.188 MB / 0.5301 GB, free: 13.5 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.774e-05/0.005241, allocations: 0 / 0.5301 GB, free: 13.5 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007877/0.006029, allocations: 1.236 MB / 0.5313 GB, free: 12.26 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.00728, allocations: 2.281 MB / 0.5336 GB, free: 9.973 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001463/0.007427, allocations: 128 kB / 0.5337 GB, free: 9.848 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000218/0.007644, allocations: 195.9 kB / 0.5339 GB, free: 9.656 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003316/0.01096, allocations: 5.249 MB / 0.539 GB, free: 4.395 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0006994/0.01166, allocations: 1.196 MB / 0.5402 GB, free: 3.191 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.002933/0.01459, allocations: 5.596 MB / 0.5456 GB, free: 13.57 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.0146, allocations: 3.984 kB / 0.5456 GB, free: 13.56 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.423e-06/0.0146, allocations: 0 / 0.5456 GB, free: 13.56 MB / 474.8 MB Notification: Performance of Transformations before backend: time 4.158e-05/0.01464, allocations: 0 / 0.5456 GB, free: 13.56 MB / 474.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.006515/0.02116, allocations: 10.19 MB / 0.5556 GB, free: 3.25 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.02121, allocations: 8.031 kB / 0.5556 GB, free: 3.242 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007335/0.02194, allocations: 1.169 MB / 0.5567 GB, free: 2.066 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0129/0.03484, allocations: 13.01 MB / 0.5694 GB, free: 4.91 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.03486, allocations: 4.312 kB / 0.5694 GB, free: 4.906 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.92e-05/0.03492, allocations: 32.38 kB / 0.5695 GB, free: 4.875 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004237/0.03535, allocations: 455.6 kB / 0.5699 GB, free: 4.418 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.03536, allocations: 192 / 0.5699 GB, free: 4.418 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.879e-05/0.03541, allocations: 32.38 kB / 0.5699 GB, free: 4.387 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.03542, allocations: 3.938 kB / 0.5699 GB, free: 4.383 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002604/0.03568, allocations: 269.7 kB / 0.5702 GB, free: 4.113 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003227/0.0389, allocations: 3.452 MB / 0.5736 GB, free: 0.6328 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.03914, allocations: 192.2 kB / 0.5737 GB, free: 440 kB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.03931, allocations: 178.6 kB / 0.5739 GB, free: 252 kB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.03933, allocations: 0 / 0.5739 GB, free: 252 kB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004077/0.03973, allocations: 446.4 kB / 0.5743 GB, free: 15.79 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.03974, allocations: 0 / 0.5743 GB, free: 15.79 MB / 0.4949 GB Notification: Performance of matching and sorting (n=8): time 0.001786/0.04152, allocations: 2.311 MB / 0.5766 GB, free: 13.44 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.04158, allocations: 88.98 kB / 0.5767 GB, free: 13.34 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009141/0.05072, allocations: 12.47 MB / 0.5889 GB, free: 0.9688 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 5.513e-05/0.05077, allocations: 57.7 kB / 0.5889 GB, free: 0.9062 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003203/0.05397, allocations: 5.204 MB / 0.594 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.888e-05/0.05407, allocations: 55.83 kB / 0.5941 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/0.05427, allocations: 245.7 kB / 0.5943 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.581e-05/0.05436, allocations: 306 kB / 0.5946 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.05451, allocations: 173.7 kB / 0.5947 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.05465, allocations: 177.7 kB / 0.5949 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003128/0.05497, allocations: 356.2 kB / 0.5953 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.05497, allocations: 0 / 0.5953 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001562/0.05653, allocations: 2.149 MB / 0.5974 GB, free: 8.199 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.482e-05/0.05658, allocations: 37.69 kB / 0.5974 GB, free: 8.156 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.05658, allocations: 0 / 0.5974 GB, free: 8.156 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.0566, allocations: 4 kB / 0.5974 GB, free: 8.152 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.509e-05/0.0567, allocations: 7.938 kB / 0.5974 GB, free: 8.145 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.05671, allocations: 4.234 kB / 0.5974 GB, free: 8.141 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004496/0.05716, allocations: 32 kB / 0.5974 GB, free: 8.109 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002371/0.05739, allocations: 448 kB / 0.5979 GB, free: 7.672 MB / 0.5105 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.002083/0.05948, allocations: 2.517 MB / 0.6003 GB, free: 5.137 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006108/0.06009, allocations: 1.203 MB / 0.6015 GB, free: 3.926 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007831/0.06087, allocations: 1.284 MB / 0.6027 GB, free: 2.641 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.06087, allocations: 0 / 0.6027 GB, free: 2.641 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.06088, allocations: 3.938 kB / 0.6028 GB, free: 2.637 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.06088, allocations: 11.88 kB / 0.6028 GB, free: 2.625 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/0.06324, allocations: 3.761 MB / 0.6064 GB, free: 14.84 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.06324, allocations: 4 kB / 0.6064 GB, free: 14.83 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.9e-05/0.06327, allocations: 4.141 kB / 0.6064 GB, free: 14.83 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.06328, allocations: 0 / 0.6064 GB, free: 14.83 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.855e-05/0.06334, allocations: 100.1 kB / 0.6065 GB, free: 14.73 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.06335, allocations: 7.938 kB / 0.6065 GB, free: 14.72 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.06335, allocations: 3.984 kB / 0.6065 GB, free: 14.72 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.06473, allocations: 2.268 MB / 0.6088 GB, free: 12.41 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008307/0.06556, allocations: 1.015 MB / 0.6098 GB, free: 11.39 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002437/0.0658, allocations: 36 kB / 0.6098 GB, free: 11.36 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003623/0.06616, allocations: 40 kB / 0.6098 GB, free: 11.32 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.0662, allocations: 3.938 kB / 0.6098 GB, free: 11.31 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002133/0.06641, allocations: 444 kB / 0.6103 GB, free: 10.88 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.006565/0.07298, allocations: 8.567 MB / 0.6186 GB, free: 2.391 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.07298, allocations: 0 / 0.6186 GB, free: 2.391 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0005126/0.07349, allocations: 347.9 kB / 0.619 GB, free: 2.051 MB / 0.5262 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.0002242/0.07372, allocations: 159.1 kB / 0.6191 GB, free: 1.883 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0004447/0.07416, allocations: 458.8 kB / 0.6195 GB, free: 1.41 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.07416, allocations: 0 / 0.6195 GB, free: 1.41 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.07437, allocations: 273.1 kB / 0.6198 GB, free: 1.125 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.07585, allocations: 0.8542 MB / 0.6206 GB, free: 276 kB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4367/0.5125, allocations: 17.78 MB / 0.638 GB, free: 102.8 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004667/0.5172, allocations: 4.343 MB / 0.6422 GB, free: 102.2 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008952/0.5181, allocations: 0.4985 MB / 0.6427 GB, free: 102.2 MB / 0.5419 GB Notification: Performance of SimCode: time 1.984e-06/0.5181, allocations: 0 / 0.6427 GB, free: 102.2 MB / 0.5419 GB Notification: Performance of Templates: time 0.8405/1.359, allocations: 467.6 MB / 1.099 GB, free: 36.98 MB / 0.6828 GB " [Timeout remaining time 299] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.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: 8.680586996488273]