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.001633/0.001633, allocations: 83.28 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.001522/0.001522, allocations: 160.1 kB / 23.74 MB, free: 4.586 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.586/1.586, allocations: 177.2 MB / 204.1 MB, free: 9.281 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.186/1.186, allocations: 88.06 MB / 348.6 MB, free: 1.898 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_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|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|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_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.003047/0.003047, allocations: 63.34 kB / 0.5232 GB, free: 8.367 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.2016, allocations: 85.84 MB / 0.6071 GB, free: 5.012 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.003039/0.2046, allocations: 1.438 MB / 0.6085 GB, free: 3.566 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.2057, allocations: 0.5453 MB / 0.609 GB, free: 3.016 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.912e-05/0.2058, allocations: 0 / 0.609 GB, free: 3.016 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0005053/0.2063, allocations: 443.1 kB / 0.6094 GB, free: 2.582 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0006479/0.2069, allocations: 0.4989 MB / 0.6099 GB, free: 2.082 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002982/0.2072, allocations: 71.8 kB / 0.61 GB, free: 2.012 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.001102/0.2083, allocations: 1.123 MB / 0.6111 GB, free: 0.8867 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.352e-05/0.2084, allocations: 3.938 kB / 0.6111 GB, free: 0.8828 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008239/0.2092, allocations: 0.6435 MB / 0.6117 GB, free: 244 kB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.2104, allocations: 1.15 MB / 0.6128 GB, free: 15.09 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.0001315/0.2105, allocations: 71.94 kB / 0.6129 GB, free: 15.02 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002506/0.2108, allocations: 139.9 kB / 0.613 GB, free: 14.88 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.003434/0.2142, allocations: 2.595 MB / 0.6156 GB, free: 12.28 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.001149/0.2154, allocations: 1.021 MB / 0.6166 GB, free: 11.25 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.003233/0.2186, allocations: 3.26 MB / 0.6198 GB, free: 7.965 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.2186, allocations: 0 / 0.6198 GB, free: 7.965 MB / 0.5295 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2186, allocations: 0 / 0.6198 GB, free: 7.965 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 5.644e-05/0.2187, allocations: 0 / 0.6198 GB, free: 7.965 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.006735/0.2254, allocations: 5.305 MB / 0.6249 GB, free: 2.582 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.2254, allocations: 12.03 kB / 0.6249 GB, free: 2.57 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009157/0.2264, allocations: 0.5867 MB / 0.6255 GB, free: 1.98 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01248/0.2388, allocations: 6.322 MB / 0.6317 GB, free: 11.55 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.2389, allocations: 12.31 kB / 0.6317 GB, free: 11.54 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.876e-05/0.2389, allocations: 16.38 kB / 0.6317 GB, free: 11.52 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004393/0.2394, allocations: 275.5 kB / 0.632 GB, free: 11.24 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.2394, allocations: 0 / 0.632 GB, free: 11.24 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.471e-05/0.2394, allocations: 16 kB / 0.632 GB, free: 11.22 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.2394, allocations: 0 / 0.632 GB, free: 11.22 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/0.2397, allocations: 157.7 kB / 0.6322 GB, free: 11.06 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002764/0.2424, allocations: 1.779 MB / 0.6339 GB, free: 9.254 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.2427, allocations: 128.2 kB / 0.634 GB, free: 9.113 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.2428, allocations: 110.6 kB / 0.6341 GB, free: 8.996 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.2428, allocations: 0 / 0.6341 GB, free: 8.996 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003872/0.2432, allocations: 290.6 kB / 0.6344 GB, free: 8.688 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=8): time 1.723e-06/0.2432, allocations: 0 / 0.6344 GB, free: 8.688 MB / 0.5452 GB Notification: Performance of matching and sorting (n=8): time 0.001995/0.2452, allocations: 1.261 MB / 0.6356 GB, free: 7.398 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.047e-05/0.2453, allocations: 85.05 kB / 0.6357 GB, free: 7.297 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00905/0.2544, allocations: 6.275 MB / 0.6418 GB, free: 1.066 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.0001174/0.2545, allocations: 45.64 kB / 0.6419 GB, free: 1.016 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.002807/0.2573, allocations: 2.528 MB / 0.6443 GB, free: 14.48 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002509/0.2575, allocations: 39.8 kB / 0.6444 GB, free: 14.44 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003094/0.2578, allocations: 129.7 kB / 0.6445 GB, free: 14.31 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 0.0002249/0.2581, allocations: 318 kB / 0.6448 GB, free: 13.99 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.2583, allocations: 105.7 kB / 0.6449 GB, free: 13.88 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.2584, allocations: 109.7 kB / 0.645 GB, free: 13.77 MB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/0.2588, allocations: 236.2 kB / 0.6452 GB, free: 13.52 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.2588, allocations: 0 / 0.6452 GB, free: 13.52 MB / 0.5608 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001903/0.2607, allocations: 1.149 MB / 0.6464 GB, free: 12.35 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 6.477e-05/0.2608, allocations: 43.98 kB / 0.6464 GB, free: 12.3 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.2608, allocations: 4 kB / 0.6464 GB, free: 12.3 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.2608, allocations: 0 / 0.6464 GB, free: 12.3 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.042e-05/0.2609, allocations: 7.984 kB / 0.6464 GB, free: 12.29 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2609, allocations: 4 kB / 0.6464 GB, free: 12.29 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004892/0.2614, allocations: 19.95 kB / 0.6464 GB, free: 12.27 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002526/0.2616, allocations: 227.9 kB / 0.6467 GB, free: 12.05 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.0021/0.2637, allocations: 1.334 MB / 0.648 GB, free: 10.7 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006472/0.2644, allocations: 0.6092 MB / 0.6486 GB, free: 10.08 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009415/0.2653, allocations: 0.6481 MB / 0.6492 GB, free: 9.434 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.2653, allocations: 4 kB / 0.6492 GB, free: 9.43 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2653, allocations: 4 kB / 0.6492 GB, free: 9.426 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2653, allocations: 3.938 kB / 0.6492 GB, free: 9.422 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/0.2675, allocations: 1.939 MB / 0.6511 GB, free: 7.457 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2676, allocations: 96 / 0.6511 GB, free: 7.457 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.379e-05/0.2676, allocations: 7.938 kB / 0.6511 GB, free: 7.449 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.2676, allocations: 0 / 0.6511 GB, free: 7.449 MB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.648e-05/0.2677, allocations: 51.94 kB / 0.6511 GB, free: 7.398 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.2677, allocations: 0 / 0.6511 GB, free: 7.398 MB / 0.5608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2677, allocations: 4 kB / 0.6512 GB, free: 7.395 MB / 0.5608 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.2694, allocations: 1.228 MB / 0.6524 GB, free: 6.133 MB / 0.5608 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008764/0.2702, allocations: 0.5194 MB / 0.6529 GB, free: 5.609 MB / 0.5608 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002588/0.2705, allocations: 27.94 kB / 0.6529 GB, free: 5.582 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003585/0.2709, allocations: 16 kB / 0.6529 GB, free: 5.566 MB / 0.5608 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/0.2709, allocations: 4 kB / 0.6529 GB, free: 5.562 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002617/0.2712, allocations: 224 kB / 0.6531 GB, free: 5.344 MB / 0.5608 GB Notification: Performance of sorting global known variables: time 0.008093/0.2793, allocations: 4.328 MB / 0.6573 GB, free: 1.055 MB / 0.5608 GB Notification: Performance of sort global known variables: time 4.81e-07/0.2793, allocations: 0 / 0.6573 GB, free: 1.055 MB / 0.5608 GB Notification: Performance of remove unused functions: time 0.001047/0.2803, allocations: 187.9 kB / 0.6575 GB, free: 0.8711 MB / 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.0002785/0.2806, allocations: 147 kB / 0.6577 GB, free: 0.7227 MB / 0.5608 GB Notification: Performance of simCode: created initialization part: time 0.0005814/0.2812, allocations: 314.8 kB / 0.658 GB, free: 400 kB / 0.5608 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2812, allocations: 4 kB / 0.658 GB, free: 396 kB / 0.5608 GB Notification: Performance of simCode: created simulation system equations: time 0.0002993/0.2815, allocations: 193.1 kB / 0.6582 GB, free: 184 kB / 0.5608 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.2829, allocations: 440.4 kB / 0.6586 GB, free: 15.75 MB / 0.5764 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/0.2968, allocations: 8.567 MB / 0.6669 GB, free: 7.133 MB / 0.5764 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002606/0.2994, allocations: 2.196 MB / 0.6691 GB, free: 4.906 MB / 0.5764 GB Notification: Performance of simCode: alias equations: time 0.002853/0.3023, allocations: 1.137 MB / 0.6702 GB, free: 3.762 MB / 0.5764 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003787/0.3027, allocations: 264.5 kB / 0.6704 GB, free: 3.504 MB / 0.5764 GB Notification: Performance of SimCode: time 1.803e-06/0.3027, allocations: 0 / 0.6704 GB, free: 3.504 MB / 0.5764 GB Notification: Performance of Templates: time 0.6911/0.9938, allocations: 20.62 MB / 0.6906 GB, free: 73.21 MB / 0.5923 GB " [Timeout remaining time 299] 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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) [Timeout 300] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_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.340045288205147]