Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8,tolerance=3e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="revolute.1..angle|revolute.1..phi|revolute.2..angle|revolute.2..phi|revolute.3..angle|revolute.3..phi|revolute.4..angle|revolute.4..phi|revolute.5..angle|revolute.5..phi|revolute.6..angle|revolute.6..phi|revolute.7..angle|revolute.7..phi|revolute.8..angle|revolute.8..phi|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8") translateModel(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8,tolerance=3e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="revolute.1..angle|revolute.1..phi|revolute.2..angle|revolute.2..phi|revolute.3..angle|revolute.3..phi|revolute.4..angle|revolute.4..phi|revolute.5..angle|revolute.5..phi|revolute.6..angle|revolute.6..phi|revolute.7..angle|revolute.7..phi|revolute.8..angle|revolute.8..phi|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8") [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 187.2 kB / 8.134 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.075/1.075, allocations: 221.4 MB / 229.9 MB, free: 3.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009604/0.0009606, allocations: 97.02 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6346/0.6346, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.501e-06/5.521e-06, allocations: 0 / 0.5282 GB, free: 52.46 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1731, allocations: 82.86 MB / 0.6091 GB, free: 3.566 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.537/0.7101, allocations: 145.9 MB / 0.7516 GB, free: 396 kB / 0.5109 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001384/0.7103, allocations: 71.59 kB / 0.7517 GB, free: 364 kB / 0.5109 GB Notification: Performance of FrontEnd: time 0.7259/1.436, allocations: 222.4 MB / 0.9689 GB, free: 131.5 MB / 0.6671 GB Notification: Performance of Transformations before backend: time 0.0005067/1.437, allocations: 234.5 kB / 0.9691 GB, free: 131.5 MB / 0.6671 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3436 * Number of variables: 3436 Notification: Performance of Generate backend data structure: time 0.02842/1.465, allocations: 13.05 MB / 0.9818 GB, free: 127.4 MB / 0.6671 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/1.465, allocations: 12.47 kB / 0.9818 GB, free: 127.4 MB / 0.6671 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.083/1.548, allocations: 24.17 MB / 1.005 GB, free: 126.6 MB / 0.6671 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04242/1.591, allocations: 20.44 MB / 1.025 GB, free: 124.9 MB / 0.6671 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006173/1.591, allocations: 331.3 kB / 1.026 GB, free: 124.9 MB / 0.6671 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004633/1.596, allocations: 0.6451 MB / 1.026 GB, free: 124.9 MB / 0.6671 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02897/1.625, allocations: 17.71 MB / 1.044 GB, free: 124.8 MB / 0.6671 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04064/1.666, allocations: 24.12 MB / 1.067 GB, free: 111.7 MB / 0.6671 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004542/1.666, allocations: 169.6 kB / 1.067 GB, free: 111.6 MB / 0.6671 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001311/1.667, allocations: 48 kB / 1.067 GB, free: 111.5 MB / 0.6671 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002568/1.67, allocations: 2.484 MB / 1.07 GB, free: 109.5 MB / 0.6671 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1091/1.779, allocations: 110.7 MB / 1.178 GB, free: 3.32 MB / 0.6671 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01483/1.794, allocations: 13.28 MB / 1.191 GB, free: 5.902 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1891/1.983, allocations: 11.41 MB / 1.202 GB, free: 209.1 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03639/2.02, allocations: 27.9 MB / 1.229 GB, free: 205.5 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.091e-05/2.02, allocations: 95.33 kB / 1.229 GB, free: 205.5 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=577): time 8.296e-06/2.02, allocations: 0 / 1.229 GB, free: 205.5 MB / 0.6828 GB Notification: Performance of matching and sorting (n=747): time 0.1744/2.194, allocations: 95.98 MB / 1.323 GB, free: 181.6 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/2.194, allocations: 0.6587 MB / 1.324 GB, free: 180.8 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01056/2.205, allocations: 8.465 MB / 1.332 GB, free: 173.8 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.001332/2.206, allocations: 25.7 kB / 1.332 GB, free: 173.7 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.002493/2.209, allocations: 5.677 MB / 1.338 GB, free: 169.3 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.002693/2.211, allocations: 2.561 MB / 1.34 GB, free: 167 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000793/2.212, allocations: 3.25 kB / 1.34 GB, free: 167 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0004631/2.213, allocations: 0.8629 MB / 1.341 GB, free: 166.2 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00958/2.222, allocations: 9.595 MB / 1.35 GB, free: 158.2 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01139/2.234, allocations: 15.23 MB / 1.365 GB, free: 142.3 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01263/2.246, allocations: 12.52 MB / 1.377 GB, free: 132.6 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.579e-05/2.246, allocations: 52 kB / 1.377 GB, free: 132.5 MB / 0.6828 GB Notification: Performance of matching and sorting (n=1628) (initialization): time 0.05197/2.298, allocations: 33.71 MB / 1.41 GB, free: 106.5 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/2.298, allocations: 8 kB / 1.41 GB, free: 106.5 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001339/2.299, allocations: 188 kB / 1.411 GB, free: 106.4 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02709/2.326, allocations: 11.39 MB / 1.422 GB, free: 98.28 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00996/2.336, allocations: 2.747 MB / 1.424 GB, free: 95.96 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0668/2.402, allocations: 56.91 MB / 1.48 GB, free: 39.06 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01129/2.414, allocations: 0.7642 MB / 1.481 GB, free: 38.3 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001957/2.416, allocations: 0.6628 MB / 1.481 GB, free: 37.64 MB / 0.6828 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 858 * Number of states: 0 () * Number of discrete variables: 95 (force.arrow.arrowLine.twoHeadedArrow,force.arrow.headAtOrigin,force.color[3],force.color[2],force.color[1],bodybox[7].color[3],bodybox[7].color[2],bodybox[7].color[1],bodybox[7].body.sphereColor[3],bodybox[7].body.sphereColor[2],bodybox[7].body.sphereColor[1],bodybox[6].color[3],bodybox[6].color[2],bodybox[6].color[1],bodybox[6].body.sphereColor[3],bodybox[6].body.sphereColor[2],bodybox[6].body.sphereColor[1],bodybox[5].color[3],bodybox[5].color[2],bodybox[5].color[1],bodybox[5].body.sphereColor[3],bodybox[5].body.sphereColor[2],bodybox[5].body.sphereColor[1],bodybox[4].color[3],bodybox[4].color[2],bodybox[4].color[1],bodybox[4].body.sphereColor[3],bodybox[4].body.sphereColor[2],bodybox[4].body.sphereColor[1],bodybox[3].color[3],bodybox[3].color[2],bodybox[3].color[1],bodybox[3].body.sphereColor[3],bodybox[3].body.sphereColor[2],bodybox[3].body.sphereColor[1],bodybox[2].color[3],bodybox[2].color[2],bodybox[2].color[1],bodybox[2].body.sphereColor[3],bodybox[2].body.sphereColor[2],bodybox[2].body.sphereColor[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[8].cylinderColor[3],revolute[8].cylinderColor[2],revolute[8].cylinderColor[1],revolute[7].cylinderColor[3],revolute[7].cylinderColor[2],revolute[7].cylinderColor[1],revolute[6].cylinderColor[3],revolute[6].cylinderColor[2],revolute[6].cylinderColor[1],revolute[5].cylinderColor[3],revolute[5].cylinderColor[2],revolute[5].cylinderColor[1],revolute[4].cylinderColor[3],revolute[4].cylinderColor[2],revolute[4].cylinderColor[1],revolute[3].cylinderColor[3],revolute[3].cylinderColor[2],revolute[3].cylinderColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1382): * Single equations (assignments): 1378 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(13,84.6%) 210} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002088/2.418, allocations: 0.6486 MB / 1.482 GB, free: 36.99 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1871/2.605, allocations: 0.9182 MB / 1.483 GB, free: 193.4 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04616/2.651, allocations: 28.39 MB / 1.511 GB, free: 193.1 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.699e-05/2.651, allocations: 75.09 kB / 1.511 GB, free: 193.1 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.569e-05/2.651, allocations: 38.75 kB / 1.511 GB, free: 193.1 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.816e-05/2.651, allocations: 37.78 kB / 1.511 GB, free: 193.1 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07717/2.729, allocations: 52.21 MB / 1.562 GB, free: 190.9 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.688e-05/2.729, allocations: 4.406 kB / 1.562 GB, free: 190.9 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005172/2.734, allocations: 1.082 MB / 1.563 GB, free: 190.9 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02655/2.76, allocations: 11.33 MB / 1.574 GB, free: 190.4 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001222/2.762, allocations: 25.34 kB / 1.574 GB, free: 190.4 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0687/2.83, allocations: 56.31 MB / 1.629 GB, free: 156.4 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.844e-06/2.83, allocations: 11.66 kB / 1.629 GB, free: 156.4 MB / 0.6828 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05635/2.887, allocations: 42.61 MB / 1.67 GB, free: 122.7 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00243/2.889, allocations: 0.9287 MB / 1.671 GB, free: 122.1 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001843/2.891, allocations: 27.17 kB / 1.671 GB, free: 122.1 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00565/2.897, allocations: 0.5814 MB / 1.672 GB, free: 121.8 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0011/2.898, allocations: 349.8 kB / 1.672 GB, free: 121.6 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008289/2.899, allocations: 174.8 kB / 1.672 GB, free: 121.4 MB / 0.6828 GB Notification: Performance of sort global known variables: time 0.007303/2.906, allocations: 6.165 MB / 1.679 GB, free: 116.2 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.009666/2.916, allocations: 3.117 MB / 1.682 GB, free: 113.1 MB / 0.6828 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 16 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w,revolute[3].phi,revolute[3].w,revolute[4].phi,revolute[4].w,revolute[5].phi,revolute[5].w,revolute[6].phi,revolute[6].w,revolute[7].phi,revolute[7].w,revolute[8].phi,revolute[8].w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (520): * Single equations (assignments): 516 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(21,60.1%) 199} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009038/2.917, allocations: 212.3 kB / 1.682 GB, free: 113 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.02595/2.943, allocations: 22.66 MB / 1.704 GB, free: 92.52 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 6.423e-06/2.943, allocations: 4 kB / 1.704 GB, free: 92.52 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.01433/2.957, allocations: 11.23 MB / 1.715 GB, free: 81.33 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007304/2.964, allocations: 1.376 MB / 1.716 GB, free: 80.05 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05005/3.014, allocations: 32.32 MB / 1.748 GB, free: 48.14 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2094/3.224, allocations: 9.678 MB / 1.757 GB, free: 178.6 MB / 0.6828 GB Notification: Performance of SimCode: time 9.11e-07/3.224, allocations: 0 / 1.757 GB, free: 178.6 MB / 0.6828 GB Notification: Performance of Templates: time 0.235/3.459, allocations: 184.7 MB / 1.938 GB, free: 103.4 MB / 0.6828 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches