Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32: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 3.2.3+maint.om/package.mo): time 0.001144/0.001145, allocations: 185.4 kB / 7.807 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008123/0.0008124, allocations: 90.2 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.189/0.189, allocations: 43.49 MB / 352.9 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.241/0.43, allocations: 64.96 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.7957, allocations: 58.84 MB / 476.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1586/0.9544, allocations: 106.2 MB / 0.5692 GB, free: 8.637 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/0.9547, allocations: 83.45 kB / 0.5693 GB, free: 8.559 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1526 * Number of variables: 1526 Notification: Performance of Generate backend data structure: time 0.4878/1.442, allocations: 85.17 MB / 0.6525 GB, free: 104.9 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/1.443, allocations: 11.25 kB / 0.6525 GB, free: 104.9 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009873/1.452, allocations: 1.971 MB / 0.6544 GB, free: 104.6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01371/1.466, allocations: 5.296 MB / 0.6596 GB, free: 104 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002895/1.466, allocations: 139.6 kB / 0.6597 GB, free: 104 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002122/1.469, allocations: 254 kB / 0.6599 GB, free: 104 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0122/1.481, allocations: 6.346 MB / 0.6661 GB, free: 104 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02182/1.503, allocations: 9.64 MB / 0.6756 GB, free: 101.1 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003157/1.503, allocations: 69.14 kB / 0.6756 GB, free: 101.1 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001843/1.505, allocations: 29.62 kB / 0.6757 GB, free: 101.1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001611/1.507, allocations: 1.088 MB / 0.6767 GB, free: 101 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05369/1.56, allocations: 48.87 MB / 0.7244 GB, free: 63.54 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003739/1.564, allocations: 2.543 MB / 0.7269 GB, free: 62.12 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002294/1.566, allocations: 1.661 MB / 0.7285 GB, free: 61.41 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0109/1.577, allocations: 5.932 MB / 0.7343 GB, free: 57.99 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/1.577, allocations: 53.28 kB / 0.7344 GB, free: 57.93 MB / 474.7 MB Notification: Performance of pre-optimization done (n=153): time 4.538e-06/1.577, allocations: 1.625 kB / 0.7344 GB, free: 57.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=170): time 0.02896/1.606, allocations: 12.38 MB / 0.7465 GB, free: 49.88 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/1.606, allocations: 153.1 kB / 0.7466 GB, free: 49.71 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005802/1.612, allocations: 3.133 MB / 0.7497 GB, free: 46.96 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003086/1.613, allocations: 25.7 kB / 0.7497 GB, free: 46.93 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001604/1.614, allocations: 3.024 MB / 0.7527 GB, free: 44.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000824/1.615, allocations: 0.6644 MB / 0.7533 GB, free: 43.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005576/1.616, allocations: 0 / 0.7533 GB, free: 43.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004056/1.616, allocations: 0.5742 MB / 0.7539 GB, free: 43.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002423/1.618, allocations: 1.983 MB / 0.7558 GB, free: 41.32 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003678/1.622, allocations: 5.919 MB / 0.7616 GB, free: 33.73 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004469/1.627, allocations: 3.424 MB / 0.7649 GB, free: 30.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.306e-05/1.627, allocations: 40 kB / 0.765 GB, free: 30.76 MB / 474.7 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.0145/1.641, allocations: 7.689 MB / 0.7725 GB, free: 24.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/1.641, allocations: 8.25 kB / 0.7725 GB, free: 24.09 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005682/1.647, allocations: 2.543 MB / 0.775 GB, free: 21.99 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003987/1.651, allocations: 1.069 MB / 0.776 GB, free: 21.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005303/1.656, allocations: 1.442 MB / 0.7774 GB, free: 19.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005085/1.661, allocations: 4.439 MB / 0.7818 GB, free: 15.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005689/1.667, allocations: 232.6 kB / 0.782 GB, free: 15.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001328/1.669, allocations: 396 kB / 0.7823 GB, free: 14.84 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 646 * Number of states: 0 () * Number of discrete variables: 39 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (792): * Single equations (assignments): 783 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001763/1.67, allocations: 450.8 kB / 0.7828 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008584/1.671, allocations: 323.8 kB / 0.7831 GB, free: 14.07 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005704/1.677, allocations: 2.91 MB / 0.7859 GB, free: 11.15 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004083/1.681, allocations: 2.45 MB / 0.7883 GB, free: 8.68 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.132e-05/1.681, allocations: 4 kB / 0.7883 GB, free: 8.676 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-05/1.681, allocations: 7.969 kB / 0.7883 GB, free: 8.668 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01744/1.699, allocations: 8.749 MB / 0.7969 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-05/1.699, allocations: 4.469 kB / 0.7969 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001386/1.7, allocations: 259.6 kB / 0.7971 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003086/1.703, allocations: 0.9397 MB / 0.798 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002226/1.703, allocations: 23.53 kB / 0.7981 GB, free: 14.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005399/1.709, allocations: 4.617 MB / 0.8026 GB, free: 9.727 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000917/1.71, allocations: 1.362 MB / 0.8039 GB, free: 8.242 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008752/1.718, allocations: 5.769 MB / 0.8095 GB, free: 2.305 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01128/1.73, allocations: 7.834 MB / 0.8172 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001423/1.731, allocations: 376.7 kB / 0.8176 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001083/1.732, allocations: 19.91 kB / 0.8176 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002254/1.735, allocations: 71.89 kB / 0.8176 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003151/1.735, allocations: 88.72 kB / 0.8177 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001824/1.735, allocations: 51.98 kB / 0.8178 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.006694/1.742, allocations: 2.086 MB / 0.8198 GB, free: 7.605 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009274/1.751, allocations: 0.9218 MB / 0.8207 GB, free: 6.684 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 130 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001021/1.752, allocations: 164.2 kB / 0.8209 GB, free: 6.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01225/1.765, allocations: 5.318 MB / 0.8261 GB, free: 1.172 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/1.765, allocations: 0 / 0.8261 GB, free: 1.172 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.2157/1.98, allocations: 2.005 MB / 0.828 GB, free: 178.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002699/1.983, allocations: 354.9 kB / 0.8284 GB, free: 178 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01862/2.002, allocations: 8.047 MB / 0.8362 GB, free: 176.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005013/2.007, allocations: 3.659 MB / 0.8398 GB, free: 175.6 MB / 0.4948 GB Notification: Performance of SimCode: time 2.054e-06/2.007, allocations: 0 / 0.8398 GB, free: 175.6 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_BodyShape_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_BodyShape.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1)