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.001464/0.001464, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001644/0.001644, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.8818/0.8818, allocations: 177.2 MB / 206.1 MB, free: 4.469 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.6269/0.6269, allocations: 88.09 MB / 350.7 MB, free: 11.82 MB / 330.8 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.362e-06/1.362e-06, allocations: 0 / 452.9 MB, free: 7.953 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.618e-05, allocations: 2.312 kB / 452.9 MB, free: 7.949 MB / 426.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2): time 0.009067/0.009093, allocations: 11.56 MB / 464.5 MB, free: 12.33 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.006579/0.01567, allocations: 4.369 MB / 468.9 MB, free: 7.949 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/0.01715, allocations: 99.44 kB / 469 MB, free: 7.852 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003322/0.02047, allocations: 3.259 MB / 472.2 MB, free: 4.582 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003536/0.024, allocations: 2.224 MB / 474.4 MB, free: 2.348 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.02544, allocations: 1.111 MB / 475.6 MB, free: 1.234 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.006742/0.03218, allocations: 8.274 MB / 483.8 MB, free: 8.949 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004182/0.03636, allocations: 4.57 MB / 488.4 MB, free: 4.312 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00545/0.04181, allocations: 4.656 MB / 493.1 MB, free: 15.65 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003614/0.04543, allocations: 3.422 MB / 496.5 MB, free: 12.22 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0007334/0.04616, allocations: 448 kB / 496.9 MB, free: 11.78 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001895/0.04805, allocations: 1.276 MB / 498.2 MB, free: 10.5 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.00175/0.0498, allocations: 2.689 MB / 0.4891 GB, free: 7.809 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001759/0.05156, allocations: 1.687 MB / 0.4908 GB, free: 6.117 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.005914/0.05748, allocations: 5.957 MB / 0.4966 GB, free: 144 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.05748, allocations: 0 / 0.4966 GB, free: 144 kB / 474.8 MB Notification: Performance of FrontEnd: time 9.62e-07/0.05748, allocations: 0 / 0.4966 GB, free: 144 kB / 474.8 MB Notification: Performance of Transformations before backend: time 0.0001377/0.05762, allocations: 0 / 0.4966 GB, free: 144 kB / 474.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.007935/0.06556, allocations: 6.339 MB / 0.5028 GB, free: 9.719 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.06559, allocations: 11.98 kB / 0.5028 GB, free: 9.707 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01616/0.08175, allocations: 3.486 MB / 0.5062 GB, free: 6.211 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005012/0.08676, allocations: 3.052 MB / 0.5092 GB, free: 3.082 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001909/0.08695, allocations: 267.1 kB / 0.5094 GB, free: 2.82 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008325/0.08778, allocations: 364.1 kB / 0.5098 GB, free: 2.465 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2678/0.3556, allocations: 6.021 MB / 0.5157 GB, free: 103.4 MB / 490.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001547/0.3558, allocations: 55.52 kB / 0.5157 GB, free: 103.4 MB / 490.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004027/0.3562, allocations: 166.9 kB / 0.5159 GB, free: 103.4 MB / 490.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001347/0.3575, allocations: 1.712 MB / 0.5176 GB, free: 103.4 MB / 490.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006002/0.3635, allocations: 2.545 MB / 0.52 GB, free: 103.3 MB / 490.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03135/0.3949, allocations: 44.25 MB / 0.5633 GB, free: 69.53 MB / 490.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004243/0.3991, allocations: 1.631 MB / 0.5648 GB, free: 69.18 MB / 490.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008458/0.4, allocations: 0.5236 MB / 0.5654 GB, free: 69.07 MB / 490.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005924/0.4059, allocations: 4.303 MB / 0.5696 GB, free: 66.75 MB / 490.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.4059, allocations: 53.83 kB / 0.5696 GB, free: 66.7 MB / 490.9 MB Notification: Performance of pre-optimization done (n=162): time 4.098e-06/0.4059, allocations: 0 / 0.5696 GB, free: 66.7 MB / 490.9 MB Notification: Performance of matching and sorting (n=178): time 0.01856/0.4245, allocations: 7.342 MB / 0.5768 GB, free: 65 MB / 490.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.4245, allocations: 304.6 kB / 0.5771 GB, free: 64.65 MB / 490.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003381/0.4279, allocations: 4.214 MB / 0.5812 GB, free: 61.77 MB / 490.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0001714/0.4281, allocations: 53.7 kB / 0.5812 GB, free: 61.71 MB / 490.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.001337/0.4294, allocations: 3.735 MB / 0.5849 GB, free: 58.04 MB / 490.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006092/0.43, allocations: 0.7659 MB / 0.5856 GB, free: 57.27 MB / 490.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001/0.431, allocations: 1.406 MB / 0.587 GB, free: 55.85 MB / 490.9 MB Notification: Performance of setup shared object (initialization): time 3.12e-05/0.4311, allocations: 480.8 kB / 0.5875 GB, free: 55.38 MB / 490.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008112/0.4319, allocations: 0.5897 MB / 0.588 GB, free: 54.78 MB / 490.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00187/0.4337, allocations: 6.116 MB / 0.594 GB, free: 46.2 MB / 490.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003377/0.4371, allocations: 7.111 MB / 0.601 GB, free: 36.82 MB / 490.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.166e-05/0.4372, allocations: 36 kB / 0.601 GB, free: 36.78 MB / 490.9 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.00522/0.4424, allocations: 4.917 MB / 0.6058 GB, free: 31.86 MB / 490.9 MB Notification: Performance of prepare postOptimizeDAE: time 4.489e-05/0.4424, allocations: 60 kB / 0.6058 GB, free: 31.8 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-05/0.4425, allocations: 128.5 kB / 0.606 GB, free: 31.67 MB / 490.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008625/0.4434, allocations: 427.7 kB / 0.6064 GB, free: 31.25 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002108/0.4455, allocations: 1.372 MB / 0.6077 GB, free: 29.88 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/0.4474, allocations: 2.899 MB / 0.6106 GB, free: 26.87 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00302/0.4504, allocations: 275.8 kB / 0.6108 GB, free: 26.6 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003637/0.4508, allocations: 304 kB / 0.6111 GB, free: 26.3 MB / 490.9 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.001461/0.4523, allocations: 0.6526 MB / 0.6117 GB, free: 25.64 MB / 490.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007259/0.453, allocations: 441.4 kB / 0.6122 GB, free: 25.21 MB / 490.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.4545, allocations: 1.17 MB / 0.6133 GB, free: 24.02 MB / 490.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/0.4545, allocations: 20 kB / 0.6133 GB, free: 24 MB / 490.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.4545, allocations: 15.88 kB / 0.6133 GB, free: 23.98 MB / 490.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.4545, allocations: 11.69 kB / 0.6133 GB, free: 23.98 MB / 490.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007708/0.4622, allocations: 5.954 MB / 0.6192 GB, free: 17.75 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/0.4623, allocations: 12 kB / 0.6192 GB, free: 17.74 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006672/0.4629, allocations: 276.3 kB / 0.6194 GB, free: 17.47 MB / 490.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000649/0.4636, allocations: 265.4 kB / 0.6197 GB, free: 17.21 MB / 490.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.518e-05/0.4637, allocations: 44 kB / 0.6197 GB, free: 17.16 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/0.4653, allocations: 2.606 MB / 0.6223 GB, free: 14.45 MB / 490.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/0.4653, allocations: 24.81 kB / 0.6223 GB, free: 14.43 MB / 490.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/0.4678, allocations: 2.591 MB / 0.6248 GB, free: 11.59 MB / 490.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007691/0.4686, allocations: 424.7 kB / 0.6252 GB, free: 11.18 MB / 490.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004124/0.469, allocations: 47.92 kB / 0.6253 GB, free: 11.13 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009217/0.4699, allocations: 51.98 kB / 0.6253 GB, free: 11.08 MB / 490.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.4701, allocations: 144.5 kB / 0.6255 GB, free: 10.94 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.977e-05/0.4701, allocations: 51.98 kB / 0.6255 GB, free: 10.89 MB / 490.9 MB Notification: Performance of sorting global known variables: time 0.001595/0.4717, allocations: 1.757 MB / 0.6272 GB, free: 9.125 MB / 490.9 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4717, allocations: 0 / 0.6272 GB, free: 9.125 MB / 490.9 MB Notification: Performance of remove unused functions: time 0.003936/0.4757, allocations: 1.242 MB / 0.6284 GB, free: 7.883 MB / 490.9 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.0003757/0.4761, allocations: 213.8 kB / 0.6287 GB, free: 7.668 MB / 490.9 MB Notification: Performance of simCode: created initialization part: time 0.003201/0.4793, allocations: 2.85 MB / 0.6314 GB, free: 4.816 MB / 490.9 MB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/0.4793, allocations: 1.125 kB / 0.6314 GB, free: 4.816 MB / 490.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0007843/0.48, allocations: 0.7518 MB / 0.6322 GB, free: 4.039 MB / 490.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/0.4826, allocations: 0.5987 MB / 0.6328 GB, free: 3.473 MB / 490.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.4936, allocations: 9.034 MB / 0.6416 GB, free: 10.14 MB / 0.495 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001686/0.4952, allocations: 1.463 MB / 0.643 GB, free: 8.652 MB / 0.495 GB Notification: Performance of simCode: alias equations: time 0.001714/0.497, allocations: 0.5345 MB / 0.6435 GB, free: 8.121 MB / 0.495 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/0.4982, allocations: 0.7089 MB / 0.6442 GB, free: 7.41 MB / 0.495 GB Notification: Performance of SimCode: time 1.994e-06/0.4982, allocations: 0 / 0.6442 GB, free: 7.41 MB / 0.495 GB Notification: Performance of Templates: time 0.05954/0.5577, allocations: 41.75 MB / 0.685 GB, free: 14.33 MB / 0.5419 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.858810150995851]