Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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.000911/0.000911, allocations: 87.62 kB / 21.44 MB, free: 3.121 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.007415/0.007415, allocations: 163.4 kB / 24.7 MB, free: 8.91 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.9838/0.9838, allocations: 177.1 MB / 205 MB, free: 5.719 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.6962/0.6962, allocations: 88.08 MB / 349.5 MB, free: 14.38 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_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4498,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4498,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.5242 GB, free: 3.555 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.852e-05/3.064e-05, allocations: 2.281 kB / 0.5242 GB, free: 3.551 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.002019/0.002049, allocations: 1.435 MB / 0.5256 GB, free: 2.109 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008963/0.002946, allocations: 0.553 MB / 0.5262 GB, free: 1.551 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.721e-05/0.003013, allocations: 4 kB / 0.5262 GB, free: 1.547 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0009608/0.003974, allocations: 1.719 MB / 0.5278 GB, free: 15.82 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.005091, allocations: 1.777 MB / 0.5296 GB, free: 14.04 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.005429, allocations: 71.8 kB / 0.5296 GB, free: 13.97 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.00279/0.008219, allocations: 4.307 MB / 0.5339 GB, free: 9.66 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.715e-05/0.008276, allocations: 4 kB / 0.5339 GB, free: 9.656 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002507/0.01078, allocations: 2.406 MB / 0.5362 GB, free: 7.246 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003628/0.01441, allocations: 4.543 MB / 0.5406 GB, free: 2.695 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0005093/0.01492, allocations: 252 kB / 0.5409 GB, free: 2.449 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000503/0.01542, allocations: 319.9 kB / 0.5412 GB, free: 2.137 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.008163/0.02359, allocations: 10.48 MB / 0.5514 GB, free: 7.629 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.003997/0.02758, allocations: 2.388 MB / 0.5538 GB, free: 5.227 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.007594/0.03518, allocations: 11.09 MB / 0.5646 GB, free: 10.07 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.03519, allocations: 0 / 0.5646 GB, free: 10.07 MB / 490.8 MB Notification: Performance of FrontEnd: time 3.076e-06/0.03519, allocations: 0 / 0.5646 GB, free: 10.07 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0005054/0.03569, allocations: 0 / 0.5646 GB, free: 10.07 MB / 490.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.02203/0.05773, allocations: 20.09 MB / 0.5842 GB, free: 5.773 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.05777, allocations: 12.03 kB / 0.5842 GB, free: 5.762 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002255/0.06003, allocations: 2.325 MB / 0.5865 GB, free: 3.422 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04174/0.1018, allocations: 26.13 MB / 0.612 GB, free: 9.086 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.1018, allocations: 8.375 kB / 0.612 GB, free: 9.078 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.1019, allocations: 64.38 kB / 0.6121 GB, free: 9.016 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007079/0.1026, allocations: 0.8117 MB / 0.6129 GB, free: 8.191 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1026, allocations: 192 / 0.6129 GB, free: 8.191 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-05/0.1027, allocations: 64.38 kB / 0.6129 GB, free: 8.129 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.1027, allocations: 3.938 kB / 0.6129 GB, free: 8.125 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004979/0.1032, allocations: 489.7 kB / 0.6134 GB, free: 7.641 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01067/0.1139, allocations: 6.799 MB / 0.62 GB, free: 0.8086 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000574/0.1144, allocations: 316.2 kB / 0.6203 GB, free: 496 kB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003475/0.1148, allocations: 302.6 kB / 0.6206 GB, free: 184 kB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.1148, allocations: 4 kB / 0.6206 GB, free: 180 kB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000534/0.1153, allocations: 0.7364 MB / 0.6214 GB, free: 15.41 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=8): time 2.144e-06/0.1153, allocations: 0 / 0.6214 GB, free: 15.41 MB / 0.5418 GB Notification: Performance of matching and sorting (n=8): time 0.004636/0.12, allocations: 4.428 MB / 0.6257 GB, free: 10.95 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.12, allocations: 81.05 kB / 0.6258 GB, free: 10.85 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5/0.6201, allocations: 24.83 MB / 0.65 GB, free: 87 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 0.0004423/0.6205, allocations: 91.7 kB / 0.6501 GB, free: 86.97 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.006665/0.6272, allocations: 10.82 MB / 0.6607 GB, free: 78.34 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004567/0.6276, allocations: 81.36 kB / 0.6607 GB, free: 78.34 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002946/0.6279, allocations: 461 kB / 0.6612 GB, free: 78.32 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 4.919e-05/0.628, allocations: 316.2 kB / 0.6615 GB, free: 78.02 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003319/0.6283, allocations: 296.3 kB / 0.6618 GB, free: 77.98 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/0.6286, allocations: 297.2 kB / 0.6621 GB, free: 77.94 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005364/0.6291, allocations: 0.5957 MB / 0.6626 GB, free: 77.84 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.6291, allocations: 2.016 kB / 0.6626 GB, free: 77.84 MB / 0.5419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.003697/0.6328, allocations: 4.128 MB / 0.6667 GB, free: 77.73 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 5.342e-05/0.6329, allocations: 40.12 kB / 0.6667 GB, free: 77.69 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.6329, allocations: 0 / 0.6667 GB, free: 77.69 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.6329, allocations: 4.594 kB / 0.6667 GB, free: 77.69 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.633, allocations: 9.188 kB / 0.6667 GB, free: 77.69 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.6331, allocations: 3.594 kB / 0.6667 GB, free: 77.69 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.6349, allocations: 70.77 kB / 0.6668 GB, free: 77.69 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003981/0.6353, allocations: 0.8557 MB / 0.6676 GB, free: 77.57 MB / 0.5419 GB 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.006267/0.6416, allocations: 4.904 MB / 0.6724 GB, free: 74.98 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002204/0.6438, allocations: 2.39 MB / 0.6747 GB, free: 73.94 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002813/0.6466, allocations: 2.561 MB / 0.6772 GB, free: 71.37 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.6466, allocations: 3.938 kB / 0.6773 GB, free: 71.37 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.6466, allocations: 0 / 0.6773 GB, free: 71.37 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.6466, allocations: 4 kB / 0.6773 GB, free: 71.36 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007586/0.6542, allocations: 7.424 MB / 0.6845 GB, free: 63.91 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.6542, allocations: 5.344 kB / 0.6845 GB, free: 63.91 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.714e-05/0.6542, allocations: 5.031 kB / 0.6845 GB, free: 63.91 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.6542, allocations: 0 / 0.6845 GB, free: 63.91 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004934/0.6547, allocations: 188 kB / 0.6847 GB, free: 63.73 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.6547, allocations: 4 kB / 0.6847 GB, free: 63.72 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.6547, allocations: 3.938 kB / 0.6847 GB, free: 63.72 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003533/0.6583, allocations: 4.322 MB / 0.6889 GB, free: 59.36 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0027/0.661, allocations: 2.025 MB / 0.6909 GB, free: 57.32 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001039/0.662, allocations: 68 kB / 0.691 GB, free: 57.25 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009199/0.6629, allocations: 67.78 kB / 0.691 GB, free: 57.19 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.663, allocations: 7.938 kB / 0.691 GB, free: 57.18 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003015/0.6633, allocations: 0.8594 MB / 0.6919 GB, free: 56.32 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.01727/0.6805, allocations: 17.24 MB / 0.7087 GB, free: 39.23 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6805, allocations: 0 / 0.7087 GB, free: 39.23 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.002114/0.6827, allocations: 0.6403 MB / 0.7093 GB, free: 38.6 MB / 0.5419 GB 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.0003208/0.683, allocations: 191 kB / 0.7095 GB, free: 38.41 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0007637/0.6837, allocations: 0.7215 MB / 0.7102 GB, free: 37.66 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.6838, allocations: 0 / 0.7102 GB, free: 37.66 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003733/0.6841, allocations: 431.7 kB / 0.7106 GB, free: 37.23 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00398/0.6881, allocations: 1.692 MB / 0.7123 GB, free: 35.54 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03202/0.7201, allocations: 36.14 MB / 0.7476 GB, free: 15.55 MB / 0.5575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01029/0.7304, allocations: 8.645 MB / 0.756 GB, free: 6.867 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/0.7315, allocations: 0.9888 MB / 0.757 GB, free: 5.879 MB / 0.5575 GB Notification: Performance of SimCode: time 2.124e-06/0.7315, allocations: 0 / 0.757 GB, free: 5.879 MB / 0.5575 GB Notification: Performance of Templates: time 3.403/4.134, allocations: 1.627 GB / 2.384 GB, free: 113.8 MB / 0.7453 GB " [Timeout remaining time 296] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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: 12.584040732122958]