Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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: "" <> buildModelFMU(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_FlexibleBeam_ScaledExperiments_FlexibleBeamModelica_N_8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_FlexibleBeam_ScaledExperiments_FlexibleBeamModelica_N_8",fmuType="me",version="2.0",platforms={"static"}) [: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.0009803/0.0009803, allocations: 187.4 kB / 8.136 MB, free: 2.207 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.069/1.069, allocations: 221.4 MB / 229.9 MB, free: 3.008 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.0009203/0.0009203, allocations: 92.83 kB / 280.8 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6195/0.6195, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3087/0.9282, allocations: 88.95 MB / 0.5283 GB, free: 52.38 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/1.034, allocations: 82.86 MB / 0.6092 GB, free: 3.465 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4557/1.489, allocations: 145.9 MB / 0.7517 GB, free: 420 kB / 0.5109 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001699/1.49, allocations: 70.64 kB / 0.7518 GB, free: 384 kB / 0.5109 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.7393/2.229, allocations: 235.7 MB / 0.9819 GB, free: 76.52 MB / 0.6671 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/2.229, allocations: 14.28 kB / 0.9819 GB, free: 76.52 MB / 0.6671 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07738/2.306, allocations: 24.17 MB / 1.006 GB, free: 75.74 MB / 0.6671 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03654/2.343, allocations: 20.43 MB / 1.026 GB, free: 74.04 MB / 0.6671 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002994/2.343, allocations: 329.9 kB / 1.026 GB, free: 74.04 MB / 0.6671 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002502/2.346, allocations: 0.6418 MB / 1.026 GB, free: 74.02 MB / 0.6671 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02081/2.367, allocations: 17.7 MB / 1.044 GB, free: 73.96 MB / 0.6671 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0286/2.395, allocations: 24.11 MB / 1.067 GB, free: 69.49 MB / 0.6671 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004844/2.396, allocations: 174.9 kB / 1.067 GB, free: 69.43 MB / 0.6671 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001247/2.397, allocations: 47.31 kB / 1.067 GB, free: 69.43 MB / 0.6671 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002983/2.4, allocations: 2.487 MB / 1.07 GB, free: 69.38 MB / 0.6671 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1066/2.507, allocations: 110.7 MB / 1.178 GB, free: 14.8 MB / 0.6984 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01423/2.521, allocations: 13.29 MB / 1.191 GB, free: 1.375 MB / 0.6984 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0112/2.532, allocations: 11.4 MB / 1.202 GB, free: 5.961 MB / 0.714 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2049/2.737, allocations: 27.9 MB / 1.229 GB, free: 236.1 MB / 0.714 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.79e-05/2.737, allocations: 98.92 kB / 1.229 GB, free: 236 MB / 0.714 GB Notification: Performance of pre-optimization done (n=577): time 7.815e-06/2.737, allocations: 0 / 1.229 GB, free: 236 MB / 0.714 GB Notification: Performance of matching and sorting (n=747): time 0.1643/2.901, allocations: 95.98 MB / 1.323 GB, free: 220.7 MB / 0.714 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/2.901, allocations: 0.6568 MB / 1.324 GB, free: 219.9 MB / 0.714 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009951/2.911, allocations: 8.47 MB / 1.332 GB, free: 212.8 MB / 0.714 GB Notification: Performance of collectPreVariables (initialization): time 0.001093/2.913, allocations: 32.36 kB / 1.332 GB, free: 212.7 MB / 0.714 GB Notification: Performance of collectInitialEqns (initialization): time 0.002493/2.915, allocations: 5.675 MB / 1.338 GB, free: 208 MB / 0.714 GB Notification: Performance of collectInitialBindings (initialization): time 0.002592/2.918, allocations: 2.562 MB / 1.34 GB, free: 205.6 MB / 0.714 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000781/2.918, allocations: 4 kB / 1.34 GB, free: 205.6 MB / 0.714 GB Notification: Performance of setup shared object (initialization): time 0.00046/2.919, allocations: 0.8595 MB / 1.341 GB, free: 204.9 MB / 0.714 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009097/2.928, allocations: 9.592 MB / 1.35 GB, free: 196.9 MB / 0.714 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01072/2.939, allocations: 15.23 MB / 1.365 GB, free: 181 MB / 0.714 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01197/2.951, allocations: 12.52 MB / 1.378 GB, free: 171.2 MB / 0.714 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.778e-05/2.951, allocations: 52 kB / 1.378 GB, free: 171.2 MB / 0.714 GB Notification: Performance of matching and sorting (n=1628) (initialization): time 0.04827/2.999, allocations: 33.7 MB / 1.41 GB, free: 145.2 MB / 0.714 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/2.999, allocations: 4 kB / 1.41 GB, free: 145.2 MB / 0.714 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001273/2.999, allocations: 190.7 kB / 1.411 GB, free: 145 MB / 0.714 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02538/3.025, allocations: 11.4 MB / 1.422 GB, free: 137 MB / 0.714 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00904/3.034, allocations: 2.744 MB / 1.424 GB, free: 134.7 MB / 0.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06123/3.095, allocations: 56.9 MB / 1.48 GB, free: 79.33 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01072/3.106, allocations: 0.7676 MB / 1.481 GB, free: 78.57 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001495/3.107, allocations: 0.66 MB / 1.481 GB, free: 77.91 MB / 0.714 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.001964/3.109, allocations: 0.652 MB / 1.482 GB, free: 77.25 MB / 0.714 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001462/3.111, allocations: 0.9142 MB / 1.483 GB, free: 76.32 MB / 0.714 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04165/3.152, allocations: 28.39 MB / 1.511 GB, free: 47.96 MB / 0.714 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.081e-05/3.152, allocations: 68 kB / 1.511 GB, free: 47.89 MB / 0.714 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-05/3.152, allocations: 43.94 kB / 1.511 GB, free: 47.85 MB / 0.714 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.456e-05/3.153, allocations: 39.86 kB / 1.511 GB, free: 47.81 MB / 0.714 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2467/3.399, allocations: 52.19 MB / 1.562 GB, free: 214.3 MB / 0.714 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.222e-05/3.399, allocations: 12.05 kB / 1.562 GB, free: 214.3 MB / 0.714 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004837/3.404, allocations: 1.081 MB / 1.563 GB, free: 214.3 MB / 0.714 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02478/3.429, allocations: 11.33 MB / 1.574 GB, free: 214.2 MB / 0.714 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008068/3.43, allocations: 29.64 kB / 1.574 GB, free: 214.2 MB / 0.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06265/3.492, allocations: 56.31 MB / 1.629 GB, free: 208.6 MB / 0.714 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/3.492, allocations: 8.156 kB / 1.629 GB, free: 208.6 MB / 0.714 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05266/3.545, allocations: 42.61 MB / 1.671 GB, free: 177.1 MB / 0.714 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06486/3.61, allocations: 57.25 MB / 1.726 GB, free: 131.1 MB / 0.714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002559/3.613, allocations: 0.9293 MB / 1.727 GB, free: 130.2 MB / 0.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00197/3.615, allocations: 21.81 kB / 1.727 GB, free: 130.2 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005394/3.62, allocations: 0.5726 MB / 1.728 GB, free: 129.8 MB / 0.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001093/3.621, allocations: 354.8 kB / 1.728 GB, free: 129.6 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006904/3.622, allocations: 183.4 kB / 1.728 GB, free: 129.5 MB / 0.714 GB Notification: Performance of sort global known variables: time 0.007151/3.629, allocations: 6.16 MB / 1.735 GB, free: 124.3 MB / 0.714 GB Notification: Performance of remove unused functions: time 0.01065/3.64, allocations: 3.127 MB / 1.738 GB, free: 121.2 MB / 0.714 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.0009435/3.641, allocations: 205.4 kB / 1.738 GB, free: 121.1 MB / 0.714 GB Notification: Performance of simCode: created initialization part: time 0.02443/3.665, allocations: 22.66 MB / 1.76 GB, free: 99.55 MB / 0.714 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/3.665, allocations: 0 / 1.76 GB, free: 99.55 MB / 0.714 GB Notification: Performance of simCode: created simulation system equations: time 0.01341/3.678, allocations: 11.25 MB / 1.771 GB, free: 88.38 MB / 0.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006285/3.685, allocations: 1.377 MB / 1.772 GB, free: 87.09 MB / 0.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04535/3.73, allocations: 32.33 MB / 1.804 GB, free: 55.17 MB / 0.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01152/3.742, allocations: 9.756 MB / 1.813 GB, free: 45.42 MB / 0.714 GB Notification: Performance of SimCode: time 8.31e-07/3.742, allocations: 1.969 kB / 1.813 GB, free: 45.42 MB / 0.714 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_FlexibleBeam_ScaledExperiments_FlexibleBeamModelica_N_8_fmu --startTime=0 --stopTime=0.04 --timeout=300 --tolerance=3e-08 ScalableTestSuite_ScalableTestSuite_Mechanical_FlexibleBeam_ScaledExperiments_FlexibleBeamModelica_N_8.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8.pipe 2>&1)