Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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.000936/0.000936, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.0008989/0.0008989, allocations: 161 kB / 24.56 MB, free: 20 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 0.9196/0.9196, allocations: 177.1 MB / 205 MB, free: 5.285 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.5984/0.5984, allocations: 88.07 MB / 349.6 MB, free: 14.22 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_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4498,variableFilter="time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4498,variableFilter="time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 451.6 MB, free: 33.3 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.462e-05, allocations: 11.41 kB / 451.6 MB, free: 33.3 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.001664/0.001689, allocations: 1.46 MB / 453 MB, free: 32.32 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006933/0.002382, allocations: 0.5851 MB / 453.6 MB, free: 31.95 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.342e-05/0.002436, allocations: 0 / 453.6 MB, free: 31.95 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0007356/0.003171, allocations: 1.715 MB / 455.3 MB, free: 31.64 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0008422/0.004014, allocations: 1.775 MB / 457.1 MB, free: 31.3 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.004278, allocations: 78.66 kB / 457.2 MB, free: 31.27 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.001781/0.006059, allocations: 4.308 MB / 461.5 MB, free: 30.48 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.616e-05/0.006095, allocations: 2.938 kB / 461.5 MB, free: 30.48 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002796/0.008892, allocations: 2.404 MB / 463.9 MB, free: 29.94 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003573/0.01246, allocations: 4.533 MB / 468.4 MB, free: 29.32 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0004497/0.01291, allocations: 254.7 kB / 468.7 MB, free: 29.32 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004183/0.01333, allocations: 324.9 kB / 469 MB, free: 29.3 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.008389/0.02172, allocations: 10.48 MB / 479.5 MB, free: 26.04 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.005275/0.027, allocations: 2.391 MB / 481.9 MB, free: 24.68 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.007901/0.0349, allocations: 10.05 MB / 491.9 MB, free: 16.41 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.03491, allocations: 0 / 491.9 MB, free: 16.41 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.893e-06/0.03491, allocations: 0 / 491.9 MB, free: 16.41 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0003965/0.03531, allocations: 0 / 491.9 MB, free: 16.41 MB / 410.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.01845/0.05376, allocations: 21.13 MB / 0.501 GB, free: 11.08 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/0.05382, allocations: 15.97 kB / 0.501 GB, free: 11.06 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002799/0.05661, allocations: 2.333 MB / 0.5033 GB, free: 8.715 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03176/0.08838, allocations: 21.38 MB / 0.5242 GB, free: 3.133 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.0884, allocations: 384 / 0.5242 GB, free: 3.133 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.08852, allocations: 72.31 kB / 0.5243 GB, free: 3.062 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007024/0.08922, allocations: 0.8117 MB / 0.5251 GB, free: 2.238 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.08923, allocations: 192 / 0.5251 GB, free: 2.238 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.269e-05/0.08933, allocations: 64.38 kB / 0.5251 GB, free: 2.176 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.08934, allocations: 3.938 kB / 0.5251 GB, free: 2.172 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004255/0.08976, allocations: 481.7 kB / 0.5256 GB, free: 1.695 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01236/0.1021, allocations: 9.171 MB / 0.5345 GB, free: 8.488 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004684/0.1026, allocations: 320.8 kB / 0.5348 GB, free: 8.156 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002946/0.1029, allocations: 301.3 kB / 0.5351 GB, free: 7.852 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.1029, allocations: 0 / 0.5351 GB, free: 7.852 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000554/0.1034, allocations: 0.7419 MB / 0.5359 GB, free: 7.082 MB / 458.8 MB Notification: Performance of pre-optimization done (n=8): time 3.917e-06/0.1034, allocations: 3.984 kB / 0.5359 GB, free: 7.078 MB / 458.8 MB Notification: Performance of matching and sorting (n=8): time 0.004263/0.1077, allocations: 4.467 MB / 0.5402 GB, free: 2.57 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.1078, allocations: 92.97 kB / 0.5403 GB, free: 2.461 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03004/0.1378, allocations: 22.12 MB / 0.5619 GB, free: 12.55 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002448/0.138, allocations: 89.7 kB / 0.562 GB, free: 12.46 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00927/0.1473, allocations: 12.05 MB / 0.5738 GB, free: 412 kB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003579/0.1477, allocations: 87.98 kB / 0.5739 GB, free: 324 kB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003785/0.1481, allocations: 467.4 kB / 0.5743 GB, free: 15.85 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1482, allocations: 488.4 kB / 0.5748 GB, free: 15.37 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/0.1485, allocations: 293.7 kB / 0.575 GB, free: 15.07 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.1487, allocations: 293.7 kB / 0.5753 GB, free: 14.78 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005947/0.1493, allocations: 0.585 MB / 0.5759 GB, free: 14.18 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.1493, allocations: 7.938 kB / 0.5759 GB, free: 14.17 MB / 0.4949 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.003905/0.1532, allocations: 4.191 MB / 0.58 GB, free: 9.949 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 4.465e-05/0.1533, allocations: 37.69 kB / 0.58 GB, free: 9.906 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1533, allocations: 0 / 0.58 GB, free: 9.906 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.1533, allocations: 0 / 0.58 GB, free: 9.906 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.13e-05/0.1534, allocations: 11.94 kB / 0.58 GB, free: 9.895 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1534, allocations: 0 / 0.58 GB, free: 9.895 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.1549, allocations: 68 kB / 0.5801 GB, free: 9.828 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004668/0.1553, allocations: 0.8594 MB / 0.5809 GB, free: 8.969 MB / 0.4949 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.002133/0.1575, allocations: 318.2 kB / 0.5812 GB, free: 8.641 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002174/0.1596, allocations: 2.457 MB / 0.5836 GB, free: 6.168 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003301/0.1629, allocations: 1.831 MB / 0.5854 GB, free: 4.332 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.1629, allocations: 0 / 0.5854 GB, free: 4.332 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1629, allocations: 3.938 kB / 0.5854 GB, free: 4.328 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.1629, allocations: 0 / 0.5854 GB, free: 4.328 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01372/0.1767, allocations: 9.425 MB / 0.5946 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1767, allocations: 4 kB / 0.5946 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.896e-05/0.1767, allocations: 0 / 0.5946 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.1767, allocations: 0 / 0.5946 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004016/0.1771, allocations: 196 kB / 0.5948 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.1771, allocations: 0 / 0.5948 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1771, allocations: 0 / 0.5948 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00471/0.1818, allocations: 4.47 MB / 0.5992 GB, free: 6.152 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003092/0.1849, allocations: 2.039 MB / 0.6012 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009451/0.1859, allocations: 64 kB / 0.6013 GB, free: 4.035 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009716/0.1868, allocations: 67.94 kB / 0.6013 GB, free: 3.969 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.1869, allocations: 11.94 kB / 0.6013 GB, free: 3.957 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004946/0.1874, allocations: 0.8594 MB / 0.6022 GB, free: 3.098 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.02017/0.2076, allocations: 13.63 MB / 0.6155 GB, free: 5.621 MB / 0.5262 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2076, allocations: 0 / 0.6155 GB, free: 5.621 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.002146/0.2097, allocations: 0.6406 MB / 0.6161 GB, free: 4.98 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.0003371/0.21, allocations: 192.2 kB / 0.6163 GB, free: 4.785 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0008531/0.2109, allocations: 0.7133 MB / 0.617 GB, free: 4.043 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2109, allocations: 0 / 0.617 GB, free: 4.043 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007003/0.2116, allocations: 440.7 kB / 0.6174 GB, free: 3.59 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005398/0.217, allocations: 1.82 MB / 0.6192 GB, free: 1.766 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3273/0.5443, allocations: 29.76 MB / 0.6482 GB, free: 145.1 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004097/0.5484, allocations: 3.834 MB / 0.652 GB, free: 144.7 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.007295/0.5557, allocations: 3.872 MB / 0.6558 GB, free: 143.8 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001125/0.5568, allocations: 0.9901 MB / 0.6567 GB, free: 143.8 MB / 0.5419 GB Notification: Performance of SimCode: time 2.404e-06/0.5568, allocations: 0 / 0.6567 GB, free: 143.8 MB / 0.5419 GB Notification: Performance of Templates: time 0.1494/0.7062, allocations: 72.03 MB / 0.7271 GB, free: 95.73 MB / 0.5419 GB " [Timeout remaining time 299] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.408841218333691]