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.00093/0.00093, 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.0018/0.0018, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.8792/0.8792, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.5469/0.5469, 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.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.733e-06/1.733e-06, allocations: 0 / 398.9 MB, free: 13.51 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/3.009e-05, allocations: 2.312 kB / 398.9 MB, free: 13.51 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2): time 0.0133/0.01333, allocations: 11.55 MB / 410.4 MB, free: 1.906 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009737/0.02307, allocations: 4.531 MB / 415 MB, free: 13.36 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.0244, allocations: 103.4 kB / 415.1 MB, free: 13.26 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005593/0.02999, allocations: 3.29 MB / 418.4 MB, free: 9.957 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003216/0.0332, allocations: 2.275 MB / 420.6 MB, free: 7.672 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.03461, allocations: 1.127 MB / 421.8 MB, free: 6.543 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006557/0.04117, allocations: 8.231 MB / 430 MB, free: 14.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004067/0.04524, allocations: 4.664 MB / 434.7 MB, free: 9.547 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00424/0.04948, allocations: 4.609 MB / 439.3 MB, free: 4.93 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002665/0.05214, allocations: 3.294 MB / 442.6 MB, free: 1.629 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004729/0.05262, allocations: 448 kB / 443 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2634/0.316, allocations: 1.256 MB / 444.3 MB, free: 31.29 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.002766/0.3188, allocations: 2.693 MB / 446.9 MB, free: 31.29 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001678/0.3205, allocations: 1.686 MB / 448.6 MB, free: 31.29 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.004286/0.3248, allocations: 5.961 MB / 454.6 MB, free: 30.82 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3248, allocations: 0 / 454.6 MB, free: 30.82 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3248, allocations: 0 / 454.6 MB, free: 30.82 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.371e-05/0.3248, allocations: 0 / 454.6 MB, free: 30.82 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.005025/0.3298, allocations: 5.551 MB / 460.1 MB, free: 28.51 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.3299, allocations: 11.06 kB / 460.2 MB, free: 28.51 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004379/0.3343, allocations: 1.507 MB / 461.7 MB, free: 28.49 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002859/0.3371, allocations: 2.91 MB / 464.6 MB, free: 27.5 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.754e-05/0.3372, allocations: 257.5 kB / 464.8 MB, free: 27.41 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003682/0.3376, allocations: 366.8 kB / 465.2 MB, free: 27.32 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00419/0.3418, allocations: 5.475 MB / 470.7 MB, free: 23.6 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.458e-05/0.3418, allocations: 61.84 kB / 470.7 MB, free: 23.56 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002751/0.3421, allocations: 163 kB / 470.9 MB, free: 23.44 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001083/0.3432, allocations: 1.709 MB / 472.6 MB, free: 21.76 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003342/0.3465, allocations: 2.661 MB / 475.2 MB, free: 19.29 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01833/0.3649, allocations: 31.95 MB / 0.4953 GB, free: 3.465 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003417/0.3683, allocations: 1.678 MB / 0.4969 GB, free: 1.809 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005277/0.3688, allocations: 430.5 kB / 0.4974 GB, free: 1.402 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004952/0.3738, allocations: 4.076 MB / 0.5013 GB, free: 13.38 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.3738, allocations: 62.67 kB / 0.5014 GB, free: 13.31 MB / 442.8 MB Notification: Performance of pre-optimization done (n=162): time 3.357e-06/0.3738, allocations: 0 / 0.5014 GB, free: 13.31 MB / 442.8 MB Notification: Performance of matching and sorting (n=178): time 0.0148/0.3886, allocations: 6.721 MB / 0.508 GB, free: 6.684 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.397e-05/0.3887, allocations: 306.5 kB / 0.5083 GB, free: 6.316 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002679/0.3914, allocations: 3.708 MB / 0.5119 GB, free: 3.234 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 8.579e-05/0.3915, allocations: 53.7 kB / 0.5119 GB, free: 3.176 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0012/0.3927, allocations: 3.123 MB / 0.515 GB, free: 240 kB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003782/0.393, allocations: 0.7169 MB / 0.5157 GB, free: 15.55 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000925/0.394, allocations: 1.172 MB / 0.5168 GB, free: 14.51 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 5.94e-05/0.394, allocations: 308.9 kB / 0.5171 GB, free: 14.21 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.3951, allocations: 0.8016 MB / 0.5179 GB, free: 13.4 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00253/0.3977, allocations: 4.359 MB / 0.5222 GB, free: 7.457 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003588/0.4013, allocations: 5.507 MB / 0.5275 GB, free: 0.6562 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-05/0.4013, allocations: 36 kB / 0.5276 GB, free: 0.6211 MB / 458.8 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.004389/0.4057, allocations: 4.189 MB / 0.5317 GB, free: 12.4 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.122e-05/0.4057, allocations: 63.94 kB / 0.5317 GB, free: 12.34 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.048e-05/0.4058, allocations: 128.2 kB / 0.5318 GB, free: 12.21 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007934/0.4066, allocations: 435.6 kB / 0.5323 GB, free: 11.79 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002143/0.4088, allocations: 1.369 MB / 0.5336 GB, free: 10.42 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/0.4107, allocations: 2.326 MB / 0.5359 GB, free: 8.016 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002109/0.4129, allocations: 263.7 kB / 0.5361 GB, free: 7.758 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002973/0.4132, allocations: 308 kB / 0.5364 GB, free: 7.457 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.001294/0.4145, allocations: 0.6211 MB / 0.537 GB, free: 6.824 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000362/0.4148, allocations: 247.7 kB / 0.5373 GB, free: 6.582 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.4162, allocations: 1.033 MB / 0.5383 GB, free: 5.539 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/0.4162, allocations: 21.33 kB / 0.5383 GB, free: 5.52 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.4162, allocations: 4 kB / 0.5383 GB, free: 5.516 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.4162, allocations: 11.95 kB / 0.5383 GB, free: 5.504 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00566/0.4218, allocations: 4.965 MB / 0.5431 GB, free: 0.8203 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.4219, allocations: 12 kB / 0.5432 GB, free: 0.8086 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005895/0.4224, allocations: 267.6 kB / 0.5434 GB, free: 0.5469 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00083/0.4233, allocations: 0.5074 MB / 0.5439 GB, free: 36 kB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.149e-05/0.4234, allocations: 48.03 kB / 0.544 GB, free: 15.98 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001595/0.425, allocations: 2.023 MB / 0.5459 GB, free: 13.88 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/0.425, allocations: 19.94 kB / 0.5459 GB, free: 13.86 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.427, allocations: 2.22 MB / 0.5481 GB, free: 11.4 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004805/0.4274, allocations: 397.2 kB / 0.5485 GB, free: 11.01 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002762/0.4277, allocations: 47.98 kB / 0.5485 GB, free: 10.96 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007696/0.4285, allocations: 55.92 kB / 0.5486 GB, free: 10.91 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.4287, allocations: 148.5 kB / 0.5487 GB, free: 10.77 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-05/0.4287, allocations: 51.98 kB / 0.5488 GB, free: 10.71 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.001214/0.4299, allocations: 1.403 MB / 0.5502 GB, free: 9.301 MB / 490.8 MB Notification: Performance of sort global known variables: time 4e-08/0.4299, allocations: 0 / 0.5502 GB, free: 9.301 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.003426/0.4334, allocations: 1.238 MB / 0.5514 GB, free: 8.062 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.0003524/0.4337, allocations: 194.6 kB / 0.5515 GB, free: 7.867 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.003014/0.4367, allocations: 2.566 MB / 0.5541 GB, free: 5.305 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001602/0.4369, allocations: 104.2 kB / 0.5542 GB, free: 5.195 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0007128/0.4376, allocations: 0.6259 MB / 0.5548 GB, free: 4.559 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002623/0.4402, allocations: 0.898 MB / 0.5556 GB, free: 3.676 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009468/0.4497, allocations: 8.814 MB / 0.5642 GB, free: 10.61 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/0.4509, allocations: 1.435 MB / 0.5657 GB, free: 9.152 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.001287/0.4522, allocations: 0.5424 MB / 0.5662 GB, free: 8.605 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001016/0.4532, allocations: 0.6456 MB / 0.5668 GB, free: 7.957 MB / 0.4949 GB Notification: Performance of SimCode: time 1.533e-06/0.4532, allocations: 0 / 0.5668 GB, free: 7.957 MB / 0.4949 GB Notification: Performance of Templates: time 0.05413/0.5073, allocations: 40.81 MB / 0.6067 GB, free: 15.6 MB / 0.5418 GB " [Timeout remaining time 299] 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 -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.274766954127699]