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.001025/0.001025, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009622/0.0009622, allocations: 161 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.9686/0.9686, allocations: 177.1 MB / 205 MB, free: 5.652 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.5948/0.5948, allocations: 88.08 MB / 349.6 MB, free: 14.28 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.823e-06/1.823e-06, allocations: 0 / 451.6 MB, free: 33.35 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.172e-05, allocations: 4.609 kB / 451.6 MB, free: 33.35 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.001636/0.001658, allocations: 1.466 MB / 453 MB, free: 32.36 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007084/0.002366, allocations: 0.58 MB / 453.6 MB, free: 32 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.05e-05/0.002417, allocations: 0 / 453.6 MB, free: 32 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0003064/0.002723, allocations: 449.5 kB / 454.1 MB, free: 31.91 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004186/0.003142, allocations: 497.2 kB / 454.5 MB, free: 31.82 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.003362, allocations: 84.81 kB / 454.6 MB, free: 31.78 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005146/0.003877, allocations: 1.127 MB / 455.8 MB, free: 31.56 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.364e-05/0.003911, allocations: 10.19 kB / 455.8 MB, free: 31.56 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002743/0.006654, allocations: 4.177 MB / 459.9 MB, free: 31.09 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000344/0.006998, allocations: 0.554 MB / 460.5 MB, free: 31.06 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 7.618e-05/0.007074, allocations: 2.688 kB / 460.5 MB, free: 31.06 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.007242, allocations: 69.95 kB / 460.6 MB, free: 31.05 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001395/0.008636, allocations: 2.554 MB / 463.1 MB, free: 30.29 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002788/0.008915, allocations: 489.3 kB / 463.6 MB, free: 30.06 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.0101, allocations: 2.616 MB / 466.2 MB, free: 29.03 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.01011, allocations: 2.625 kB / 466.2 MB, free: 29.03 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01011, allocations: 0 / 466.2 MB, free: 29.03 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.387e-05/0.01014, allocations: 0 / 466.2 MB, free: 29.03 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.002449/0.01259, allocations: 5.576 MB / 471.8 MB, free: 25.05 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.01263, allocations: 8.562 kB / 471.8 MB, free: 25.05 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004245/0.01305, allocations: 0.5937 MB / 472.4 MB, free: 24.7 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00322/0.01627, allocations: 3.665 MB / 476.1 MB, free: 22.8 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.01629, allocations: 5.562 kB / 476.1 MB, free: 22.8 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.01633, allocations: 2.906 kB / 476.1 MB, free: 22.8 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003016/0.01663, allocations: 284 kB / 476.3 MB, free: 22.73 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.01663, allocations: 4.125 kB / 476.4 MB, free: 22.73 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.01667, allocations: 1.656 kB / 476.4 MB, free: 22.73 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.01668, allocations: 7.125 kB / 476.4 MB, free: 22.73 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.01686, allocations: 185.8 kB / 476.5 MB, free: 22.69 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.01873, allocations: 2.354 MB / 478.9 MB, free: 21.59 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.01891, allocations: 141.4 kB / 479 MB, free: 21.52 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.01905, allocations: 121.4 kB / 479.2 MB, free: 21.47 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.305e-06/0.01905, allocations: 5.234 kB / 479.2 MB, free: 21.47 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003061/0.01936, allocations: 340.8 kB / 479.5 MB, free: 21.34 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 2.024e-06/0.01936, allocations: 0 / 479.5 MB, free: 21.34 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.001508/0.02087, allocations: 1.4 MB / 480.9 MB, free: 20.86 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.02091, allocations: 88.05 kB / 481 MB, free: 20.75 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004675/0.02559, allocations: 5.625 MB / 486.6 MB, free: 18.72 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.044e-05/0.02563, allocations: 28.14 kB / 486.6 MB, free: 18.69 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001517/0.02715, allocations: 2.86 MB / 489.5 MB, free: 16.46 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.541e-05/0.02722, allocations: 30.69 kB / 489.5 MB, free: 16.44 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001858/0.02741, allocations: 166.5 kB / 489.7 MB, free: 16.41 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.427e-05/0.02747, allocations: 489.1 kB / 490.2 MB, free: 15.93 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.0276, allocations: 117.5 kB / 490.3 MB, free: 15.89 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.02772, allocations: 111 kB / 490.4 MB, free: 15.86 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.02801, allocations: 238.5 kB / 490.6 MB, free: 15.78 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.02801, allocations: 1.281 kB / 490.6 MB, free: 15.78 MB / 410.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00117/0.02918, allocations: 1.286 MB / 491.9 MB, free: 14.86 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/0.02922, allocations: 36.8 kB / 491.9 MB, free: 14.82 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.02923, allocations: 4 kB / 491.9 MB, free: 14.82 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.02924, allocations: 8.516 kB / 491.9 MB, free: 14.81 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.895e-05/0.02932, allocations: 8.547 kB / 492 MB, free: 14.8 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.02933, allocations: 0 / 492 MB, free: 14.8 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/0.02962, allocations: 16.55 kB / 492 MB, free: 14.79 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/0.02982, allocations: 364 kB / 492.3 MB, free: 14.45 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.0002956/0.03012, allocations: 193.7 kB / 492.5 MB, free: 14.25 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002925/0.03041, allocations: 0.5943 MB / 493.1 MB, free: 13.65 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003821/0.03079, allocations: 470.1 kB / 493.6 MB, free: 13.28 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.0308, allocations: 0.7031 kB / 493.6 MB, free: 13.28 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.0308, allocations: 3.938 kB / 493.6 MB, free: 13.28 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.03081, allocations: 4 kB / 493.6 MB, free: 13.27 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/0.03292, allocations: 2.423 MB / 496 MB, free: 11.19 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.03292, allocations: 0 / 496 MB, free: 11.19 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.655e-05/0.03295, allocations: 8.594 kB / 496 MB, free: 11.18 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.03295, allocations: 0 / 496 MB, free: 11.18 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.275e-05/0.03302, allocations: 76.66 kB / 496.1 MB, free: 11.13 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.03302, allocations: 0 / 496.1 MB, free: 11.13 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.03302, allocations: 0 / 496.1 MB, free: 11.13 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008726/0.03389, allocations: 1.4 MB / 497.5 MB, free: 9.883 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/0.0342, allocations: 0.5156 MB / 498 MB, free: 9.367 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.03436, allocations: 8 kB / 498 MB, free: 9.359 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.03456, allocations: 9.031 kB / 498 MB, free: 9.352 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.0346, allocations: 4.922 kB / 498 MB, free: 9.348 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000181/0.03478, allocations: 372 kB / 498.4 MB, free: 9.008 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.002341/0.03712, allocations: 2.993 MB / 0.4896 GB, free: 6.562 MB / 410.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.03712, allocations: 0 / 0.4896 GB, free: 6.562 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003915/0.03751, allocations: 159.9 kB / 0.4898 GB, free: 6.406 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.0002011/0.03771, allocations: 127.1 kB / 0.4899 GB, free: 6.273 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000348/0.03806, allocations: 318.3 kB / 0.4902 GB, free: 5.934 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.03807, allocations: 0 / 0.4902 GB, free: 5.934 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.03821, allocations: 200.7 kB / 0.4904 GB, free: 5.715 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008374/0.03905, allocations: 481.1 kB / 0.4909 GB, free: 5.242 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004339/0.04338, allocations: 7.194 MB / 0.4979 GB, free: 13.97 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005913/0.04398, allocations: 0.9901 MB / 0.4988 GB, free: 12.96 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.001258/0.04523, allocations: 1.001 MB / 0.4998 GB, free: 11.95 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.04541, allocations: 264.5 kB / 0.5001 GB, free: 11.7 MB / 426.8 MB Notification: Performance of SimCode: time 1.243e-06/0.04542, allocations: 0 / 0.5001 GB, free: 11.7 MB / 426.8 MB Notification: Performance of Templates: time 0.04296/0.08838, allocations: 22.17 MB / 0.5217 GB, free: 5.691 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: 4.582813024986535]