Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_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.Strings.ScaledExperiments.StringModelica_N_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_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.0009261/0.0009261, allocations: 180.8 kB / 8.128 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 0.9846/0.9846, allocations: 221.4 MB / 229.9 MB, free: 3.117 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.0008219/0.0008219, allocations: 103.5 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5549/0.5549, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2794/0.8344, allocations: 88.96 MB / 0.5283 GB, free: 49.41 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09347/0.9279, allocations: 82.85 MB / 0.6092 GB, free: 0.4961 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4078/1.336, allocations: 146.5 MB / 0.7522 GB, free: 13.12 MB / 0.5265 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001586/1.336, allocations: 70.53 kB / 0.7523 GB, free: 13.09 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: 1606 * Number of variables: 1606 Notification: Performance of Generate backend data structure: time 0.2407/1.577, allocations: 108.6 MB / 0.8584 GB, free: 128 kB / 0.6046 GB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/1.577, allocations: 8 kB / 0.8584 GB, free: 120 kB / 0.6046 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03038/1.607, allocations: 9.091 MB / 0.8673 GB, free: 7.961 MB / 0.6203 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01542/1.623, allocations: 8.362 MB / 0.8754 GB, free: 1.137 MB / 0.6203 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001667/1.623, allocations: 148 kB / 0.8756 GB, free: 0.9922 MB / 0.6203 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001115/1.624, allocations: 279.7 kB / 0.8758 GB, free: 0.7227 MB / 0.6203 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009204/1.633, allocations: 7.453 MB / 0.8831 GB, free: 11.5 MB / 0.6359 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01216/1.645, allocations: 10.94 MB / 0.8938 GB, free: 2.027 MB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001729/1.645, allocations: 75.31 kB / 0.8939 GB, free: 1.953 MB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005417/1.646, allocations: 28 kB / 0.8939 GB, free: 1.926 MB / 0.6359 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001186/1.647, allocations: 1.184 MB / 0.895 GB, free: 0.9023 MB / 0.6359 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04277/1.69, allocations: 51.93 MB / 0.9458 GB, free: 2.418 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1992/1.889, allocations: 4.279 MB / 0.9499 GB, free: 130.7 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002504/1.892, allocations: 3.033 MB / 0.9529 GB, free: 130.7 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00922/1.901, allocations: 8.418 MB / 0.9611 GB, free: 128.8 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002322/1.903, allocations: 2.761 MB / 0.9638 GB, free: 128.7 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=202): time 3.437e-06/1.903, allocations: 0 / 0.9638 GB, free: 128.7 MB / 0.6828 GB Notification: Performance of matching and sorting (n=248): time 0.03664/1.94, allocations: 24.68 MB / 0.9879 GB, free: 125.8 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/1.94, allocations: 310.1 kB / 0.9882 GB, free: 125.4 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003941/1.944, allocations: 4.169 MB / 0.9923 GB, free: 125.1 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.0001606/1.944, allocations: 25.7 kB / 0.9923 GB, free: 125 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.001492/1.946, allocations: 3.151 MB / 0.9954 GB, free: 123.5 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005489/1.946, allocations: 0.9142 MB / 0.9963 GB, free: 122.9 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/1.946, allocations: 3.609 kB / 0.9963 GB, free: 122.9 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0002202/1.947, allocations: 0.5872 MB / 0.9969 GB, free: 122.6 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002574/1.949, allocations: 2.874 MB / 0.9997 GB, free: 122.6 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003532/1.953, allocations: 6.537 MB / 1.006 GB, free: 117.9 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00373/1.956, allocations: 4.431 MB / 1.01 GB, free: 117.9 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.538e-05/1.957, allocations: 36.44 kB / 1.01 GB, free: 117.9 MB / 0.6828 GB Notification: Performance of matching and sorting (n=843) (initialization): time 0.01185/1.968, allocations: 10.18 MB / 1.02 GB, free: 117.3 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/1.968, allocations: 7.641 kB / 1.02 GB, free: 117.3 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.457e-05/1.968, allocations: 126.7 kB / 1.02 GB, free: 117.3 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003672/1.972, allocations: 1.862 MB / 1.022 GB, free: 117.2 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003655/1.976, allocations: 1.48 MB / 1.024 GB, free: 117.1 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/1.986, allocations: 10.21 MB / 1.034 GB, free: 115.7 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003636/1.99, allocations: 264 kB / 1.034 GB, free: 115.6 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004112/1.99, allocations: 379 kB / 1.034 GB, free: 115.6 MB / 0.6828 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 584 * Number of states: 0 () * Number of discrete variables: 44 ($whenCondition1,$PRE.pulse1.T_start,pulse1.T_start,$PRE.pulse1.count,pulse1.count,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[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 (781): * Single equations (assignments): 776 * 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 {(3,88.9%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006074/1.991, allocations: 447.3 kB / 1.035 GB, free: 115.3 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000379/1.991, allocations: 416.4 kB / 1.035 GB, free: 115.1 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007759/1.999, allocations: 5.861 MB / 1.041 GB, free: 115 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.3e-05/1.999, allocations: 25.02 kB / 1.041 GB, free: 115 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/1.999, allocations: 8.656 kB / 1.041 GB, free: 115 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.625e-05/1.999, allocations: 10.55 kB / 1.041 GB, free: 115 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01656/2.015, allocations: 12.77 MB / 1.053 GB, free: 113.7 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/2.015, allocations: 18.34 kB / 1.053 GB, free: 113.7 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/2.017, allocations: 393.5 kB / 1.054 GB, free: 113.6 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003781/2.021, allocations: 1.64 MB / 1.055 GB, free: 113.6 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001708/2.021, allocations: 14.84 kB / 1.055 GB, free: 113.6 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00955/2.031, allocations: 9.226 MB / 1.064 GB, free: 112.3 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/2.031, allocations: 17.84 kB / 1.064 GB, free: 112.3 MB / 0.6828 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01037/2.041, allocations: 10.45 MB / 1.075 GB, free: 106.5 MB / 0.6828 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01267/2.054, allocations: 14.08 MB / 1.088 GB, free: 97.26 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001496/2.055, allocations: 0.8906 MB / 1.089 GB, free: 96.54 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005491/2.056, allocations: 13.73 kB / 1.089 GB, free: 96.52 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/2.057, allocations: 137.7 kB / 1.089 GB, free: 96.44 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002967/2.058, allocations: 146.1 kB / 1.09 GB, free: 96.37 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001673/2.058, allocations: 74.28 kB / 1.09 GB, free: 96.31 MB / 0.6828 GB Notification: Performance of sort global known variables: time 0.003089/2.061, allocations: 2.954 MB / 1.092 GB, free: 94.56 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.004413/2.065, allocations: 1.11 MB / 1.094 GB, free: 93.46 MB / 0.6828 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].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 (194): * Single equations (assignments): 188 * 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 {(2,100.0%) 33} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003552/2.066, allocations: 173.1 kB / 1.094 GB, free: 93.3 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.00614/2.072, allocations: 6.66 MB / 1.1 GB, free: 89.05 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/2.072, allocations: 4 kB / 1.1 GB, free: 89.04 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.002573/2.074, allocations: 2.537 MB / 1.103 GB, free: 87.52 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/2.076, allocations: 0.5435 MB / 1.103 GB, free: 87.24 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01408/2.09, allocations: 11.36 MB / 1.114 GB, free: 78.5 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004059/2.094, allocations: 4.553 MB / 1.119 GB, free: 74.53 MB / 0.6828 GB Notification: Performance of SimCode: time 6.31e-07/2.095, allocations: 0 / 1.119 GB, free: 74.53 MB / 0.6828 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_2_fmu --startTime=0 --stopTime=2 --timeout=300 --tolerance=3e-08 ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_2.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2.pipe 2>&1)