Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FlyingBodies.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.FlyingBodies,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FlyingBodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FlyingBodies,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FlyingBodies",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.001214/0.001214, allocations: 189 kB / 7.805 MB, free: 2.438 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.381/1.381, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0009349/0.0009351, allocations: 88.03 kB / 261.4 MB, free: 13.61 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.1924/0.1924, allocations: 43.48 MB / 352.8 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2546/0.447, allocations: 64.98 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.8132, allocations: 58.82 MB / 476.6 MB, free: 5.289 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1511/0.9644, allocations: 102 MB / 0.565 GB, free: 12.98 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003841/0.9648, allocations: 67.97 kB / 0.5651 GB, free: 12.92 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: 3305 * Number of variables: 3305 Notification: Performance of Generate backend data structure: time 0.8056/1.77, allocations: 201.1 MB / 0.7615 GB, free: 45.44 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.024e-05/1.771, allocations: 12 kB / 0.7615 GB, free: 45.43 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0461/1.817, allocations: 10.58 MB / 0.7718 GB, free: 34.82 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0312/1.848, allocations: 11.96 MB / 0.7835 GB, free: 22.77 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000748/1.849, allocations: 268 kB / 0.7838 GB, free: 22.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005856/1.855, allocations: 0.4958 MB / 0.7843 GB, free: 22.01 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02937/1.884, allocations: 15.64 MB / 0.7995 GB, free: 6.355 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05635/1.94, allocations: 20.51 MB / 0.8196 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007685/1.941, allocations: 75.36 kB / 0.8196 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005739/1.947, allocations: 36 kB / 0.8197 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.4032/2.35, allocations: 2.638 MB / 0.8222 GB, free: 128.4 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1261/2.476, allocations: 78.61 MB / 0.899 GB, free: 96.2 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01065/2.487, allocations: 7.375 MB / 0.9062 GB, free: 93.28 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009336/2.496, allocations: 6.819 MB / 0.9129 GB, free: 90.49 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04477/2.541, allocations: 21.4 MB / 0.9338 GB, free: 80.93 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001087/2.541, allocations: 81.69 kB / 0.9339 GB, free: 80.86 MB / 490.8 MB Notification: Performance of pre-optimization done (n=539): time 1.663e-05/2.541, allocations: 3.156 kB / 0.9339 GB, free: 80.86 MB / 490.8 MB Notification: Performance of matching and sorting (n=567): time 0.07616/2.618, allocations: 33.41 MB / 0.9665 GB, free: 55.49 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/2.618, allocations: 253.6 kB / 0.9667 GB, free: 55.2 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01324/2.631, allocations: 5.825 MB / 0.9724 GB, free: 50.11 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001392/2.633, allocations: 25.7 kB / 0.9724 GB, free: 50.07 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003905/2.636, allocations: 5.68 MB / 0.978 GB, free: 44.97 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00481/2.641, allocations: 2.057 MB / 0.98 GB, free: 43.11 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003927/2.645, allocations: 4 kB / 0.98 GB, free: 43.11 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.002186/2.647, allocations: 0.8792 MB / 0.9809 GB, free: 42.39 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01199/2.659, allocations: 6.364 MB / 0.9871 GB, free: 36.67 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01689/2.676, allocations: 13 MB / 0.9998 GB, free: 21.56 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0164/2.693, allocations: 9.224 MB / 1.009 GB, free: 13.81 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004319/2.693, allocations: 68 kB / 1.009 GB, free: 13.75 MB / 490.8 MB Notification: Performance of matching and sorting (n=1728) (initialization): time 0.3359/3.029, allocations: 20.8 MB / 1.029 GB, free: 109.6 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/3.029, allocations: 9.188 kB / 1.029 GB, free: 109.6 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02962/3.059, allocations: 13.02 MB / 1.042 GB, free: 109.4 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01389/3.073, allocations: 3.239 MB / 1.045 GB, free: 109.2 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01347/3.086, allocations: 2.938 MB / 1.048 GB, free: 109.2 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01173/3.098, allocations: 11.44 MB / 1.059 GB, free: 101.9 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01503/3.113, allocations: 0.6461 MB / 1.06 GB, free: 101.9 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004378/3.118, allocations: 0.7193 MB / 1.06 GB, free: 101.9 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1059 * Number of states: 0 () * Number of discrete variables: 48 (fixedFrame3.color_x[3],fixedFrame3.color_x[2],fixedFrame3.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_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],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1580): * Single equations (assignments): 1546 * Array equations: 20 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00657/3.124, allocations: 0.6942 MB / 1.061 GB, free: 101.8 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003562/3.128, allocations: 0.6454 MB / 1.062 GB, free: 101.8 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005166/3.133, allocations: 1.074 MB / 1.063 GB, free: 101.8 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03039/3.164, allocations: 12.35 MB / 1.075 GB, free: 101.5 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001307/3.164, allocations: 6.656 kB / 1.075 GB, free: 101.5 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002798/3.164, allocations: 24.61 kB / 1.075 GB, free: 101.5 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02996/3.194, allocations: 9.449 MB / 1.084 GB, free: 101.2 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.24e-05/3.194, allocations: 0 / 1.084 GB, free: 101.2 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006277/3.2, allocations: 0.9165 MB / 1.085 GB, free: 101.2 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01307/3.214, allocations: 3.246 MB / 1.088 GB, free: 101.1 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002117/3.216, allocations: 63.81 kB / 1.088 GB, free: 101.1 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01379/3.23, allocations: 12.94 MB / 1.101 GB, free: 92.93 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003413/3.233, allocations: 5.493 MB / 1.106 GB, free: 87.59 MB / 490.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04596/3.279, allocations: 20.85 MB / 1.127 GB, free: 80.73 MB / 490.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0547/3.334, allocations: 28.93 MB / 1.155 GB, free: 59.03 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002758/3.337, allocations: 0.6928 MB / 1.155 GB, free: 58.34 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003532/3.34, allocations: 39.27 kB / 1.156 GB, free: 58.3 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006857/3.347, allocations: 315 kB / 1.156 GB, free: 58.12 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001966/3.349, allocations: 238.2 kB / 1.156 GB, free: 58 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001605/3.351, allocations: 129.8 kB / 1.156 GB, free: 57.89 MB / 490.8 MB Notification: Performance of sort global known variables: time 0.01046/3.361, allocations: 3.91 MB / 1.16 GB, free: 54.51 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.02189/3.383, allocations: 2.324 MB / 1.162 GB, free: 52.2 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 48 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.frame_a.r_0[1],bodyCylinder.body.frame_a.r_0[2],bodyCylinder.body.frame_a.r_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.body.w_a[3],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],BodyBox1.v_0[1],BodyBox1.v_0[2],BodyBox1.v_0[3],BodyBox1.body.frame_a.r_0[1],BodyBox1.body.frame_a.r_0[2],BodyBox1.body.frame_a.r_0[3],BodyBox1.body.w_a[1],BodyBox1.body.w_a[2],BodyBox1.body.w_a[3],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.frame_a.r_0[1],bodyShape.body.frame_a.r_0[2],bodyShape.body.frame_a.r_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],$STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (435): * Single equations (assignments): 409 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002132/3.385, allocations: 206 kB / 1.162 GB, free: 52.05 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.02931/3.415, allocations: 16.48 MB / 1.179 GB, free: 37.41 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/3.415, allocations: 0 / 1.179 GB, free: 37.41 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01346/3.428, allocations: 7.607 MB / 1.186 GB, free: 30.41 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007452/3.436, allocations: 0.6171 MB / 1.187 GB, free: 29.88 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06173/3.497, allocations: 22.62 MB / 1.209 GB, free: 10.01 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02088/3.518, allocations: 7.513 MB / 1.216 GB, free: 4.172 MB / 490.8 MB Notification: Performance of SimCode: time 2.655e-06/3.518, allocations: 4 kB / 1.216 GB, free: 4.168 MB / 490.8 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FlyingBodies.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FlyingBodies_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FlyingBodies_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FlyingBodies.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe 2>&1)