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.0009686/0.0009686, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001074/0.001074, allocations: 172 kB / 24.82 MB, free: 9.316 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.9094/0.9094, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.6159/0.6159, allocations: 88.08 MB / 349.9 MB, free: 14.17 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|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|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 452 MB, free: 33.09 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.238e-05/1.385e-05, allocations: 5.266 kB / 452 MB, free: 33.09 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.001451/0.001465, allocations: 1.46 MB / 453.5 MB, free: 32.11 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006438/0.002108, allocations: 0.5726 MB / 454.1 MB, free: 31.74 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.543e-05/0.002174, allocations: 6.875 kB / 454.1 MB, free: 31.73 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.002454, allocations: 445 kB / 454.5 MB, free: 31.66 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003902/0.002844, allocations: 0.4898 MB / 455 MB, free: 31.55 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.003073, allocations: 76.67 kB / 455.1 MB, free: 31.52 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005721/0.003645, allocations: 1.136 MB / 456.2 MB, free: 31.3 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.447e-05/0.00368, allocations: 0 / 456.2 MB, free: 31.3 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003081/0.006761, allocations: 4.212 MB / 460.4 MB, free: 30.8 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003651/0.007126, allocations: 0.5478 MB / 461 MB, free: 30.78 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 6.323e-05/0.007189, allocations: 2.438 kB / 461 MB, free: 30.78 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.007337, allocations: 80.62 kB / 461.1 MB, free: 30.75 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001397/0.008733, allocations: 2.564 MB / 463.6 MB, free: 29.97 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002442/0.008977, allocations: 492.4 kB / 464.1 MB, free: 29.74 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.01004, allocations: 2.611 MB / 466.7 MB, free: 28.71 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.01005, allocations: 4 kB / 466.7 MB, free: 28.71 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01005, allocations: 4 kB / 466.7 MB, free: 28.71 MB / 410.8 MB Notification: Performance of Transformations before backend: time 2.784e-05/0.01007, allocations: 2.906 kB / 466.7 MB, free: 28.71 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.002367/0.01244, allocations: 5.68 MB / 472.4 MB, free: 24.66 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.01248, allocations: 9.219 kB / 472.4 MB, free: 24.66 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003571/0.01284, allocations: 0.5893 MB / 473 MB, free: 24.32 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002984/0.01582, allocations: 3.661 MB / 476.7 MB, free: 22.42 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.01583, allocations: 5 kB / 476.7 MB, free: 22.42 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.01586, allocations: 2.906 kB / 476.7 MB, free: 22.42 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.01611, allocations: 283 kB / 476.9 MB, free: 22.36 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.01611, allocations: 6.938 kB / 477 MB, free: 22.35 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.01614, allocations: 384 / 477 MB, free: 22.35 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.01614, allocations: 5.188 kB / 477 MB, free: 22.35 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.0163, allocations: 184.7 kB / 477.1 MB, free: 22.31 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.01735, allocations: 1.353 MB / 478.5 MB, free: 21.66 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.01749, allocations: 133.4 kB / 478.6 MB, free: 21.59 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.01761, allocations: 116.9 kB / 478.7 MB, free: 21.54 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.201e-06/0.01761, allocations: 1.312 kB / 478.7 MB, free: 21.54 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000234/0.01785, allocations: 343.8 kB / 479.1 MB, free: 21.41 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.01785, allocations: 0 / 479.1 MB, free: 21.41 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.001183/0.01903, allocations: 1.396 MB / 480.5 MB, free: 20.93 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.01906, allocations: 84.27 kB / 480.5 MB, free: 20.83 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00401/0.02307, allocations: 5.652 MB / 486.2 MB, free: 18.72 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.02309, allocations: 25.7 kB / 486.2 MB, free: 18.69 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001475/0.02457, allocations: 2.829 MB / 489.1 MB, free: 16.5 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.185e-05/0.02462, allocations: 30.3 kB / 489.1 MB, free: 16.48 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.02476, allocations: 166.1 kB / 489.2 MB, free: 16.45 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.552e-05/0.02481, allocations: 493.4 kB / 489.7 MB, free: 15.96 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.02491, allocations: 113.4 kB / 489.8 MB, free: 15.93 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.02502, allocations: 117.9 kB / 490 MB, free: 15.89 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.02526, allocations: 233.6 kB / 490.2 MB, free: 15.81 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.02527, allocations: 4 kB / 490.2 MB, free: 15.8 MB / 410.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009158/0.02618, allocations: 1.281 MB / 491.5 MB, free: 15.19 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/0.02621, allocations: 37.41 kB / 491.5 MB, free: 15.15 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.02622, allocations: 0 / 491.5 MB, free: 15.15 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.02623, allocations: 1.5 kB / 491.5 MB, free: 15.15 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.07e-05/0.02629, allocations: 4 kB / 491.5 MB, free: 15.14 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.02629, allocations: 3.938 kB / 491.5 MB, free: 15.14 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.02652, allocations: 9.781 kB / 491.5 MB, free: 15.13 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000206/0.02673, allocations: 370.5 kB / 491.9 MB, free: 14.79 MB / 410.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.0002839/0.02701, allocations: 207.9 kB / 492.1 MB, free: 14.58 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002618/0.02727, allocations: 0.5859 MB / 492.7 MB, free: 13.99 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003667/0.02764, allocations: 478.9 kB / 493.1 MB, free: 13.61 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.02764, allocations: 0 / 493.1 MB, free: 13.61 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.02765, allocations: 0 / 493.1 MB, free: 13.61 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.02765, allocations: 8.484 kB / 493.2 MB, free: 13.61 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.0289, allocations: 1.543 MB / 494.7 MB, free: 12.22 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.0289, allocations: 0.5625 kB / 494.7 MB, free: 12.22 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.964e-05/0.02892, allocations: 4 kB / 494.7 MB, free: 12.22 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.02892, allocations: 4.844 kB / 494.7 MB, free: 12.21 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-05/0.02898, allocations: 72.23 kB / 494.8 MB, free: 12.17 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.02898, allocations: 4 kB / 494.8 MB, free: 12.16 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.02898, allocations: 0 / 494.8 MB, free: 12.16 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008596/0.02984, allocations: 1.388 MB / 496.2 MB, free: 10.93 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003336/0.03018, allocations: 0.5228 MB / 496.7 MB, free: 10.41 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.03031, allocations: 0.5625 kB / 496.7 MB, free: 10.41 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.0305, allocations: 4.703 kB / 496.7 MB, free: 10.4 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.03053, allocations: 1.359 kB / 496.7 MB, free: 10.4 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001925/0.03072, allocations: 372 kB / 497.1 MB, free: 10.06 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001842/0.03256, allocations: 2.815 MB / 499.9 MB, free: 7.84 MB / 410.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03256, allocations: 0 / 499.9 MB, free: 7.84 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003373/0.0329, allocations: 165.3 kB / 0.4883 GB, free: 7.68 MB / 410.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.0001685/0.03307, allocations: 135.5 kB / 0.4884 GB, free: 7.543 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003497/0.03342, allocations: 313.1 kB / 0.4887 GB, free: 7.266 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.03342, allocations: 0 / 0.4887 GB, free: 7.266 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.03359, allocations: 186.8 kB / 0.4889 GB, free: 7.09 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007373/0.03433, allocations: 477.8 kB / 0.4894 GB, free: 6.645 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004346/0.03867, allocations: 7.204 MB / 0.4964 GB, free: 15.6 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006829/0.03936, allocations: 0.9824 MB / 0.4974 GB, free: 14.6 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.001106/0.04046, allocations: 0.7587 MB / 0.4981 GB, free: 13.83 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001226/0.04169, allocations: 0.9467 MB / 0.499 GB, free: 12.89 MB / 426.8 MB Notification: Performance of SimCode: time 9.52e-07/0.04169, allocations: 0 / 0.499 GB, free: 12.89 MB / 426.8 MB Notification: Performance of Templates: time 0.02985/0.07154, allocations: 15.14 MB / 0.5138 GB, free: 13.65 MB / 442.8 MB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.701489752624184]