Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.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_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_FlexibleBeam_ScaledExperiments_FlexibleBeamModelica_N_4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_FlexibleBeam_ScaledExperiments_FlexibleBeamModelica_N_4",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.0009467/0.0009467, allocations: 183.3 kB / 8.132 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.054/1.054, allocations: 221.4 MB / 229.9 MB, free: 3.02 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.0009464/0.0009465, allocations: 92.91 kB / 280.8 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6084/0.6084, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3068/0.9152, allocations: 88.96 MB / 0.5283 GB, free: 52.35 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/1.022, allocations: 82.85 MB / 0.6092 GB, free: 3.469 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4564/1.479, allocations: 145.9 MB / 0.7517 GB, free: 236 kB / 0.5109 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001745/1.479, allocations: 73.58 kB / 0.7518 GB, free: 200 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: 2204 * Number of variables: 2204 Notification: Performance of Generate backend data structure: time 0.3413/1.82, allocations: 149.6 MB / 0.8978 GB, free: 1.285 MB / 0.6359 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/1.82, allocations: 8 kB / 0.8978 GB, free: 1.277 MB / 0.6359 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04734/1.868, allocations: 13.92 MB / 0.9114 GB, free: 4.918 MB / 0.6515 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02324/1.891, allocations: 12 MB / 0.9232 GB, free: 11.36 MB / 0.6671 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/1.891, allocations: 211.9 kB / 0.9234 GB, free: 11.15 MB / 0.6671 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001179/1.892, allocations: 411.2 kB / 0.9237 GB, free: 10.76 MB / 0.6671 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01318/1.906, allocations: 10.73 MB / 0.9342 GB, free: 3.297 MB / 0.6671 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1793/2.085, allocations: 15.06 MB / 0.9489 GB, free: 227.3 MB / 0.6671 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002319/2.085, allocations: 94.48 kB / 0.949 GB, free: 227.3 MB / 0.6671 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000673/2.086, allocations: 37 kB / 0.9491 GB, free: 227.3 MB / 0.6671 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001495/2.087, allocations: 1.582 MB / 0.9506 GB, free: 227.3 MB / 0.6671 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05627/2.144, allocations: 70.12 MB / 1.019 GB, free: 193 MB / 0.6671 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006013/2.15, allocations: 7.11 MB / 1.026 GB, free: 191.4 MB / 0.6671 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004499/2.154, allocations: 5.769 MB / 1.032 GB, free: 189.3 MB / 0.6671 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01679/2.171, allocations: 14.69 MB / 1.046 GB, free: 183.3 MB / 0.6671 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/2.171, allocations: 74.14 kB / 1.046 GB, free: 183.3 MB / 0.6671 GB Notification: Performance of pre-optimization done (n=313): time 5.671e-06/2.171, allocations: 0 / 1.046 GB, free: 183.3 MB / 0.6671 GB Notification: Performance of matching and sorting (n=401): time 0.08255/2.254, allocations: 49.67 MB / 1.095 GB, free: 153.7 MB / 0.6671 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.459e-05/2.254, allocations: 436.2 kB / 1.095 GB, free: 153.1 MB / 0.6671 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005727/2.259, allocations: 5.355 MB / 1.1 GB, free: 148.6 MB / 0.6671 GB Notification: Performance of collectPreVariables (initialization): time 0.0004595/2.26, allocations: 25.7 kB / 1.1 GB, free: 148.6 MB / 0.6671 GB Notification: Performance of collectInitialEqns (initialization): time 0.001497/2.261, allocations: 3.917 MB / 1.104 GB, free: 145.2 MB / 0.6671 GB Notification: Performance of collectInitialBindings (initialization): time 0.00114/2.263, allocations: 1.406 MB / 1.105 GB, free: 144 MB / 0.6671 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004186/2.263, allocations: 0 / 1.105 GB, free: 144 MB / 0.6671 GB Notification: Performance of setup shared object (initialization): time 0.0003055/2.263, allocations: 0.6719 MB / 1.106 GB, free: 143.4 MB / 0.6671 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004981/2.268, allocations: 5.167 MB / 1.111 GB, free: 139 MB / 0.6671 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006178/2.275, allocations: 9.415 MB / 1.12 GB, free: 128.6 MB / 0.6671 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006934/2.281, allocations: 7.12 MB / 1.127 GB, free: 123 MB / 0.6671 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.544e-05/2.282, allocations: 40 kB / 1.127 GB, free: 122.9 MB / 0.6671 GB Notification: Performance of matching and sorting (n=1082) (initialization): time 0.02479/2.306, allocations: 18.01 MB / 1.145 GB, free: 107.6 MB / 0.6671 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/2.306, allocations: 4 kB / 1.145 GB, free: 107.6 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.636e-05/2.306, allocations: 144.8 kB / 1.145 GB, free: 107.5 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01085/2.317, allocations: 4.974 MB / 1.15 GB, free: 102.5 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005951/2.323, allocations: 1.856 MB / 1.152 GB, free: 100.7 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02847/2.352, allocations: 25.57 MB / 1.177 GB, free: 74.98 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006461/2.358, allocations: 423.2 kB / 1.177 GB, free: 74.56 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008012/2.359, allocations: 475.9 kB / 1.178 GB, free: 74.1 MB / 0.6671 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 666 * Number of states: 0 () * Number of discrete variables: 59 (force.arrow.arrowLine.twoHeadedArrow,force.arrow.headAtOrigin,force.color[3],force.color[2],force.color[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[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 (956): * Single equations (assignments): 952 * 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 {(11,68.6%) 92} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001095/2.36, allocations: 0.5008 MB / 1.178 GB, free: 73.59 MB / 0.6671 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008267/2.361, allocations: 0.5706 MB / 1.179 GB, free: 73.02 MB / 0.6671 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01944/2.38, allocations: 13.46 MB / 1.192 GB, free: 59.53 MB / 0.6671 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.843e-05/2.381, allocations: 40 kB / 1.192 GB, free: 59.49 MB / 0.6671 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.848e-05/2.381, allocations: 16 kB / 1.192 GB, free: 59.47 MB / 0.6671 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.163e-05/2.381, allocations: 27.83 kB / 1.192 GB, free: 59.45 MB / 0.6671 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03432/2.415, allocations: 25.22 MB / 1.216 GB, free: 34.14 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/2.415, allocations: 4 kB / 1.216 GB, free: 34.14 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002778/2.418, allocations: 0.589 MB / 1.217 GB, free: 33.55 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01064/2.428, allocations: 4.793 MB / 1.222 GB, free: 28.74 MB / 0.6671 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003609/2.429, allocations: 15.98 kB / 1.222 GB, free: 28.73 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02791/2.457, allocations: 25.07 MB / 1.246 GB, free: 3.551 MB / 0.6671 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/2.457, allocations: 7.938 kB / 1.246 GB, free: 3.543 MB / 0.6671 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1936/2.65, allocations: 20.87 MB / 1.267 GB, free: 214.1 MB / 0.6671 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03056/2.681, allocations: 28.4 MB / 1.294 GB, free: 212.6 MB / 0.6671 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/2.682, allocations: 0.5936 MB / 1.295 GB, free: 212.5 MB / 0.6671 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009755/2.683, allocations: 7.469 kB / 1.295 GB, free: 212.5 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002929/2.686, allocations: 278.6 kB / 1.295 GB, free: 212.5 MB / 0.6671 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000556/2.687, allocations: 185.8 kB / 1.295 GB, free: 212.5 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003505/2.687, allocations: 101.8 kB / 1.295 GB, free: 212.5 MB / 0.6671 GB Notification: Performance of sort global known variables: time 0.004263/2.691, allocations: 3.824 MB / 1.299 GB, free: 212.3 MB / 0.6671 GB Notification: Performance of remove unused functions: time 0.006106/2.697, allocations: 1.776 MB / 1.301 GB, free: 212.3 MB / 0.6671 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 8 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w,revolute[3].phi,revolute[3].w,revolute[4].phi,revolute[4].w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 282 * 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 {(14,57.7%) 86} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005564/2.698, allocations: 171.8 kB / 1.301 GB, free: 212.2 MB / 0.6671 GB Notification: Performance of simCode: created initialization part: time 0.01367/2.712, allocations: 12.42 MB / 1.313 GB, free: 212 MB / 0.6671 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/2.712, allocations: 0 / 1.313 GB, free: 212 MB / 0.6671 GB Notification: Performance of simCode: created simulation system equations: time 0.007411/2.719, allocations: 5.794 MB / 1.319 GB, free: 211.1 MB / 0.6671 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003413/2.723, allocations: 0.8013 MB / 1.32 GB, free: 210.9 MB / 0.6671 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0249/2.747, allocations: 17.88 MB / 1.337 GB, free: 204.6 MB / 0.6671 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006652/2.754, allocations: 6.132 MB / 1.343 GB, free: 199.9 MB / 0.6671 GB Notification: Performance of SimCode: time 4.81e-07/2.754, allocations: 3.188 kB / 1.343 GB, free: 199.9 MB / 0.6671 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_FlexibleBeam_ScaledExperiments_FlexibleBeamModelica_N_4_fmu --startTime=0 --stopTime=0.04 --timeout=300 --tolerance=3e-08 ScalableTestSuite_ScalableTestSuite_Mechanical_FlexibleBeam_ScaledExperiments_FlexibleBeamModelica_N_4.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe 2>&1)