Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_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.Strings.ScaledExperiments.StringModelica_N_8,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_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.000919/0.000919, allocations: 184.5 kB / 8.136 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.007/1.007, allocations: 221.4 MB / 229.9 MB, free: 3.359 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.0009018/0.0009015, allocations: 92.31 kB / 280.8 MB, free: 1.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5657/0.5657, allocations: 120.4 MB / 452 MB, free: 12.99 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.285/0.8507, allocations: 88.96 MB / 0.5283 GB, free: 52.38 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09528/0.946, allocations: 82.85 MB / 0.6092 GB, free: 3.465 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4129/1.359, allocations: 146.5 MB / 0.7523 GB, free: 15.81 MB / 0.5265 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001614/1.359, allocations: 69.78 kB / 0.7523 GB, free: 15.78 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: 3442 * Number of variables: 3442 Notification: Performance of Generate backend data structure: time 0.6757/2.035, allocations: 234.7 MB / 0.9815 GB, free: 136.5 MB / 0.6828 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/2.035, allocations: 10.84 kB / 0.9815 GB, free: 136.5 MB / 0.6828 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0757/2.111, allocations: 24.63 MB / 1.006 GB, free: 135.7 MB / 0.6828 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03649/2.147, allocations: 20.97 MB / 1.026 GB, free: 134.1 MB / 0.6828 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002775/2.147, allocations: 330.9 kB / 1.026 GB, free: 134.1 MB / 0.6828 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002493/2.15, allocations: 0.6371 MB / 1.027 GB, free: 134.1 MB / 0.6828 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02004/2.17, allocations: 17.7 MB / 1.044 GB, free: 134 MB / 0.6828 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02432/2.194, allocations: 24.42 MB / 1.068 GB, free: 129.5 MB / 0.6828 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003793/2.195, allocations: 174.7 kB / 1.068 GB, free: 129.4 MB / 0.6828 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001066/2.196, allocations: 48.91 kB / 1.068 GB, free: 129.4 MB / 0.6828 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003025/2.199, allocations: 2.545 MB / 1.071 GB, free: 129 MB / 0.6828 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09795/2.297, allocations: 112.5 MB / 1.181 GB, free: 33.1 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01185/2.309, allocations: 13.44 MB / 1.194 GB, free: 19.82 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008749/2.317, allocations: 11.35 MB / 1.205 GB, free: 8.457 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1826/2.5, allocations: 26.8 MB / 1.231 GB, free: 201.4 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008089/2.508, allocations: 10.02 MB / 1.241 GB, free: 201.2 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=586): time 7.023e-06/2.508, allocations: 0 / 1.241 GB, free: 201.2 MB / 0.6828 GB Notification: Performance of matching and sorting (n=804): time 0.1786/2.687, allocations: 108.4 MB / 1.347 GB, free: 175.3 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/2.687, allocations: 0.6669 MB / 1.347 GB, free: 174.5 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009267/2.696, allocations: 8.798 MB / 1.356 GB, free: 167.2 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.0008722/2.697, allocations: 27.45 kB / 1.356 GB, free: 167.1 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.003677/2.701, allocations: 5.889 MB / 1.362 GB, free: 162.2 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.00269/2.704, allocations: 2.803 MB / 1.364 GB, free: 159.6 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008118/2.704, allocations: 0 / 1.364 GB, free: 159.6 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0004634/2.705, allocations: 0.9012 MB / 1.365 GB, free: 158.9 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009745/2.715, allocations: 10.74 MB / 1.376 GB, free: 149.9 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01119/2.726, allocations: 16.5 MB / 1.392 GB, free: 132.9 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01231/2.738, allocations: 13.84 MB / 1.405 GB, free: 122 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.435e-05/2.738, allocations: 56 kB / 1.406 GB, free: 122 MB / 0.6828 GB Notification: Performance of matching and sorting (n=1699) (initialization): time 0.04871/2.787, allocations: 36.13 MB / 1.441 GB, free: 92.62 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/2.787, allocations: 4 kB / 1.441 GB, free: 92.61 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001201/2.787, allocations: 192 kB / 1.441 GB, free: 92.43 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02436/2.812, allocations: 11.74 MB / 1.452 GB, free: 80.73 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009465/2.821, allocations: 2.888 MB / 1.455 GB, free: 77.84 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2221/3.043, allocations: 56.49 MB / 1.51 GB, free: 180.9 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0104/3.054, allocations: 0.7822 MB / 1.511 GB, free: 180.9 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001198/3.055, allocations: 0.6861 MB / 1.512 GB, free: 180.9 MB / 0.6828 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 872 * Number of states: 0 () * Number of discrete variables: 98 ($whenCondition1,$PRE.pulse1.T_start,pulse1.T_start,$PRE.pulse1.count,pulse1.count,bodybox[9].color[3],bodybox[9].color[2],bodybox[9].color[1],bodybox[9].body.sphereColor[3],bodybox[9].body.sphereColor[2],bodybox[9].body.sphereColor[1],bodybox[8].color[3],bodybox[8].color[2],bodybox[8].color[1],bodybox[8].body.sphereColor[3],bodybox[8].body.sphereColor[2],bodybox[8].body.sphereColor[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],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[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.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 (1457): * Single equations (assignments): 1452 * 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 {(25,52.0%) 193} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001912/3.057, allocations: 0.6631 MB / 1.513 GB, free: 180.8 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001324/3.058, allocations: 0.9391 MB / 1.513 GB, free: 180.8 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04286/3.101, allocations: 30.88 MB / 1.544 GB, free: 180.4 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-05/3.101, allocations: 80.38 kB / 1.544 GB, free: 180.4 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.074e-05/3.101, allocations: 39.16 kB / 1.544 GB, free: 180.4 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.308e-05/3.101, allocations: 39.94 kB / 1.544 GB, free: 180.4 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07381/3.175, allocations: 58.21 MB / 1.601 GB, free: 170.6 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-05/3.175, allocations: 11.41 kB / 1.601 GB, free: 170.6 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005422/3.18, allocations: 1.202 MB / 1.602 GB, free: 170.6 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0247/3.205, allocations: 11.27 MB / 1.613 GB, free: 169 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008364/3.206, allocations: 38.05 kB / 1.613 GB, free: 169 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05668/3.263, allocations: 53.66 MB / 1.665 GB, free: 129.7 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.838e-06/3.263, allocations: 16.41 kB / 1.665 GB, free: 129.7 MB / 0.6828 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05439/3.317, allocations: 48.37 MB / 1.712 GB, free: 85.14 MB / 0.6828 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2313/3.548, allocations: 64.87 MB / 1.776 GB, free: 177.4 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006347/3.555, allocations: 3.056 MB / 1.779 GB, free: 177.3 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001834/3.557, allocations: 40.53 kB / 1.779 GB, free: 177.3 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005502/3.562, allocations: 0.5981 MB / 1.779 GB, free: 177.3 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001189/3.563, allocations: 410.8 kB / 1.78 GB, free: 177.3 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007505/3.564, allocations: 207 kB / 1.78 GB, free: 177.3 MB / 0.6828 GB Notification: Performance of sort global known variables: time 0.006821/3.571, allocations: 6.435 MB / 1.786 GB, free: 177.1 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.009623/3.581, allocations: 3.291 MB / 1.79 GB, free: 177.1 MB / 0.6828 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 18 (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,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 (582): * Single equations (assignments): 576 * 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 {(20,60.0%) 195} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009312/3.582, allocations: 220.8 kB / 1.79 GB, free: 177 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.02623/3.608, allocations: 25.59 MB / 1.815 GB, free: 176.6 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/3.608, allocations: 3.281 kB / 1.815 GB, free: 176.6 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.01371/3.622, allocations: 12.44 MB / 1.827 GB, free: 176.3 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00587/3.627, allocations: 1.393 MB / 1.828 GB, free: 176.2 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04584/3.673, allocations: 35.52 MB / 1.863 GB, free: 170.8 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01266/3.686, allocations: 10.04 MB / 1.873 GB, free: 168.5 MB / 0.6828 GB Notification: Performance of SimCode: time 5.52e-07/3.686, allocations: 0 / 1.873 GB, free: 168.5 MB / 0.6828 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_8_fmu --startTime=0 --stopTime=2 --timeout=300 --tolerance=3e-08 ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_8.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.pipe 2>&1)