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/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_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_FlexibleBeam_ScaledExperiments_FlexibleBeamModelica_N_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_FlexibleBeam_ScaledExperiments_FlexibleBeamModelica_N_2",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.0009266/0.0009267, allocations: 182.6 kB / 8.135 MB, free: 2.223 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.065/1.065, allocations: 221.4 MB / 229.9 MB, free: 3.039 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.0009016/0.0009016, allocations: 104.2 kB / 280.8 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6161/0.6161, allocations: 120.5 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3143/0.9304, allocations: 88.96 MB / 0.5283 GB, free: 52.41 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/1.037, allocations: 82.85 MB / 0.6092 GB, free: 3.492 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4746/1.512, allocations: 145.9 MB / 0.7517 GB, free: 416 kB / 0.5109 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001844/1.512, allocations: 71.34 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: 1588 * Number of variables: 1588 Notification: Performance of Generate backend data structure: time 0.2559/1.768, allocations: 106.5 MB / 0.8558 GB, free: 5.82 MB / 0.6046 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/1.768, allocations: 8 kB / 0.8558 GB, free: 5.812 MB / 0.6046 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03178/1.8, allocations: 8.791 MB / 0.8644 GB, free: 13.96 MB / 0.6203 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01767/1.818, allocations: 7.783 MB / 0.872 GB, free: 7.711 MB / 0.6203 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002158/1.818, allocations: 148 kB / 0.8721 GB, free: 7.566 MB / 0.6203 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001726/1.82, allocations: 283.6 kB / 0.8724 GB, free: 7.297 MB / 0.6203 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01157/1.831, allocations: 7.247 MB / 0.8795 GB, free: 2.328 MB / 0.6203 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01727/1.849, allocations: 10.52 MB / 0.8898 GB, free: 9.375 MB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002891/1.849, allocations: 63.31 kB / 0.8898 GB, free: 9.316 MB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001322/1.85, allocations: 35.92 kB / 0.8899 GB, free: 9.281 MB / 0.6359 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001386/1.852, allocations: 1.122 MB / 0.891 GB, free: 8.324 MB / 0.6359 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05087/1.903, allocations: 49.83 MB / 0.9396 GB, free: 12.04 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004307/1.907, allocations: 4.049 MB / 0.9436 GB, free: 9.008 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002989/1.91, allocations: 2.952 MB / 0.9465 GB, free: 7.09 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01216/1.922, allocations: 8.079 MB / 0.9543 GB, free: 0.75 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/1.922, allocations: 57.36 kB / 0.9544 GB, free: 0.6992 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=181): time 4.648e-06/1.922, allocations: 0 / 0.9544 GB, free: 0.6992 MB / 0.6828 GB Notification: Performance of matching and sorting (n=213): time 0.1907/2.113, allocations: 22.53 MB / 0.9764 GB, free: 267.5 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/2.113, allocations: 312.4 kB / 0.9767 GB, free: 267.2 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004211/2.117, allocations: 3.798 MB / 0.9804 GB, free: 266.8 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.0002342/2.117, allocations: 25.7 kB / 0.9804 GB, free: 266.8 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.00112/2.119, allocations: 3.036 MB / 0.9834 GB, free: 265.3 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005331/2.119, allocations: 0.7853 MB / 0.9842 GB, free: 264.8 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002314/2.119, allocations: 2.844 kB / 0.9842 GB, free: 264.8 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0002187/2.12, allocations: 0.5644 MB / 0.9847 GB, free: 264.5 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002536/2.122, allocations: 2.617 MB / 0.9873 GB, free: 264.5 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003443/2.126, allocations: 6.164 MB / 0.9933 GB, free: 259.9 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003821/2.129, allocations: 4.052 MB / 0.9972 GB, free: 259.9 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.006e-05/2.129, allocations: 37.56 kB / 0.9973 GB, free: 259.9 MB / 0.6828 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01223/2.142, allocations: 9.465 MB / 1.007 GB, free: 259.5 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/2.142, allocations: 7.219 kB / 1.007 GB, free: 259.5 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.745e-05/2.142, allocations: 125 kB / 1.007 GB, free: 259.5 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003695/2.146, allocations: 1.761 MB / 1.008 GB, free: 259.5 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003789/2.149, allocations: 1.382 MB / 1.01 GB, free: 259.4 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01069/2.16, allocations: 10.07 MB / 1.02 GB, free: 256.7 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004276/2.164, allocations: 244.5 kB / 1.02 GB, free: 256.7 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006353/2.165, allocations: 363.1 kB / 1.02 GB, free: 256.6 MB / 0.6828 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 41 (force.arrow.arrowLine.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (728): * Single equations (assignments): 724 * 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 {(4,87.5%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007674/2.166, allocations: 434.8 kB / 1.021 GB, free: 256.3 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005833/2.166, allocations: 394.7 kB / 1.021 GB, free: 256.1 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007623/2.174, allocations: 5.236 MB / 1.026 GB, free: 254.6 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-05/2.174, allocations: 20.09 kB / 1.026 GB, free: 254.6 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/2.174, allocations: 6.594 kB / 1.026 GB, free: 254.6 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/2.174, allocations: 9.5 kB / 1.026 GB, free: 254.6 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01575/2.19, allocations: 10.86 MB / 1.037 GB, free: 247.7 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/2.19, allocations: 4 kB / 1.037 GB, free: 247.7 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001462/2.191, allocations: 318.2 kB / 1.037 GB, free: 247.4 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003533/2.195, allocations: 1.574 MB / 1.039 GB, free: 246.3 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001969/2.195, allocations: 11.91 kB / 1.039 GB, free: 246.3 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01018/2.205, allocations: 9.601 MB / 1.048 GB, free: 238.3 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/2.205, allocations: 7.938 kB / 1.048 GB, free: 238.3 MB / 0.6828 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00997/2.215, allocations: 8.879 MB / 1.057 GB, free: 230.8 MB / 0.6828 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01226/2.228, allocations: 12.26 MB / 1.069 GB, free: 220.5 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009821/2.229, allocations: 437.5 kB / 1.069 GB, free: 220 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000666/2.229, allocations: 11.06 kB / 1.069 GB, free: 220 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/2.231, allocations: 111.2 kB / 1.069 GB, free: 219.9 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002695/2.231, allocations: 101.1 kB / 1.069 GB, free: 219.9 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001561/2.231, allocations: 52 kB / 1.069 GB, free: 219.8 MB / 0.6828 GB Notification: Performance of sort global known variables: time 0.003115/2.235, allocations: 2.658 MB / 1.072 GB, free: 217.5 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.004993/2.24, allocations: 1.055 MB / 1.073 GB, free: 216.5 MB / 0.6828 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 150 * 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 {(4,87.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000414/2.24, allocations: 159.8 kB / 1.073 GB, free: 216.4 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.00689/2.247, allocations: 6.188 MB / 1.079 GB, free: 211 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/2.247, allocations: 0 / 1.079 GB, free: 211 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.002585/2.249, allocations: 2.361 MB / 1.081 GB, free: 208.9 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/2.252, allocations: 0.5125 MB / 1.082 GB, free: 208.5 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01503/2.267, allocations: 10.1 MB / 1.092 GB, free: 199.7 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004885/2.272, allocations: 4.319 MB / 1.096 GB, free: 196.4 MB / 0.6828 GB Notification: Performance of SimCode: time 6.01e-07/2.272, allocations: 0 / 1.096 GB, free: 196.4 MB / 0.6828 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_FlexibleBeam_ScaledExperiments_FlexibleBeamModelica_N_2_fmu --startTime=0 --stopTime=0.04 --timeout=300 --tolerance=3e-08 ScalableTestSuite_ScalableTestSuite_Mechanical_FlexibleBeam_ScaledExperiments_FlexibleBeamModelica_N_2.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe 2>&1)