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.00202/0.00202, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002831/0.002831, allocations: 210.9 kB / 23.72 MB, free: 4.391 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.518/1.518, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.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.14/1.14, allocations: 120.6 MB / 434.5 MB, free: 0.6523 MB / 334.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_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: 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.002091/0.002091, allocations: 63.91 kB / 0.6072 GB, free: 10.26 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1908, allocations: 85.88 MB / 0.691 GB, free: 4.18 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.003532/0.1943, allocations: 1.423 MB / 0.6924 GB, free: 2.75 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.1957, allocations: 0.5454 MB / 0.6929 GB, free: 2.199 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.438e-05/0.1958, allocations: 0 / 0.6929 GB, free: 2.199 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0005322/0.1963, allocations: 451.1 kB / 0.6934 GB, free: 1.758 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0007322/0.197, allocations: 498.9 kB / 0.6938 GB, free: 1.27 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003723/0.1974, allocations: 75.8 kB / 0.6939 GB, free: 1.195 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.001191/0.1986, allocations: 1.127 MB / 0.695 GB, free: 68 kB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.294e-05/0.1986, allocations: 15.92 kB / 0.695 GB, free: 52 kB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.1997, allocations: 0.5693 MB / 0.6956 GB, free: 15.48 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001597/0.2013, allocations: 1.15 MB / 0.6967 GB, free: 14.33 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.0002695/0.2015, allocations: 68 kB / 0.6968 GB, free: 14.26 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003522/0.2019, allocations: 135.9 kB / 0.6969 GB, free: 14.13 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.0033/0.2052, allocations: 2.595 MB / 0.6994 GB, free: 11.53 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.001756/0.2069, allocations: 1.025 MB / 0.7004 GB, free: 10.49 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.004809/0.2118, allocations: 3.26 MB / 0.7036 GB, free: 7.211 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 7.433e-06/0.2118, allocations: 3.938 kB / 0.7036 GB, free: 7.207 MB / 0.5295 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2118, allocations: 0 / 0.7036 GB, free: 7.207 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 0.0001762/0.2119, allocations: 0 / 0.7036 GB, free: 7.207 MB / 0.5295 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.009743/0.2217, allocations: 5.309 MB / 0.7088 GB, free: 1.82 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 7.047e-05/0.2218, allocations: 8.031 kB / 0.7088 GB, free: 1.812 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/0.2231, allocations: 0.5906 MB / 0.7094 GB, free: 1.219 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01467/0.2378, allocations: 6.318 MB / 0.7156 GB, free: 10.79 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.2378, allocations: 8.375 kB / 0.7156 GB, free: 10.79 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.351e-05/0.2379, allocations: 16.38 kB / 0.7156 GB, free: 10.77 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004215/0.2383, allocations: 279.5 kB / 0.7159 GB, free: 10.48 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.2383, allocations: 3.938 kB / 0.7159 GB, free: 10.48 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.294e-05/0.2383, allocations: 16 kB / 0.7159 GB, free: 10.46 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2383, allocations: 0 / 0.7159 GB, free: 10.46 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000249/0.2386, allocations: 157.7 kB / 0.716 GB, free: 10.3 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002746/0.2413, allocations: 1.775 MB / 0.7178 GB, free: 8.5 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.2416, allocations: 124.2 kB / 0.7179 GB, free: 8.363 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.2418, allocations: 114.6 kB / 0.718 GB, free: 8.242 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.2418, allocations: 4 kB / 0.718 GB, free: 8.238 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004053/0.2422, allocations: 286.6 kB / 0.7183 GB, free: 7.934 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=8): time 1.893e-06/0.2422, allocations: 0 / 0.7183 GB, free: 7.934 MB / 0.5452 GB Notification: Performance of matching and sorting (n=8): time 0.002063/0.2442, allocations: 1.268 MB / 0.7195 GB, free: 6.637 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.08e-05/0.2443, allocations: 81.11 kB / 0.7196 GB, free: 6.539 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009645/0.254, allocations: 6.275 MB / 0.7257 GB, free: 316 kB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.2541, allocations: 41.7 kB / 0.7258 GB, free: 268 kB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.00284/0.2569, allocations: 2.524 MB / 0.7282 GB, free: 13.73 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.2571, allocations: 39.78 kB / 0.7283 GB, free: 13.7 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002237/0.2573, allocations: 129.7 kB / 0.7284 GB, free: 13.56 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.2575, allocations: 318 kB / 0.7287 GB, free: 13.25 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.2577, allocations: 109.7 kB / 0.7288 GB, free: 13.13 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.2579, allocations: 109.7 kB / 0.7289 GB, free: 13.02 MB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000363/0.2582, allocations: 236.3 kB / 0.7291 GB, free: 12.77 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2582, allocations: 0 / 0.7291 GB, free: 12.77 MB / 0.5608 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001967/0.2602, allocations: 1.149 MB / 0.7302 GB, free: 11.6 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 5.85e-05/0.2603, allocations: 41.62 kB / 0.7303 GB, free: 11.55 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.2603, allocations: 0 / 0.7303 GB, free: 11.55 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/0.2603, allocations: 0 / 0.7303 GB, free: 11.55 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.2604, allocations: 8 kB / 0.7303 GB, free: 11.55 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.2604, allocations: 4 kB / 0.7303 GB, free: 11.54 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005382/0.261, allocations: 27.94 kB / 0.7303 GB, free: 11.52 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002209/0.2612, allocations: 224 kB / 0.7305 GB, free: 11.3 MB / 0.5608 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.002381/0.2636, allocations: 1.338 MB / 0.7318 GB, free: 9.941 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000782/0.2643, allocations: 0.6053 MB / 0.7324 GB, free: 9.332 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.2654, allocations: 0.6441 MB / 0.7331 GB, free: 8.688 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2654, allocations: 0 / 0.7331 GB, free: 8.688 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2654, allocations: 0 / 0.7331 GB, free: 8.688 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2654, allocations: 0 / 0.7331 GB, free: 8.688 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002383/0.2678, allocations: 1.939 MB / 0.735 GB, free: 6.719 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2678, allocations: 0 / 0.735 GB, free: 6.719 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.349e-05/0.2679, allocations: 12.12 kB / 0.735 GB, free: 6.707 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.2679, allocations: 0 / 0.735 GB, free: 6.707 MB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.313e-05/0.268, allocations: 55.92 kB / 0.735 GB, free: 6.652 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.962e-06/0.268, allocations: 0 / 0.735 GB, free: 6.652 MB / 0.5608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/0.268, allocations: 8 kB / 0.735 GB, free: 6.645 MB / 0.5608 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.2696, allocations: 1.228 MB / 0.7362 GB, free: 5.383 MB / 0.5608 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/0.2707, allocations: 0.5155 MB / 0.7367 GB, free: 4.863 MB / 0.5608 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002622/0.2709, allocations: 23.92 kB / 0.7367 GB, free: 4.84 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/0.2713, allocations: 20 kB / 0.7368 GB, free: 4.82 MB / 0.5608 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.2713, allocations: 3.938 kB / 0.7368 GB, free: 4.816 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002166/0.2715, allocations: 224 kB / 0.737 GB, free: 4.598 MB / 0.5608 GB Notification: Performance of sorting global known variables: time 0.006973/0.2785, allocations: 4.332 MB / 0.7412 GB, free: 312 kB / 0.5608 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2785, allocations: 0 / 0.7412 GB, free: 312 kB / 0.5608 GB Notification: Performance of remove unused functions: time 0.0008925/0.2794, allocations: 191.9 kB / 0.7414 GB, free: 120 kB / 0.5608 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.0002956/0.2797, allocations: 131.3 kB / 0.7415 GB, free: 15.98 MB / 0.5764 GB Notification: Performance of simCode: created initialization part: time 0.0005913/0.2803, allocations: 318.8 kB / 0.7418 GB, free: 15.64 MB / 0.5764 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.2803, allocations: 0 / 0.7418 GB, free: 15.64 MB / 0.5764 GB Notification: Performance of simCode: created simulation system equations: time 0.0002488/0.2805, allocations: 193 kB / 0.742 GB, free: 15.43 MB / 0.5764 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.2819, allocations: 449.1 kB / 0.7424 GB, free: 14.99 MB / 0.5764 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/0.2958, allocations: 8.563 MB / 0.7508 GB, free: 6.383 MB / 0.5764 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00285/0.2986, allocations: 2.189 MB / 0.7529 GB, free: 4.164 MB / 0.5764 GB Notification: Performance of simCode: alias equations: time 0.002726/0.3014, allocations: 1.149 MB / 0.7541 GB, free: 3.008 MB / 0.5764 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003391/0.3017, allocations: 259.4 kB / 0.7543 GB, free: 2.754 MB / 0.5764 GB Notification: Performance of SimCode: time 1.453e-06/0.3017, allocations: 0 / 0.7543 GB, free: 2.754 MB / 0.5764 GB Notification: Performance of Templates: time 0.74/1.042, allocations: 25.76 MB / 0.7795 GB, free: 54.28 MB / 0.5767 GB " [Timeout remaining time 299] 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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) [Timeout 300] 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: 7.977660870179534]