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.001896/0.001896, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002013/0.002013, allocations: 165.6 kB / 24.27 MB, free: 156 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 1.571/1.571, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.9921/0.9921, allocations: 88.08 MB / 349.1 MB, free: 14.23 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|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|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 450.8 MB, free: 33.12 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.747e-05/2.907e-05, allocations: 5.375 kB / 450.8 MB, free: 33.12 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002101/0.00213, allocations: 1.437 MB / 452.3 MB, free: 32.14 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008475/0.002977, allocations: 0.5642 MB / 452.8 MB, free: 31.78 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.249e-05/0.00303, allocations: 7.875 kB / 452.8 MB, free: 31.77 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0003487/0.003378, allocations: 448 kB / 453.3 MB, free: 31.69 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004439/0.003822, allocations: 0.4921 MB / 453.8 MB, free: 31.59 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.004062, allocations: 75.41 kB / 453.8 MB, free: 31.56 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006244/0.004687, allocations: 1.129 MB / 455 MB, free: 31.34 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.004721, allocations: 13.45 kB / 455 MB, free: 31.33 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005644/0.005286, allocations: 0.6265 MB / 455.6 MB, free: 31.19 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007972/0.006083, allocations: 1.16 MB / 456.8 MB, free: 31.02 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001556/0.006239, allocations: 63.88 kB / 456.8 MB, free: 31.02 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002287/0.006467, allocations: 136.2 kB / 457 MB, free: 31 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.002314/0.008782, allocations: 2.626 MB / 459.6 MB, free: 30.19 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0005741/0.009356, allocations: 0.613 MB / 460.2 MB, free: 29.84 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001731/0.01109, allocations: 2.844 MB / 463 MB, free: 28.75 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.01109, allocations: 0 / 463 MB, free: 28.75 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.362e-06/0.01109, allocations: 0 / 463 MB, free: 28.75 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.762e-05/0.01116, allocations: 6.781 kB / 463.1 MB, free: 28.75 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.005249/0.01641, allocations: 5.702 MB / 468.8 MB, free: 24.7 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.01645, allocations: 10.5 kB / 468.8 MB, free: 24.7 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005662/0.01702, allocations: 0.5854 MB / 469.4 MB, free: 24.36 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008513/0.02553, allocations: 5.234 MB / 474.6 MB, free: 21.87 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.02555, allocations: 1.312 kB / 474.6 MB, free: 21.87 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.553e-05/0.02562, allocations: 18.59 kB / 474.6 MB, free: 21.87 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004801/0.0261, allocations: 277.7 kB / 474.9 MB, free: 21.79 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.02611, allocations: 192 / 474.9 MB, free: 21.79 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.994e-05/0.02617, allocations: 20.91 kB / 474.9 MB, free: 21.79 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.02618, allocations: 8.875 kB / 474.9 MB, free: 21.78 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.02648, allocations: 161 kB / 475.1 MB, free: 21.74 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004446/0.03092, allocations: 2.617 MB / 477.7 MB, free: 20.52 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.03123, allocations: 137.1 kB / 477.8 MB, free: 20.45 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.03139, allocations: 118.4 kB / 477.9 MB, free: 20.4 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.0314, allocations: 1.281 kB / 477.9 MB, free: 20.4 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003283/0.03173, allocations: 296 kB / 478.2 MB, free: 20.27 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 1.683e-06/0.03173, allocations: 0 / 478.2 MB, free: 20.27 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.002461/0.03419, allocations: 1.281 MB / 479.5 MB, free: 19.77 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.03423, allocations: 83.48 kB / 479.6 MB, free: 19.68 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007195/0.04143, allocations: 6.003 MB / 485.6 MB, free: 17.45 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001587/0.04159, allocations: 42.11 kB / 485.6 MB, free: 17.42 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002189/0.04378, allocations: 2.984 MB / 488.6 MB, free: 15.13 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.04397, allocations: 42.48 kB / 488.7 MB, free: 15.11 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.04417, allocations: 136.9 kB / 488.8 MB, free: 15.09 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.054e-05/0.04424, allocations: 490.6 kB / 489.3 MB, free: 14.61 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.04441, allocations: 113.9 kB / 489.4 MB, free: 14.56 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.04456, allocations: 109.6 kB / 489.5 MB, free: 14.53 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.04487, allocations: 242.5 kB / 489.7 MB, free: 14.43 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.04487, allocations: 0 / 489.7 MB, free: 14.43 MB / 410.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001952/0.04683, allocations: 1.175 MB / 490.9 MB, free: 13.98 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.755e-05/0.04686, allocations: 36.58 kB / 490.9 MB, free: 13.94 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.04687, allocations: 4.328 kB / 490.9 MB, free: 13.94 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.942e-05/0.0469, allocations: 0 / 490.9 MB, free: 13.94 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.935e-05/0.04698, allocations: 8.062 kB / 490.9 MB, free: 13.94 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.04699, allocations: 0 / 490.9 MB, free: 13.94 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007797/0.04777, allocations: 31.2 kB / 491 MB, free: 13.93 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001795/0.04795, allocations: 220.7 kB / 491.2 MB, free: 13.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.0006522/0.0486, allocations: 225.3 kB / 491.4 MB, free: 13.55 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004473/0.04905, allocations: 0.621 MB / 492 MB, free: 12.93 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000468/0.04951, allocations: 474.7 kB / 492.5 MB, free: 12.55 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.04952, allocations: 4 kB / 492.5 MB, free: 12.55 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.04952, allocations: 3.938 kB / 492.5 MB, free: 12.55 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.04953, allocations: 7.047 kB / 492.5 MB, free: 12.54 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/0.05184, allocations: 2.681 MB / 495.2 MB, free: 10.2 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.05185, allocations: 3.516 kB / 495.2 MB, free: 10.2 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.697e-05/0.05188, allocations: 7.938 kB / 495.2 MB, free: 10.19 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.05189, allocations: 3.984 kB / 495.2 MB, free: 10.18 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.629e-05/0.05196, allocations: 52 kB / 495.3 MB, free: 10.13 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.05197, allocations: 0 / 495.3 MB, free: 10.13 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.05197, allocations: 0 / 495.3 MB, free: 10.13 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.05308, allocations: 1.291 MB / 496.5 MB, free: 8.812 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008696/0.05395, allocations: 0.5187 MB / 497.1 MB, free: 8.293 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000258/0.05421, allocations: 23.38 kB / 497.1 MB, free: 8.273 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003302/0.05454, allocations: 20 kB / 497.1 MB, free: 8.254 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.05458, allocations: 7.922 kB / 497.1 MB, free: 8.246 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/0.05472, allocations: 224 kB / 497.3 MB, free: 8.027 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.00345/0.05817, allocations: 3.164 MB / 0.4888 GB, free: 5.457 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.6e-07/0.05817, allocations: 0 / 0.4888 GB, free: 5.457 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0007036/0.05887, allocations: 188.6 kB / 0.4889 GB, free: 5.273 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.0002276/0.0591, allocations: 146.1 kB / 0.4891 GB, free: 5.125 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004516/0.05955, allocations: 333.7 kB / 0.4894 GB, free: 4.781 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.05955, allocations: 0 / 0.4894 GB, free: 4.781 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.05977, allocations: 211.2 kB / 0.4896 GB, free: 4.559 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.06099, allocations: 474.5 kB / 0.4901 GB, free: 4.094 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008909/0.0699, allocations: 7.191 MB / 0.4971 GB, free: 13.29 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002781/0.07268, allocations: 2.011 MB / 0.499 GB, free: 11.99 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.00257/0.07525, allocations: 1.009 MB / 0.5 GB, free: 11.12 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003688/0.07562, allocations: 264.4 kB / 0.5003 GB, free: 10.87 MB / 426.8 MB Notification: Performance of SimCode: time 1.593e-06/0.07562, allocations: 0 / 0.5003 GB, free: 10.87 MB / 426.8 MB Notification: Performance of Templates: time 0.05388/0.1295, allocations: 18.12 MB / 0.518 GB, free: 8.652 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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: 6.769488007994369]