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.001029/0.001029, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009676/0.0009676, allocations: 161.4 kB / 24.56 MB, free: 16 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.9034/0.9034, allocations: 177.1 MB / 205 MB, free: 5.629 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.5786/0.5786, allocations: 88.08 MB / 349.6 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_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="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|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 451.6 MB, free: 33.36 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.374e-05/1.537e-05, allocations: 8.266 kB / 451.6 MB, free: 33.36 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.002054/0.002069, allocations: 1.463 MB / 453 MB, free: 32.38 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009776/0.003047, allocations: 0.5837 MB / 453.6 MB, free: 32.01 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.094e-05/0.003108, allocations: 4 kB / 453.6 MB, free: 32 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0005742/0.003682, allocations: 0.8645 MB / 454.5 MB, free: 31.85 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0008014/0.004483, allocations: 0.9065 MB / 455.4 MB, free: 31.68 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.004854, allocations: 87.19 kB / 455.5 MB, free: 31.64 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.002174/0.007027, allocations: 2.191 MB / 457.7 MB, free: 31.23 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.901e-05/0.007076, allocations: 2.406 kB / 457.7 MB, free: 31.23 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01041/0.01749, allocations: 8.278 MB / 466 MB, free: 30.31 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/0.01895, allocations: 1.092 MB / 467.1 MB, free: 30.27 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002674/0.01922, allocations: 6.688 kB / 467.1 MB, free: 30.26 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003141/0.01953, allocations: 68.42 kB / 467.1 MB, free: 30.25 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.005464/0.02499, allocations: 5.091 MB / 472.2 MB, free: 28.74 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0008432/0.02584, allocations: 0.9508 MB / 473.2 MB, free: 28.29 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.00334/0.02918, allocations: 5.134 MB / 478.3 MB, free: 26.27 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.02918, allocations: 0 / 478.3 MB, free: 26.27 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.362e-06/0.02918, allocations: 0 / 478.3 MB, free: 26.27 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0001182/0.0293, allocations: 5.062 kB / 478.3 MB, free: 26.27 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.007002/0.0363, allocations: 10.76 MB / 489.1 MB, free: 17.91 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/0.03636, allocations: 8.031 kB / 489.1 MB, free: 17.9 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007327/0.03709, allocations: 1.165 MB / 490.2 MB, free: 16.73 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006461/0.04356, allocations: 7.528 MB / 497.8 MB, free: 10 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.04357, allocations: 8.375 kB / 497.8 MB, free: 9.996 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-05/0.04363, allocations: 4.312 kB / 497.8 MB, free: 9.992 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005732/0.04421, allocations: 496.2 kB / 498.3 MB, free: 9.73 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.04421, allocations: 192 / 498.3 MB, free: 9.73 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.801e-05/0.04427, allocations: 4.375 kB / 498.3 MB, free: 9.727 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.04428, allocations: 7.938 kB / 498.3 MB, free: 9.719 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002977/0.04458, allocations: 325.2 kB / 498.6 MB, free: 9.449 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002621/0.0472, allocations: 4.606 MB / 0.4914 GB, free: 4.812 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.0474, allocations: 208.6 kB / 0.4916 GB, free: 4.59 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.04757, allocations: 197.1 kB / 0.4918 GB, free: 4.387 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-06/0.04758, allocations: 0 / 0.4918 GB, free: 4.387 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003554/0.04793, allocations: 0.5394 MB / 0.4923 GB, free: 3.82 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.04794, allocations: 0 / 0.4923 GB, free: 3.82 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.001689/0.04962, allocations: 2.595 MB / 0.4949 GB, free: 1.191 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.04965, allocations: 93.03 kB / 0.4949 GB, free: 1.082 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007829/0.05748, allocations: 11.13 MB / 0.5058 GB, free: 6.059 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 6.706e-05/0.05755, allocations: 29.7 kB / 0.5058 GB, free: 6.023 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003662/0.06121, allocations: 5.837 MB / 0.5115 GB, free: 188 kB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.06131, allocations: 19.89 kB / 0.5116 GB, free: 168 kB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002832/0.0616, allocations: 311 kB / 0.5119 GB, free: 15.85 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.06171, allocations: 484.4 kB / 0.5123 GB, free: 15.37 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004633/0.06217, allocations: 181.5 kB / 0.5125 GB, free: 15.19 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.06235, allocations: 193.5 kB / 0.5127 GB, free: 14.99 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003796/0.06273, allocations: 374.7 kB / 0.513 GB, free: 14.61 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.06273, allocations: 0 / 0.513 GB, free: 14.61 MB / 442.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001675/0.06441, allocations: 2.424 MB / 0.5154 GB, free: 12.16 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/0.06445, allocations: 44.66 kB / 0.5154 GB, free: 12.11 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.06445, allocations: 8 kB / 0.5155 GB, free: 12.11 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.06447, allocations: 0 / 0.5155 GB, free: 12.11 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.951e-05/0.06455, allocations: 7.938 kB / 0.5155 GB, free: 12.1 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.06455, allocations: 0 / 0.5155 GB, free: 12.1 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003853/0.06494, allocations: 7.938 kB / 0.5155 GB, free: 12.09 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005121/0.06545, allocations: 0.7225 MB / 0.5162 GB, free: 11.37 MB / 442.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.0005381/0.06599, allocations: 198.2 kB / 0.5164 GB, free: 11.16 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006304/0.06662, allocations: 1.168 MB / 0.5175 GB, free: 9.98 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006438/0.06726, allocations: 0.9251 MB / 0.5184 GB, free: 9.047 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.06727, allocations: 0 / 0.5184 GB, free: 9.047 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.06727, allocations: 3.938 kB / 0.5184 GB, free: 9.043 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.06728, allocations: 0 / 0.5184 GB, free: 9.043 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003482/0.07076, allocations: 4.735 MB / 0.523 GB, free: 4.277 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.07076, allocations: 0 / 0.523 GB, free: 4.277 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.612e-05/0.07078, allocations: 11.94 kB / 0.523 GB, free: 4.266 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.07079, allocations: 0 / 0.523 GB, free: 4.266 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/0.0709, allocations: 143.8 kB / 0.5232 GB, free: 4.125 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/0.0709, allocations: 0 / 0.5232 GB, free: 4.125 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.0709, allocations: 4 kB / 0.5232 GB, free: 4.121 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.07263, allocations: 2.587 MB / 0.5257 GB, free: 1.492 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009702/0.0736, allocations: 1.019 MB / 0.5267 GB, free: 476 kB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002964/0.07389, allocations: 4 kB / 0.5267 GB, free: 472 kB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003609/0.07425, allocations: 0 / 0.5267 GB, free: 472 kB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.07429, allocations: 11.88 kB / 0.5267 GB, free: 460 kB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004718/0.07476, allocations: 0.7225 MB / 0.5274 GB, free: 15.73 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.004943/0.07971, allocations: 5.862 MB / 0.5332 GB, free: 9.945 MB / 458.8 MB Notification: Performance of sort global known variables: time 6e-08/0.07971, allocations: 0 / 0.5332 GB, free: 9.945 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0006532/0.08036, allocations: 279.9 kB / 0.5334 GB, free: 9.672 MB / 458.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.0002444/0.0806, allocations: 131.2 kB / 0.5335 GB, free: 9.535 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0008027/0.08141, allocations: 466.1 kB / 0.534 GB, free: 9.051 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.08141, allocations: 0 / 0.534 GB, free: 9.051 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002615/0.08167, allocations: 260.6 kB / 0.5342 GB, free: 8.773 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001717/0.08339, allocations: 0.9315 MB / 0.5351 GB, free: 7.84 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/0.09583, allocations: 14.6 MB / 0.5494 GB, free: 9.109 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/0.09699, allocations: 1.931 MB / 0.5513 GB, free: 7.16 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.002499/0.09949, allocations: 1.926 MB / 0.5532 GB, free: 5.223 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003346/0.09982, allocations: 0.5005 MB / 0.5537 GB, free: 4.727 MB / 474.8 MB Notification: Performance of SimCode: time 1.292e-06/0.09983, allocations: 0 / 0.5537 GB, free: 4.727 MB / 474.8 MB Notification: Performance of Templates: time 0.06784/0.1677, allocations: 43.57 MB / 0.5962 GB, free: 9.594 MB / 0.5105 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.2009585071355104]