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.00144/0.00144, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001636/0.001636, allocations: 159.2 kB / 24.98 MB, free: 9.324 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.971/0.971, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.6237/0.6237, allocations: 88.08 MB / 349.9 MB, free: 14.29 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|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|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 451.6 MB, free: 33.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.733e-05, allocations: 2.312 kB / 451.6 MB, free: 33.39 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.003189/0.003216, allocations: 1.458 MB / 453 MB, free: 32.41 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.00435, allocations: 0.5792 MB / 453.6 MB, free: 32.04 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.581e-05/0.004426, allocations: 3.938 kB / 453.6 MB, free: 32.04 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002211/0.006637, allocations: 3.428 MB / 457 MB, free: 31.42 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002478/0.009115, allocations: 3.473 MB / 460.5 MB, free: 30.79 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004072/0.009522, allocations: 86.92 kB / 460.6 MB, free: 30.75 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.00737/0.01689, allocations: 8.554 MB / 469.1 MB, free: 29.19 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.437e-05/0.01695, allocations: 2.219 kB / 469.1 MB, free: 29.19 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0164/0.03335, allocations: 4.742 MB / 473.9 MB, free: 28.14 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01658/0.04993, allocations: 9.059 MB / 482.9 MB, free: 25.07 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.00305/0.05298, allocations: 0.4911 MB / 483.4 MB, free: 25.07 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002698/0.05568, allocations: 0.5601 MB / 484 MB, free: 24.62 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01361/0.06928, allocations: 20.95 MB / 0.4931 GB, free: 3.617 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.009237/0.07852, allocations: 4.772 MB / 0.4978 GB, free: 14.82 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01622/0.09474, allocations: 19.99 MB / 0.5173 GB, free: 10.71 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.09475, allocations: 4 kB / 0.5173 GB, free: 10.71 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.963e-06/0.09475, allocations: 0 / 0.5173 GB, free: 10.71 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.001064/0.09582, allocations: 0 / 0.5173 GB, free: 10.71 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.04976/0.1456, allocations: 41.87 MB / 0.5582 GB, free: 464 kB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.1456, allocations: 12.03 kB / 0.5582 GB, free: 452 kB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005652/0.1513, allocations: 4.644 MB / 0.5627 GB, free: 11.77 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06315/0.2144, allocations: 42.82 MB / 0.6046 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.2145, allocations: 384 / 0.6046 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.2146, allocations: 128.4 kB / 0.6047 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.2159, allocations: 1.545 MB / 0.6062 GB, free: 14.95 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.2159, allocations: 192 / 0.6062 GB, free: 14.94 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001661/0.2161, allocations: 127.8 kB / 0.6063 GB, free: 14.82 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.2161, allocations: 0 / 0.6063 GB, free: 14.82 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007332/0.2168, allocations: 0.9001 MB / 0.6072 GB, free: 13.91 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02539/0.2422, allocations: 18.25 MB / 0.625 GB, free: 11.62 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.2435, allocations: 0.5515 MB / 0.6255 GB, free: 11.05 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005662/0.244, allocations: 0.5444 MB / 0.6261 GB, free: 10.5 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.244, allocations: 0 / 0.6261 GB, free: 10.5 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001085/0.2451, allocations: 1.351 MB / 0.6274 GB, free: 9.117 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=8): time 2.545e-06/0.2451, allocations: 0 / 0.6274 GB, free: 9.117 MB / 0.5418 GB Notification: Performance of matching and sorting (n=8): time 0.009477/0.2546, allocations: 8.752 MB / 0.6359 GB, free: 320 kB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.2547, allocations: 85.11 kB / 0.636 GB, free: 216 kB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4557/0.7104, allocations: 44.1 MB / 0.6791 GB, free: 108.4 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 0.0006999/0.7111, allocations: 151.7 kB / 0.6792 GB, free: 108.4 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.01728/0.7284, allocations: 24.96 MB / 0.7036 GB, free: 88.58 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007082/0.7291, allocations: 143.3 kB / 0.7037 GB, free: 88.58 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005785/0.7297, allocations: 0.8835 MB / 0.7046 GB, free: 88.55 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 5.356e-05/0.7297, allocations: 487.8 kB / 0.7051 GB, free: 88.07 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004645/0.7302, allocations: 0.5363 MB / 0.7056 GB, free: 88.04 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004487/0.7306, allocations: 0.5283 MB / 0.7061 GB, free: 88 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009518/0.7316, allocations: 1.074 MB / 0.7072 GB, free: 87.92 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.7316, allocations: 0 / 0.7072 GB, free: 87.92 MB / 0.5419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00715/0.7387, allocations: 8.22 MB / 0.7152 GB, free: 86.83 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 5.097e-05/0.7388, allocations: 41.69 kB / 0.7152 GB, free: 86.79 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.7388, allocations: 6.75 kB / 0.7152 GB, free: 86.79 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.7388, allocations: 0 / 0.7152 GB, free: 86.79 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.658e-05/0.7389, allocations: 4 kB / 0.7152 GB, free: 86.78 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.7389, allocations: 0 / 0.7152 GB, free: 86.78 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003863/0.7428, allocations: 131.9 kB / 0.7154 GB, free: 86.66 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007683/0.7435, allocations: 1.711 MB / 0.717 GB, free: 84.95 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.004528/0.7481, allocations: 440.3 kB / 0.7175 GB, free: 84.5 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004129/0.7522, allocations: 4.899 MB / 0.7222 GB, free: 82.29 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005585/0.7578, allocations: 3.656 MB / 0.7258 GB, free: 79.11 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.7578, allocations: 0 / 0.7258 GB, free: 79.11 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.7578, allocations: 0 / 0.7258 GB, free: 79.11 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.7578, allocations: 1.641 kB / 0.7258 GB, free: 79.11 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01622/0.774, allocations: 18.74 MB / 0.7441 GB, free: 60.32 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.774, allocations: 0 / 0.7441 GB, free: 60.32 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.367e-05/0.7741, allocations: 4 kB / 0.7441 GB, free: 60.32 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.7741, allocations: 0.5625 kB / 0.7441 GB, free: 60.32 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007966/0.7749, allocations: 379.9 kB / 0.7445 GB, free: 59.95 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.7749, allocations: 3.938 kB / 0.7445 GB, free: 59.95 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.7749, allocations: 0 / 0.7445 GB, free: 59.95 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00692/0.7818, allocations: 8.735 MB / 0.753 GB, free: 51.15 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005312/0.7871, allocations: 4.042 MB / 0.757 GB, free: 47.08 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002299/0.7894, allocations: 132 kB / 0.7571 GB, free: 46.95 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002321/0.7917, allocations: 131.9 kB / 0.7572 GB, free: 46.82 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.7918, allocations: 4 kB / 0.7572 GB, free: 46.82 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006575/0.7924, allocations: 1.716 MB / 0.7589 GB, free: 45.1 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.04049/0.8329, allocations: 30.35 MB / 0.7885 GB, free: 15.05 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8329, allocations: 0 / 0.7885 GB, free: 15.05 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.004063/0.837, allocations: 1.253 MB / 0.7898 GB, free: 13.8 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.0004237/0.8374, allocations: 257.1 kB / 0.79 GB, free: 13.55 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.001272/0.8387, allocations: 1.268 MB / 0.7912 GB, free: 12.25 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.8387, allocations: 0 / 0.7912 GB, free: 12.25 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.000648/0.8393, allocations: 0.7283 MB / 0.792 GB, free: 11.5 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0115/0.8508, allocations: 3.626 MB / 0.7955 GB, free: 7.875 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08259/0.9334, allocations: 60.84 MB / 0.8549 GB, free: 11.13 MB / 0.6044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01388/0.9473, allocations: 7.632 MB / 0.8624 GB, free: 3.461 MB / 0.6044 GB Notification: Performance of simCode: alias equations: time 0.3928/1.34, allocations: 7.875 MB / 0.8701 GB, free: 170.6 MB / 0.6046 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001979/1.342, allocations: 1.968 MB / 0.872 GB, free: 170.5 MB / 0.6046 GB Notification: Performance of SimCode: time 2.595e-06/1.342, allocations: 3 kB / 0.872 GB, free: 170.5 MB / 0.6046 GB Notification: Performance of Templates: time 0.2935/1.636, allocations: 144.4 MB / 1.013 GB, free: 66.05 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=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) [Timeout 240] 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","",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.604330237023532]