Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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.002373/0.002373, allocations: 78.42 kB / 20.49 MB, free: 1.387 MB / 14.72 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.002369/0.002369, allocations: 164.6 kB / 23.74 MB, free: 4.57 MB / 14.72 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.53/1.53, allocations: 177.2 MB / 204.1 MB, free: 9.289 MB / 190.1 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 1.074/1.074, allocations: 88.07 MB / 348.6 MB, free: 1.895 MB / 318.1 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_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8498,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8498,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 67.95 kB / 0.5232 GB, free: 8.355 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.2017, allocations: 85.84 MB / 0.6071 GB, free: 4.996 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.003686/0.2054, allocations: 1.423 MB / 0.6085 GB, free: 3.566 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.2069, allocations: 0.5492 MB / 0.609 GB, free: 3.012 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.052e-05/0.207, allocations: 0 / 0.609 GB, free: 3.012 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.003191/0.2102, allocations: 3.43 MB / 0.6123 GB, free: 15.57 MB / 0.5295 GB Notification: Performance of NFTyping.typeBindings: time 0.003445/0.2136, allocations: 3.481 MB / 0.6157 GB, free: 12.09 MB / 0.5295 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004889/0.2141, allocations: 71.8 kB / 0.6158 GB, free: 12.02 MB / 0.5295 GB Notification: Performance of NFFlatten.flatten: time 0.008946/0.2231, allocations: 8.547 MB / 0.6242 GB, free: 3.457 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 9.415e-05/0.2232, allocations: 7.938 kB / 0.6242 GB, free: 3.449 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01075/0.2339, allocations: 4.762 MB / 0.6288 GB, free: 14.68 MB / 0.5452 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01529/0.2492, allocations: 9.054 MB / 0.6377 GB, free: 5.609 MB / 0.5452 GB Notification: Performance of NFPackage.collectConstants: time 0.002981/0.2522, allocations: 0.4922 MB / 0.6381 GB, free: 5.117 MB / 0.5452 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002942/0.2551, allocations: 0.5585 MB / 0.6387 GB, free: 4.559 MB / 0.5452 GB Notification: Performance of NFScalarize.scalarize: time 0.02991/0.285, allocations: 20.71 MB / 0.6589 GB, free: 15.8 MB / 0.5764 GB Notification: Performance of NFVerifyModel.verify: time 0.01628/0.3013, allocations: 8.072 MB / 0.6668 GB, free: 7.641 MB / 0.5764 GB Notification: Performance of NFConvertDAE.convert: time 0.8137/1.115, allocations: 25.47 MB / 0.6917 GB, free: 40.56 MB / 0.5923 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/1.115, allocations: 1.031 kB / 0.6917 GB, free: 40.56 MB / 0.5923 GB Notification: Performance of FrontEnd: time 2.525e-06/1.115, allocations: 0 / 0.6917 GB, free: 40.56 MB / 0.5923 GB Notification: Performance of Transformations before backend: time 0.00163/1.117, allocations: 0 / 0.6917 GB, free: 40.56 MB / 0.5923 GB 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.1033/1.22, allocations: 40.39 MB / 0.7311 GB, free: 13.82 MB / 0.5923 GB Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/1.22, allocations: 10.62 kB / 0.7311 GB, free: 13.82 MB / 0.5923 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01291/1.233, allocations: 4.644 MB / 0.7357 GB, free: 11.1 MB / 0.5923 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1469/1.38, allocations: 52.37 MB / 0.7868 GB, free: 3.621 MB / 0.6235 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/1.38, allocations: 3.281 kB / 0.7868 GB, free: 3.621 MB / 0.6235 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001378/1.381, allocations: 132.4 kB / 0.7869 GB, free: 3.492 MB / 0.6235 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002879/1.384, allocations: 1.545 MB / 0.7884 GB, free: 1.934 MB / 0.6235 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/1.384, allocations: 7.75 kB / 0.7884 GB, free: 1.93 MB / 0.6235 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002695/1.384, allocations: 124 kB / 0.7886 GB, free: 1.809 MB / 0.6235 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/1.384, allocations: 0 / 0.7886 GB, free: 1.809 MB / 0.6235 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/1.386, allocations: 0.904 MB / 0.7894 GB, free: 0.8984 MB / 0.6235 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03851/1.424, allocations: 13.5 MB / 0.8026 GB, free: 3.355 MB / 0.6392 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002236/1.426, allocations: 0.5546 MB / 0.8032 GB, free: 2.789 MB / 0.6392 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008937/1.427, allocations: 0.5345 MB / 0.8037 GB, free: 2.246 MB / 0.6392 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/1.427, allocations: 0 / 0.8037 GB, free: 2.246 MB / 0.6392 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0017/1.429, allocations: 1.356 MB / 0.805 GB, free: 0.8711 MB / 0.6392 GB Notification: Performance of pre-optimization done (n=8): time 1.744e-06/1.429, allocations: 0 / 0.805 GB, free: 0.8711 MB / 0.6392 GB Notification: Performance of matching and sorting (n=8): time 0.01826/1.447, allocations: 8.627 MB / 0.8134 GB, free: 8.188 MB / 0.6548 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.576e-05/1.447, allocations: 81.09 kB / 0.8135 GB, free: 8.09 MB / 0.6548 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1329/1.58, allocations: 49.58 MB / 0.8619 GB, free: 6.926 MB / 0.7017 GB Notification: Performance of collectPreVariables (initialization): time 0.001385/1.582, allocations: 161.8 kB / 0.8621 GB, free: 6.766 MB / 0.7017 GB Notification: Performance of collectInitialEqns (initialization): time 0.03925/1.621, allocations: 22.55 MB / 0.8841 GB, free: 212 kB / 0.7173 GB Notification: Performance of collectInitialBindings (initialization): time 0.001385/1.622, allocations: 151 kB / 0.8842 GB, free: 64 kB / 0.7173 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003544/1.626, allocations: 0.8829 MB / 0.8851 GB, free: 15.18 MB / 0.7329 GB Notification: Performance of setup shared object (initialization): time 0.0001723/1.626, allocations: 306 kB / 0.8854 GB, free: 14.88 MB / 0.7329 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009723/1.627, allocations: 0.5368 MB / 0.8859 GB, free: 14.33 MB / 0.7329 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008724/1.628, allocations: 0.5407 MB / 0.8865 GB, free: 13.79 MB / 0.7329 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001805/1.63, allocations: 1.075 MB / 0.8875 GB, free: 12.7 MB / 0.7329 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/1.63, allocations: 1.594 kB / 0.8875 GB, free: 12.7 MB / 0.7329 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01642/1.646, allocations: 8.1 MB / 0.8954 GB, free: 4.551 MB / 0.7329 GB Notification: Performance of prepare postOptimizeDAE: time 7.113e-05/1.646, allocations: 44.53 kB / 0.8955 GB, free: 4.504 MB / 0.7329 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.646, allocations: 0 / 0.8955 GB, free: 4.504 MB / 0.7329 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/1.646, allocations: 2.812 kB / 0.8955 GB, free: 4.504 MB / 0.7329 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/1.646, allocations: 4 kB / 0.8955 GB, free: 4.5 MB / 0.7329 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/1.646, allocations: 0 / 0.8955 GB, free: 4.5 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007936/1.654, allocations: 135.1 kB / 0.8956 GB, free: 4.371 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002326/1.657, allocations: 1.715 MB / 0.8973 GB, free: 2.656 MB / 0.7329 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.02344/1.68, allocations: 9.675 MB / 0.9067 GB, free: 8.957 MB / 0.7485 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01183/1.692, allocations: 4.773 MB / 0.9114 GB, free: 4.152 MB / 0.7485 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01552/1.707, allocations: 5.111 MB / 0.9164 GB, free: 15.04 MB / 0.7642 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/1.707, allocations: 2.188 kB / 0.9164 GB, free: 15.04 MB / 0.7642 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/1.707, allocations: 0.6562 kB / 0.9164 GB, free: 15.04 MB / 0.7642 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/1.707, allocations: 0 / 0.9164 GB, free: 15.04 MB / 0.7642 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04536/1.753, allocations: 14.73 MB / 0.9308 GB, free: 268 kB / 0.7642 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/1.753, allocations: 0 / 0.9308 GB, free: 268 kB / 0.7642 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.486e-05/1.753, allocations: 3.562 kB / 0.9308 GB, free: 268 kB / 0.7642 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/1.753, allocations: 0 / 0.9308 GB, free: 268 kB / 0.7642 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00169/1.754, allocations: 388 kB / 0.9311 GB, free: 15.88 MB / 0.7798 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.281e-06/1.754, allocations: 0.875 kB / 0.9311 GB, free: 15.88 MB / 0.7798 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.755, allocations: 0 / 0.9311 GB, free: 15.88 MB / 0.7798 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01988/1.774, allocations: 8.432 MB / 0.9394 GB, free: 7.391 MB / 0.7798 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01594/1.79, allocations: 4.044 MB / 0.9433 GB, free: 3.316 MB / 0.7798 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005925/1.796, allocations: 133.4 kB / 0.9434 GB, free: 3.188 MB / 0.7798 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006901/1.803, allocations: 132 kB / 0.9436 GB, free: 3.059 MB / 0.7798 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.791e-05/1.803, allocations: 0 / 0.9436 GB, free: 3.059 MB / 0.7798 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003015/1.806, allocations: 1.715 MB / 0.9452 GB, free: 1.344 MB / 0.7798 GB Notification: Performance of sorting global known variables: time 0.08654/1.893, allocations: 34.49 MB / 0.9789 GB, free: 15.16 MB / 0.8267 GB Notification: Performance of sort global known variables: time 3.11e-07/1.893, allocations: 0 / 0.9789 GB, free: 15.16 MB / 0.8267 GB Notification: Performance of remove unused functions: time 0.01026/1.903, allocations: 1.254 MB / 0.9801 GB, free: 13.91 MB / 0.8267 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.001535/1.905, allocations: 256 kB / 0.9804 GB, free: 13.65 MB / 0.8267 GB Notification: Performance of simCode: created initialization part: time 0.003979/1.909, allocations: 1.273 MB / 0.9816 GB, free: 12.36 MB / 0.8267 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.909, allocations: 0 / 0.9816 GB, free: 12.36 MB / 0.8267 GB Notification: Performance of simCode: created simulation system equations: time 0.001314/1.91, allocations: 0.7237 MB / 0.9823 GB, free: 11.61 MB / 0.8267 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03514/1.945, allocations: 3.377 MB / 0.9856 GB, free: 8.238 MB / 0.8267 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5624/2.507, allocations: 71.82 MB / 1.056 GB, free: 273.5 MB / 0.8423 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04047/2.548, allocations: 17.24 MB / 1.073 GB, free: 262.3 MB / 0.8423 GB Notification: Performance of simCode: alias equations: time 0.02619/2.574, allocations: 9.431 MB / 1.082 GB, free: 252.9 MB / 0.8423 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004547/2.579, allocations: 1.965 MB / 1.084 GB, free: 250.9 MB / 0.8423 GB Notification: Performance of SimCode: time 1.683e-06/2.579, allocations: 2.844 kB / 1.084 GB, free: 250.9 MB / 0.8423 GB Notification: Performance of Templates: time 0.4477/3.026, allocations: 166.2 MB / 1.246 GB, free: 84.52 MB / 0.8423 GB " [Timeout remaining time 297] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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: 15.713482080027461]