Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_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.Strings.ScaledExperiments.StringModelica_N_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_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.0009093/0.0009094, allocations: 180.6 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 0.9918/0.9918, allocations: 221.4 MB / 229.9 MB, free: 3.066 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.0008459/0.0008461, allocations: 105.2 kB / 280.8 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5614/0.5614, allocations: 120.4 MB / 452 MB, free: 12.99 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2757/0.8372, allocations: 88.96 MB / 0.5283 GB, free: 52.36 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09406/0.9312, allocations: 82.84 MB / 0.6092 GB, free: 3.48 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3968/1.328, allocations: 146.5 MB / 0.7523 GB, free: 15.77 MB / 0.5265 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001542/1.328, allocations: 71.09 kB / 0.7523 GB, free: 15.74 MB / 0.5265 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2218 * Number of variables: 2218 Notification: Performance of Generate backend data structure: time 0.3279/1.656, allocations: 150.6 MB / 0.8994 GB, free: 15.02 MB / 0.6515 GB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/1.656, allocations: 8 kB / 0.8994 GB, free: 15.01 MB / 0.6515 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04691/1.703, allocations: 14.27 MB / 0.9133 GB, free: 2.305 MB / 0.6515 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02176/1.725, allocations: 12.56 MB / 0.9256 GB, free: 8.195 MB / 0.6671 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/1.725, allocations: 208 kB / 0.9258 GB, free: 7.992 MB / 0.6671 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000967/1.726, allocations: 415.2 kB / 0.9262 GB, free: 7.598 MB / 0.6671 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01229/1.738, allocations: 10.86 MB / 0.9368 GB, free: 15.93 MB / 0.6828 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01565/1.754, allocations: 15.44 MB / 0.9519 GB, free: 2.809 MB / 0.6828 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002163/1.754, allocations: 110.9 kB / 0.952 GB, free: 2.703 MB / 0.6828 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006551/1.755, allocations: 36 kB / 0.952 GB, free: 2.668 MB / 0.6828 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001665/1.757, allocations: 1.633 MB / 0.9536 GB, free: 1.27 MB / 0.6828 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2005/1.957, allocations: 72.11 MB / 1.024 GB, free: 213.4 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005864/1.963, allocations: 7.341 MB / 1.031 GB, free: 212.8 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004366/1.967, allocations: 5.815 MB / 1.037 GB, free: 212.2 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01516/1.982, allocations: 14.54 MB / 1.051 GB, free: 206.2 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004144/1.987, allocations: 5.173 MB / 1.056 GB, free: 204.7 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=330): time 4.368e-06/1.987, allocations: 0 / 1.056 GB, free: 204.7 MB / 0.6828 GB Notification: Performance of matching and sorting (n=422): time 0.07866/2.065, allocations: 48.45 MB / 1.103 GB, free: 175.4 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.513e-05/2.065, allocations: 437.4 kB / 1.104 GB, free: 174.8 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005448/2.071, allocations: 5.712 MB / 1.109 GB, free: 170.1 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.0002948/2.071, allocations: 25.7 kB / 1.109 GB, free: 170 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.002091/2.073, allocations: 4.068 MB / 1.113 GB, free: 166.7 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.001011/2.074, allocations: 1.503 MB / 1.115 GB, free: 165.3 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004099/2.075, allocations: 0 / 1.115 GB, free: 165.3 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0002989/2.075, allocations: 0.6814 MB / 1.116 GB, free: 164.8 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004626/2.08, allocations: 5.168 MB / 1.121 GB, free: 160.4 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005727/2.085, allocations: 9.519 MB / 1.13 GB, free: 149.9 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006149/2.091, allocations: 7.213 MB / 1.137 GB, free: 144.2 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.862e-05/2.092, allocations: 44 kB / 1.137 GB, free: 144.1 MB / 0.6828 GB Notification: Performance of matching and sorting (n=1117) (initialization): time 0.0236/2.115, allocations: 18.14 MB / 1.155 GB, free: 129.5 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/2.115, allocations: 4 kB / 1.155 GB, free: 129.5 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.609e-05/2.115, allocations: 148 kB / 1.155 GB, free: 129.3 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01059/2.126, allocations: 5.01 MB / 1.16 GB, free: 124.3 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005239/2.131, allocations: 1.929 MB / 1.162 GB, free: 122.4 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02608/2.157, allocations: 25.59 MB / 1.187 GB, free: 96.75 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005406/2.163, allocations: 439.2 kB / 1.187 GB, free: 96.33 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006004/2.163, allocations: 483.9 kB / 1.188 GB, free: 95.86 MB / 0.6828 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * Number of states: 0 () * Number of discrete variables: 62 ($whenCondition1,$PRE.pulse1.T_start,pulse1.T_start,$PRE.pulse1.count,pulse1.count,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],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[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.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (995): * Single equations (assignments): 990 * Array equations: 3 * Algorithm blocks: 1 * 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 {(10,70.0%) 88} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009505/2.164, allocations: 0.5125 MB / 1.188 GB, free: 95.34 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006212/2.165, allocations: 0.5824 MB / 1.189 GB, free: 94.75 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01877/2.184, allocations: 13.44 MB / 1.202 GB, free: 81.32 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-05/2.184, allocations: 40 kB / 1.202 GB, free: 81.28 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/2.184, allocations: 16 kB / 1.202 GB, free: 81.26 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.719e-05/2.184, allocations: 23.92 kB / 1.202 GB, free: 81.24 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03291/2.217, allocations: 26.36 MB / 1.228 GB, free: 54.61 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/2.217, allocations: 12 kB / 1.228 GB, free: 54.6 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002645/2.219, allocations: 0.6358 MB / 1.228 GB, free: 53.97 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01018/2.23, allocations: 4.716 MB / 1.233 GB, free: 49.25 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003199/2.23, allocations: 27.98 kB / 1.233 GB, free: 49.22 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02429/2.254, allocations: 24.06 MB / 1.256 GB, free: 25.04 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/2.254, allocations: 11.94 kB / 1.256 GB, free: 25.02 MB / 0.6828 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02332/2.277, allocations: 21.71 MB / 1.277 GB, free: 2.734 MB / 0.6828 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1755/2.453, allocations: 29 MB / 1.306 GB, free: 231.5 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002833/2.456, allocations: 1.527 MB / 1.307 GB, free: 231.4 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009363/2.457, allocations: 19.81 kB / 1.307 GB, free: 231.4 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002795/2.46, allocations: 293.8 kB / 1.308 GB, free: 231.4 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005603/2.46, allocations: 229.2 kB / 1.308 GB, free: 231.4 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003304/2.46, allocations: 115 kB / 1.308 GB, free: 231.4 MB / 0.6828 GB Notification: Performance of sort global known variables: time 0.004117/2.465, allocations: 4.12 MB / 1.312 GB, free: 231.2 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.0059/2.471, allocations: 1.79 MB / 1.314 GB, free: 231.2 MB / 0.6828 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 10 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w,revolute[3].phi,revolute[3].w,revolute[4].phi,revolute[4].w,prismatic1.s,prismatic1.v) * Number of discrete variables: 3 ($whenCondition1,pulse1.T_start,pulse1.count) * Number of discrete states: 1 (pulse1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (312): * Single equations (assignments): 306 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(8,70.3%) 87} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005165/2.471, allocations: 193.9 kB / 1.314 GB, free: 231.1 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.01208/2.483, allocations: 12.2 MB / 1.326 GB, free: 230.8 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/2.483, allocations: 0 / 1.326 GB, free: 230.8 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.005727/2.489, allocations: 5.423 MB / 1.331 GB, free: 230.7 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002972/2.492, allocations: 0.8335 MB / 1.332 GB, free: 230.7 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02274/2.515, allocations: 18.62 MB / 1.35 GB, free: 228 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006449/2.521, allocations: 6.329 MB / 1.356 GB, free: 226.7 MB / 0.6828 GB Notification: Performance of SimCode: time 5.21e-07/2.521, allocations: 0 / 1.356 GB, free: 226.7 MB / 0.6828 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_4_fmu --startTime=0 --stopTime=2 --timeout=300 --tolerance=3e-08 ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_4.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.pipe 2>&1)