Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.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.001371/0.001371, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001428/0.001428, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.932/0.932, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.5533/0.5533, allocations: 88.08 MB / 349.9 MB, free: 14.06 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.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2,tolerance=3e-08,outputFormat="mat",numberOfIntervals=2000,variableFilter="revolute.[0-9,]+..angle|revolute.[0-9,]+..phi|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2") translateModel(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2,tolerance=3e-08,outputFormat="mat",numberOfIntervals=2000,variableFilter="revolute.[0-9,]+..angle|revolute.[0-9,]+..phi|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 398.9 MB, free: 13.48 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.414e-05/1.537e-05, allocations: 3.156 kB / 398.9 MB, free: 13.48 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2): time 0.008761/0.008777, allocations: 11.6 MB / 410.5 MB, free: 1.832 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00637/0.01515, allocations: 4.531 MB / 415.1 MB, free: 13.29 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.0162, allocations: 103.4 kB / 415.2 MB, free: 13.18 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00298/0.01918, allocations: 3.247 MB / 418.4 MB, free: 9.926 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002796/0.02198, allocations: 2.244 MB / 420.6 MB, free: 7.672 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.02319, allocations: 1.107 MB / 421.8 MB, free: 6.562 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005172/0.02836, allocations: 8.245 MB / 430 MB, free: 14.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002933/0.0313, allocations: 4.301 MB / 434.3 MB, free: 9.914 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003342/0.03464, allocations: 4.531 MB / 438.8 MB, free: 5.375 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002542/0.03718, allocations: 3.286 MB / 442.1 MB, free: 2.082 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004445/0.03763, allocations: 444 kB / 442.6 MB, free: 1.648 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001304/0.03893, allocations: 1.307 MB / 443.9 MB, free: 348 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.2452/0.2842, allocations: 2.693 MB / 446.6 MB, free: 30.93 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001537/0.2857, allocations: 1.679 MB / 448.2 MB, free: 30.93 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.003613/0.2893, allocations: 5.955 MB / 454.2 MB, free: 30.53 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2893, allocations: 0 / 454.2 MB, free: 30.53 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.12e-07/0.2893, allocations: 3.562 kB / 454.2 MB, free: 30.53 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.086e-05/0.2894, allocations: 6.156 kB / 454.2 MB, free: 30.53 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: 1559 * Number of variables: 1559 Notification: Performance of Generate backend data structure: time 0.00468/0.2941, allocations: 5.545 MB / 459.7 MB, free: 28.25 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.61e-05/0.2941, allocations: 7.625 kB / 459.7 MB, free: 28.25 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004432/0.2985, allocations: 1.514 MB / 461.3 MB, free: 28.23 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002759/0.3013, allocations: 2.906 MB / 464.2 MB, free: 27.3 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-05/0.3014, allocations: 269.2 kB / 464.4 MB, free: 27.2 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003539/0.3017, allocations: 360.6 kB / 464.8 MB, free: 27.11 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004293/0.306, allocations: 5.477 MB / 470.3 MB, free: 23.77 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.173e-05/0.3061, allocations: 57.73 kB / 470.3 MB, free: 23.74 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002665/0.3064, allocations: 168.4 kB / 470.5 MB, free: 23.61 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001078/0.3074, allocations: 1.705 MB / 472.2 MB, free: 21.93 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003412/0.3108, allocations: 2.662 MB / 474.8 MB, free: 19.46 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01838/0.3292, allocations: 31.95 MB / 0.4949 GB, free: 3.641 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003371/0.3326, allocations: 1.671 MB / 0.4966 GB, free: 1.992 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005446/0.3331, allocations: 425.1 kB / 0.497 GB, free: 1.582 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004891/0.338, allocations: 4.09 MB / 0.501 GB, free: 13.54 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.3381, allocations: 55.5 kB / 0.501 GB, free: 13.48 MB / 442.8 MB Notification: Performance of pre-optimization done (n=162): time 3.447e-06/0.3381, allocations: 0 / 0.501 GB, free: 13.48 MB / 442.8 MB Notification: Performance of matching and sorting (n=178): time 0.01489/0.353, allocations: 6.767 MB / 0.5076 GB, free: 6.809 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.039e-05/0.353, allocations: 307 kB / 0.5079 GB, free: 6.441 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002552/0.3556, allocations: 3.717 MB / 0.5115 GB, free: 3.352 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 8.271e-05/0.3557, allocations: 53.7 kB / 0.5116 GB, free: 3.293 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001192/0.3569, allocations: 3.128 MB / 0.5146 GB, free: 356 kB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003777/0.3572, allocations: 0.7089 MB / 0.5153 GB, free: 15.67 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009133/0.3582, allocations: 1.168 MB / 0.5165 GB, free: 14.63 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 6.203e-05/0.3582, allocations: 310.2 kB / 0.5168 GB, free: 14.34 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.3594, allocations: 0.8016 MB / 0.5176 GB, free: 13.53 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002534/0.3619, allocations: 4.364 MB / 0.5218 GB, free: 7.57 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003473/0.3654, allocations: 5.502 MB / 0.5272 GB, free: 0.7852 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.392e-05/0.3654, allocations: 36 kB / 0.5272 GB, free: 0.75 MB / 458.8 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.00418/0.3696, allocations: 4.201 MB / 0.5313 GB, free: 12.52 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.064e-05/0.3696, allocations: 63.94 kB / 0.5314 GB, free: 12.46 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.021e-05/0.3697, allocations: 124 kB / 0.5315 GB, free: 12.34 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007969/0.3705, allocations: 425.9 kB / 0.5319 GB, free: 11.92 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002297/0.3728, allocations: 1.443 MB / 0.5333 GB, free: 10.48 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/0.3748, allocations: 2.323 MB / 0.5356 GB, free: 8.078 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.3766, allocations: 271.8 kB / 0.5358 GB, free: 7.812 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002915/0.3769, allocations: 308 kB / 0.5361 GB, free: 7.512 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * Number of states: 0 () * Number of discrete variables: 41 (force.arrow.twoHeadedArrow,force.arrow.headAtOrigin,force.color[3],force.color[2],force.color[1],bodybox[1].color[3],bodybox[1].color[2],bodybox[1].color[1],bodybox[1].body.sphereColor[3],bodybox[1].body.sphereColor[2],bodybox[1].body.sphereColor[1],bodyboxN.color[3],bodyboxN.color[2],bodyboxN.color[1],bodyboxN.body.sphereColor[3],bodyboxN.body.sphereColor[2],bodyboxN.body.sphereColor[1],bodybox1.color[3],bodybox1.color[2],bodybox1.color[1],bodybox1.body.sphereColor[3],bodybox1.body.sphereColor[2],bodybox1.body.sphereColor[1],revolute[2].cylinderColor[3],revolute[2].cylinderColor[2],revolute[2].cylinderColor[1],revolute[1].cylinderColor[3],revolute[1].cylinderColor[2],revolute[1].cylinderColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (763): * Single equations (assignments): 759 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001048/0.378, allocations: 0.6131 MB / 0.5367 GB, free: 6.887 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003402/0.3783, allocations: 255.7 kB / 0.537 GB, free: 6.637 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/0.3797, allocations: 1.026 MB / 0.538 GB, free: 5.602 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/0.3797, allocations: 20 kB / 0.538 GB, free: 5.582 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3797, allocations: 8 kB / 0.538 GB, free: 5.574 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.3797, allocations: 7.969 kB / 0.538 GB, free: 5.566 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005136/0.3848, allocations: 4.963 MB / 0.5429 GB, free: 0.8789 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/0.3848, allocations: 16.06 kB / 0.5429 GB, free: 0.8633 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006565/0.3855, allocations: 304.4 kB / 0.5432 GB, free: 0.5664 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008112/0.3863, allocations: 0.5043 MB / 0.5437 GB, free: 60 kB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.262e-05/0.3864, allocations: 47.98 kB / 0.5437 GB, free: 12 kB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/0.388, allocations: 2.024 MB / 0.5457 GB, free: 13.9 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.308e-06/0.388, allocations: 19.94 kB / 0.5457 GB, free: 13.88 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.3899, allocations: 2.223 MB / 0.5479 GB, free: 11.42 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003707/0.3903, allocations: 401.2 kB / 0.5483 GB, free: 11.03 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000271/0.3906, allocations: 51.98 kB / 0.5483 GB, free: 10.98 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007533/0.3913, allocations: 47.94 kB / 0.5484 GB, free: 10.93 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/0.3915, allocations: 148.5 kB / 0.5485 GB, free: 10.79 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.901e-05/0.3916, allocations: 48 kB / 0.5485 GB, free: 10.74 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.001123/0.3927, allocations: 1.403 MB / 0.5499 GB, free: 9.324 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.3927, allocations: 4 kB / 0.5499 GB, free: 9.32 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.002682/0.3954, allocations: 1.238 MB / 0.5511 GB, free: 8.082 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 55 * Number of states: 4 (revolute[1].w,revolute[2].w,springdamper[1].phi_rel,springdamper[2].phi_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (153): * Single equations (assignments): 149 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002958/0.3957, allocations: 190.8 kB / 0.5513 GB, free: 7.891 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.002384/0.398, allocations: 2.569 MB / 0.5538 GB, free: 5.324 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001452/0.3982, allocations: 100.5 kB / 0.5539 GB, free: 5.219 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0006332/0.3988, allocations: 0.6299 MB / 0.5545 GB, free: 4.578 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/0.4008, allocations: 0.8998 MB / 0.5554 GB, free: 3.695 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008108/0.4089, allocations: 8.818 MB / 0.564 GB, free: 10.62 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/0.4101, allocations: 1.431 MB / 0.5654 GB, free: 9.172 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.001098/0.4112, allocations: 0.5388 MB / 0.5659 GB, free: 8.629 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/0.4122, allocations: 0.6534 MB / 0.5666 GB, free: 7.973 MB / 0.4949 GB Notification: Performance of SimCode: time 7.72e-07/0.4122, allocations: 0 / 0.5666 GB, free: 7.973 MB / 0.4949 GB Notification: Performance of Templates: time 0.05701/0.4692, allocations: 40.82 MB / 0.6064 GB, free: 15.61 MB / 0.5418 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2_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: 4.356951956171542]