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.001475/0.001475, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001765/0.001765, allocations: 167.3 kB / 24.91 MB, free: 9.109 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.958/0.958, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.549/0.549, allocations: 88.08 MB / 349.9 MB, free: 14.14 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_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8498,variableFilter="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|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 398.8 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.108e-05/1.237e-05, allocations: 2.312 kB / 398.8 MB, free: 13.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.001609/0.001621, allocations: 1.449 MB / 400.3 MB, free: 12.12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007143/0.002336, allocations: 0.5879 MB / 400.8 MB, free: 11.53 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.541e-05/0.002381, allocations: 4 kB / 400.8 MB, free: 11.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.003897, allocations: 3.426 MB / 404.3 MB, free: 8.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.005581, allocations: 3.473 MB / 407.7 MB, free: 4.609 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.005815, allocations: 83.72 kB / 407.8 MB, free: 4.527 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004347/0.01016, allocations: 8.547 MB / 416.4 MB, free: 11.97 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.262e-05/0.01019, allocations: 7.984 kB / 416.4 MB, free: 11.96 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2719/0.2821, allocations: 29.39 MB / 445.8 MB, free: 40.82 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003388/0.2855, allocations: 4.292 MB / 450.1 MB, free: 40.39 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0005683/0.2861, allocations: 5.391 kB / 450.1 MB, free: 40.39 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007837/0.2868, allocations: 72.38 kB / 450.1 MB, free: 40.37 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.007767/0.2946, allocations: 17.35 MB / 467.5 MB, free: 34.23 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.002296/0.2969, allocations: 3.768 MB / 471.3 MB, free: 30.43 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.008035/0.3049, allocations: 20.29 MB / 491.5 MB, free: 10.05 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.305, allocations: 0 / 491.5 MB, free: 10.05 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.714e-06/0.305, allocations: 0 / 491.5 MB, free: 10.05 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0007883/0.3057, allocations: 0 / 491.5 MB, free: 10.05 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.02659/0.3323, allocations: 38.66 MB / 0.5178 GB, free: 2.996 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.3324, allocations: 15.25 kB / 0.5178 GB, free: 2.984 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003665/0.336, allocations: 2.201 MB / 0.5199 GB, free: 0.7812 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04295/0.379, allocations: 30.74 MB / 0.55 GB, free: 1.738 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.379, allocations: 4.375 kB / 0.55 GB, free: 1.734 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002837/0.3793, allocations: 4.219 kB / 0.55 GB, free: 1.734 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.3806, allocations: 1.238 MB / 0.5512 GB, free: 496 kB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3806, allocations: 192 / 0.5512 GB, free: 496 kB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001992/0.3808, allocations: 0.5625 kB / 0.5512 GB, free: 496 kB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.3808, allocations: 8.953 kB / 0.5512 GB, free: 492 kB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008424/0.3817, allocations: 0.6564 MB / 0.5518 GB, free: 15.82 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003057/0.3847, allocations: 57.05 kB / 0.5519 GB, free: 15.75 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005656/0.3853, allocations: 372.2 kB / 0.5522 GB, free: 15.37 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005339/0.3858, allocations: 356.4 kB / 0.5526 GB, free: 15.01 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.131e-06/0.3858, allocations: 0 / 0.5526 GB, free: 15.01 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001209/0.387, allocations: 1.276 MB / 0.5538 GB, free: 13.71 MB / 490.8 MB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.387, allocations: 0 / 0.5538 GB, free: 13.71 MB / 490.8 MB Notification: Performance of matching and sorting (n=8): time 0.004702/0.3917, allocations: 3.285 MB / 0.557 GB, free: 10.4 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.3918, allocations: 81.11 kB / 0.5571 GB, free: 10.3 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03263/0.4244, allocations: 34.34 MB / 0.5906 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003542/0.4248, allocations: 25.7 kB / 0.5907 GB, free: 8.324 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.007098/0.4319, allocations: 6.837 MB / 0.5973 GB, free: 1.465 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003522/0.4322, allocations: 23.84 kB / 0.5974 GB, free: 1.441 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007308/0.4329, allocations: 0.632 MB / 0.598 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.202e-05/0.433, allocations: 317.9 kB / 0.5983 GB, free: 500 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005314/0.4336, allocations: 353 kB / 0.5986 GB, free: 140 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005438/0.4341, allocations: 357.7 kB / 0.599 GB, free: 15.79 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009971/0.4351, allocations: 0.698 MB / 0.5996 GB, free: 15.07 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.4351, allocations: 3.938 kB / 0.5996 GB, free: 15.07 MB / 0.5262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.004724/0.4398, allocations: 2.926 MB / 0.6025 GB, free: 12.12 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 5.425e-05/0.4399, allocations: 41.69 kB / 0.6025 GB, free: 12.07 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4399, allocations: 0 / 0.6025 GB, free: 12.07 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.4399, allocations: 0 / 0.6025 GB, free: 12.07 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.048e-05/0.44, allocations: 4 kB / 0.6025 GB, free: 12.07 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.44, allocations: 3.812 kB / 0.6026 GB, free: 12.07 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003035/0.443, allocations: 11.88 kB / 0.6026 GB, free: 12.06 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002063/0.4451, allocations: 2.631 MB / 0.6051 GB, free: 9.43 MB / 0.5262 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.003881/0.4489, allocations: 154.2 kB / 0.6053 GB, free: 9.266 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003231/0.4522, allocations: 2.208 MB / 0.6074 GB, free: 7.055 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005027/0.4572, allocations: 3.65 MB / 0.611 GB, free: 3.395 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.4572, allocations: 0 / 0.611 GB, free: 3.395 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.4572, allocations: 0 / 0.611 GB, free: 3.395 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4572, allocations: 7.219 kB / 0.611 GB, free: 3.391 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/0.4672, allocations: 8.177 MB / 0.619 GB, free: 11.18 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.4673, allocations: 0 / 0.619 GB, free: 11.18 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.878e-05/0.4673, allocations: 4 kB / 0.619 GB, free: 11.17 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.4673, allocations: 0 / 0.619 GB, free: 11.17 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004336/0.4677, allocations: 315.3 kB / 0.6193 GB, free: 10.86 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.175e-06/0.4677, allocations: 0 / 0.6193 GB, free: 10.86 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.4677, allocations: 0 / 0.6193 GB, free: 10.86 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004497/0.4722, allocations: 3.27 MB / 0.6225 GB, free: 7.566 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00494/0.4772, allocations: 4.038 MB / 0.6264 GB, free: 3.5 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001861/0.479, allocations: 7 kB / 0.6264 GB, free: 3.496 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/0.4808, allocations: 3.984 kB / 0.6264 GB, free: 3.492 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.4808, allocations: 8 kB / 0.6265 GB, free: 3.484 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0017/0.4825, allocations: 2.624 MB / 0.629 GB, free: 0.8594 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.3157/0.7983, allocations: 19.1 MB / 0.6477 GB, free: 169.5 MB / 0.5575 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7983, allocations: 0 / 0.6477 GB, free: 169.5 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.004372/0.8027, allocations: 1.009 MB / 0.6487 GB, free: 169.5 MB / 0.5575 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.0006501/0.8033, allocations: 107.4 kB / 0.6488 GB, free: 169.4 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.001766/0.8051, allocations: 0.7804 MB / 0.6495 GB, free: 169.3 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 0.0006272/0.8057, allocations: 0.4883 MB / 0.65 GB, free: 169.3 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.0008257/0.8065, allocations: 429.5 kB / 0.6504 GB, free: 169.2 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00814/0.8147, allocations: 3.445 MB / 0.6538 GB, free: 167.7 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05721/0.8719, allocations: 60.65 MB / 0.713 GB, free: 123.5 MB / 0.5575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01039/0.8823, allocations: 7.632 MB / 0.7205 GB, free: 115.9 MB / 0.5575 GB Notification: Performance of simCode: alias equations: time 0.01294/0.8952, allocations: 6.051 MB / 0.7264 GB, free: 110.1 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01513/0.9103, allocations: 6.903 MB / 0.7331 GB, free: 103.2 MB / 0.5575 GB Notification: Performance of SimCode: time 1.984e-06/0.9103, allocations: 0 / 0.7331 GB, free: 103.2 MB / 0.5575 GB Notification: Performance of Templates: time 0.2406/1.151, allocations: 117.5 MB / 0.8478 GB, free: 1.762 MB / 0.5731 GB " [Timeout remaining time 299] 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=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.547632863745093]