Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.001121/0.001121, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.001153/0.001153, allocations: 170.3 kB / 24.91 MB, free: 8.773 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.8759/0.8759, allocations: 177.1 MB / 205.3 MB, free: 5.137 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.5572/0.5572, allocations: 88.07 MB / 349.9 MB, free: 14.04 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_noopt_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_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 398.8 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.902e-05, allocations: 4.062 kB / 398.8 MB, free: 13.59 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.001746/0.001765, allocations: 1.458 MB / 400.3 MB, free: 12.12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000765/0.00253, allocations: 0.5801 MB / 400.8 MB, free: 11.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.864e-05/0.002579, allocations: 0 / 400.8 MB, free: 11.54 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.002892, allocations: 451.1 kB / 401.3 MB, free: 11.1 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004034/0.003295, allocations: 498.9 kB / 401.8 MB, free: 10.61 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.003498, allocations: 79.72 kB / 401.8 MB, free: 10.53 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005991/0.004097, allocations: 1.127 MB / 403 MB, free: 9.402 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.892e-05/0.004126, allocations: 3.984 kB / 403 MB, free: 9.398 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002558/0.006684, allocations: 3.737 MB / 406.7 MB, free: 5.656 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003598/0.007043, allocations: 0.5575 MB / 407.3 MB, free: 5.098 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.14e-05/0.007095, allocations: 8 kB / 407.3 MB, free: 5.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.007222, allocations: 71.92 kB / 407.3 MB, free: 5.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001241/0.008462, allocations: 2.174 MB / 409.5 MB, free: 2.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003051/0.008767, allocations: 488.3 kB / 410 MB, free: 2.359 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.01009, allocations: 2.611 MB / 412.6 MB, free: 15.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.01009, allocations: 4 kB / 412.6 MB, free: 15.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01009, allocations: 0 / 412.6 MB, free: 15.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.897e-05/0.01013, allocations: 0 / 412.6 MB, free: 15.73 MB / 394.7 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.002661/0.01279, allocations: 5.069 MB / 417.7 MB, free: 10.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.01282, allocations: 8.031 kB / 417.7 MB, free: 10.58 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002742/0.01309, allocations: 292.5 kB / 418 MB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003209/0.0163, allocations: 3.732 MB / 421.7 MB, free: 6.441 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.01631, allocations: 384 / 421.7 MB, free: 6.441 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.915e-05/0.01635, allocations: 4.375 kB / 421.7 MB, free: 6.438 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.01658, allocations: 223.5 kB / 421.9 MB, free: 6.207 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.01659, allocations: 192 / 421.9 MB, free: 6.207 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/0.01662, allocations: 384 / 421.9 MB, free: 6.207 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.01662, allocations: 3.938 kB / 421.9 MB, free: 6.203 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.01675, allocations: 121.5 kB / 422.1 MB, free: 6.078 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002403/0.01699, allocations: 68.97 kB / 422.1 MB, free: 5.996 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.0171, allocations: 96.12 kB / 422.2 MB, free: 5.887 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.076e-05/0.01719, allocations: 86.5 kB / 422.3 MB, free: 5.793 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.778e-06/0.01719, allocations: 0 / 422.3 MB, free: 5.793 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002015/0.0174, allocations: 274.5 kB / 422.6 MB, free: 5.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.0174, allocations: 0 / 422.6 MB, free: 5.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005581/0.01795, allocations: 0.5489 MB / 423.1 MB, free: 4.926 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.01799, allocations: 77.11 kB / 423.2 MB, free: 4.832 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00245/0.02044, allocations: 4.378 MB / 427.6 MB, free: 0.4961 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/0.02047, allocations: 33.7 kB / 427.6 MB, free: 468 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004732/0.02094, allocations: 0.9207 MB / 428.5 MB, free: 15.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.613e-05/0.021, allocations: 23.83 kB / 428.5 MB, free: 15.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.02111, allocations: 105.5 kB / 428.6 MB, free: 15.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.273e-05/0.02118, allocations: 310 kB / 429 MB, free: 15.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.02126, allocations: 81.61 kB / 429 MB, free: 15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.926e-05/0.02134, allocations: 81.59 kB / 429.1 MB, free: 14.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.0215, allocations: 164.1 kB / 429.3 MB, free: 14.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.0215, allocations: 3.844 kB / 429.3 MB, free: 14.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000403/0.02191, allocations: 484.6 kB / 429.7 MB, free: 14.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/0.02194, allocations: 45.69 kB / 429.8 MB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.02194, allocations: 3.938 kB / 429.8 MB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.02195, allocations: 0 / 429.8 MB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.995e-05/0.022, allocations: 4 kB / 429.8 MB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.02201, allocations: 4.219 kB / 429.8 MB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.0222, allocations: 7.938 kB / 429.8 MB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002082/0.0224, allocations: 339.9 kB / 430.1 MB, free: 13.84 MB / 410.7 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.0003332/0.02274, allocations: 154.3 kB / 430.3 MB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/0.02295, allocations: 291.8 kB / 430.6 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002927/0.02324, allocations: 471.6 kB / 431 MB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.02324, allocations: 4 kB / 431 MB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.02324, allocations: 0 / 431 MB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.02325, allocations: 3.938 kB / 431 MB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007337/0.02398, allocations: 1.083 MB / 432.1 MB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.02398, allocations: 4 kB / 432.1 MB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.992e-05/0.024, allocations: 4 kB / 432.1 MB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.02401, allocations: 0 / 432.1 MB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-05/0.02405, allocations: 43.91 kB / 432.2 MB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.02405, allocations: 7.969 kB / 432.2 MB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.02405, allocations: 0 / 432.2 MB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004368/0.02449, allocations: 0.5475 MB / 432.7 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003481/0.02484, allocations: 0.5155 MB / 433.3 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.02497, allocations: 4 kB / 433.3 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.02515, allocations: 11.98 kB / 433.3 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.222e-05/0.02517, allocations: 0 / 433.3 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002018/0.02537, allocations: 339.9 kB / 433.6 MB, free: 10.31 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001488/0.02686, allocations: 2.397 MB / 436 MB, free: 7.953 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02686, allocations: 0 / 436 MB, free: 7.953 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003178/0.02718, allocations: 155.9 kB / 436.1 MB, free: 7.801 MB / 410.7 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.0001509/0.02733, allocations: 104.4 kB / 436.3 MB, free: 7.688 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002728/0.0276, allocations: 251.4 kB / 436.5 MB, free: 7.414 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.21e-05/0.02764, allocations: 64 kB / 436.6 MB, free: 7.352 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.02777, allocations: 165.7 kB / 436.7 MB, free: 7.168 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006808/0.02846, allocations: 445.1 kB / 437.2 MB, free: 6.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2274/0.2558, allocations: 7.161 MB / 444.3 MB, free: 51.03 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007042/0.2565, allocations: 0.9902 MB / 445.3 MB, free: 50.78 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0009881/0.2575, allocations: 0.7584 MB / 446.1 MB, free: 50.38 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001267/0.2588, allocations: 0.9221 MB / 447 MB, free: 50.14 MB / 410.8 MB Notification: Performance of SimCode: time 9.42e-07/0.2588, allocations: 0 / 447 MB, free: 50.14 MB / 410.8 MB Notification: Performance of Templates: time 0.02625/0.285, allocations: 15.11 MB / 462.1 MB, free: 38.82 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_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.1036934899166226]