Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001367/0.001367, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2429/0.2429, allocations: 46.12 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003288/0.003288, allocations: 87.66 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1499, allocations: 62.44 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.01545/0.1654, allocations: 10.96 MB / 491.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0102/0.1756, allocations: 4.073 MB / 495.2 MB, free: 6.023 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002265/0.1779, allocations: 71.75 kB / 495.3 MB, free: 5.953 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005434/0.1834, allocations: 2.562 MB / 497.9 MB, free: 3.383 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005435/0.1889, allocations: 1.766 MB / 499.6 MB, free: 1.613 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001971/0.1909, allocations: 0.737 MB / 0.4886 GB, free: 0.875 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006605/0.1975, allocations: 4.214 MB / 0.4928 GB, free: 12.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006207/0.2038, allocations: 3.344 MB / 0.496 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004009/0.2078, allocations: 1.484 MB / 0.4975 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003722/0.2116, allocations: 1.947 MB / 0.4994 GB, free: 5.809 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001454/0.2131, allocations: 312 kB / 0.4997 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003323/0.2164, allocations: 1.217 MB / 0.5009 GB, free: 4.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002534/0.219, allocations: 1.862 MB / 0.5027 GB, free: 2.418 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00307/0.2221, allocations: 2.144 MB / 0.5048 GB, free: 268 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2936/0.5156, allocations: 6.547 MB / 0.5112 GB, free: 18.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.5157, allocations: 0 / 0.5112 GB, free: 18.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5157, allocations: 0 / 0.5112 GB, free: 18.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003075/0.516, allocations: 1.188 kB / 0.5112 GB, free: 18.36 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1449 * Number of variables: 1449 Notification: Performance of Generate backend data structure: time 0.01552/0.5315, allocations: 4.622 MB / 0.5157 GB, free: 16.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.173e-05/0.5316, allocations: 9.031 kB / 0.5157 GB, free: 16.51 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002362/0.534, allocations: 0.6992 MB / 0.5164 GB, free: 16.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008841/0.5428, allocations: 1.968 MB / 0.5183 GB, free: 16.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007696/0.5506, allocations: 2.751 MB / 0.521 GB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003428/0.551, allocations: 236.5 kB / 0.5212 GB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002157/0.5531, allocations: 413.6 kB / 0.5216 GB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02517/0.5783, allocations: 9.709 MB / 0.5311 GB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003727/0.5787, allocations: 43.78 kB / 0.5311 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002352/0.5811, allocations: 152.2 kB / 0.5313 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003373/0.5845, allocations: 1.76 MB / 0.533 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02025/0.6048, allocations: 8.173 MB / 0.541 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06076/0.6656, allocations: 38.43 MB / 0.5785 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01176/0.6774, allocations: 3.757 MB / 0.5822 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002902/0.6803, allocations: 1.571 MB / 0.5837 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0156/0.696, allocations: 7.777 MB / 0.5913 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.864e-05/0.6961, allocations: 55.03 kB / 0.5913 GB, free: 2.305 MB / 430.1 MB Notification: Performance of pre-optimization done (n=144): time 5.661e-06/0.6961, allocations: 0 / 0.5913 GB, free: 2.305 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.04732/0.7434, allocations: 14.25 MB / 0.6053 GB, free: 3.938 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001765/0.7452, allocations: 1.68 MB / 0.6069 GB, free: 2.086 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009462/0.7547, allocations: 3.826 MB / 0.6106 GB, free: 14.28 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000694/0.7554, allocations: 45.7 kB / 0.6107 GB, free: 14.23 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003451/0.7589, allocations: 3.038 MB / 0.6136 GB, free: 11.21 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001405/0.7603, allocations: 0.6497 MB / 0.6143 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002232/0.7626, allocations: 1.2 MB / 0.6155 GB, free: 9.355 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.7627, allocations: 301.1 kB / 0.6157 GB, free: 9.059 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003661/0.7664, allocations: 1.995 MB / 0.6177 GB, free: 7.059 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007029/0.7735, allocations: 5.69 MB / 0.6232 GB, free: 15.58 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01304/0.7865, allocations: 8.299 MB / 0.6314 GB, free: 5.98 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001484/0.7867, allocations: 40 kB / 0.6314 GB, free: 5.941 MB / 478.1 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01972/0.8064, allocations: 8.273 MB / 0.6395 GB, free: 13.89 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002168/0.8067, allocations: 64.03 kB / 0.6395 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006735/0.8135, allocations: 2.577 MB / 0.642 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004062/0.8176, allocations: 1.174 MB / 0.6432 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005039/0.8226, allocations: 1.357 MB / 0.6445 GB, free: 8.688 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007112/0.8298, allocations: 4.949 MB / 0.6494 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007912/0.8378, allocations: 387.3 kB / 0.6497 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001993/0.8399, allocations: 372 kB / 0.6501 GB, free: 2.707 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 598 * Number of states: 0 () * Number of discrete variables: 41 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (734): * Single equations (assignments): 725 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006149/0.846, allocations: 2.012 MB / 0.652 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001075/0.8471, allocations: 331.7 kB / 0.6524 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/0.8489, allocations: 465.7 kB / 0.6528 GB, free: 0 / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006092/0.855, allocations: 2.519 MB / 0.6553 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.277e-05/0.8551, allocations: 4 kB / 0.6553 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.044e-05/0.8551, allocations: 10.59 kB / 0.6553 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0233/0.8784, allocations: 9.286 MB / 0.6643 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-05/0.8785, allocations: 8.219 kB / 0.6644 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/0.8799, allocations: 263.6 kB / 0.6646 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003601/0.8835, allocations: 1.064 MB / 0.6656 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003164/0.8838, allocations: 47.97 kB / 0.6657 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006724/0.8906, allocations: 5.116 MB / 0.6707 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00138/0.892, allocations: 1.541 MB / 0.6722 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01108/0.9031, allocations: 5.369 MB / 0.6774 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001457/0.9046, allocations: 388.6 kB / 0.6778 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00109/0.9057, allocations: 32 kB / 0.6778 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002141/0.9078, allocations: 127.8 kB / 0.678 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004001/0.9083, allocations: 108.7 kB / 0.6781 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001889/0.9085, allocations: 59.92 kB / 0.6781 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006204/0.9147, allocations: 2.366 MB / 0.6804 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9147, allocations: 0 / 0.6804 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008144/0.9229, allocations: 0.9727 MB / 0.6814 GB, free: 2.062 MB / 0.5137 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01152/0.9344, allocations: 5.894 MB / 0.6871 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01341/0.9479, allocations: 5.976 MB / 0.693 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-05/0.9479, allocations: 10.62 kB / 0.693 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004922/0.9529, allocations: 2.089 MB / 0.695 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004704/0.9576, allocations: 458.9 kB / 0.6955 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3159/1.274, allocations: 49.66 MB / 0.744 GB, free: 178.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003807/1.277, allocations: 3.137 MB / 0.747 GB, free: 176.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004182/1.282, allocations: 1.85 MB / 0.7488 GB, free: 176.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002312/1.284, allocations: 1.783 MB / 0.7506 GB, free: 174.6 MB / 0.545 GB Notification: Performance of SimCode: time 8.82e-07/1.284, allocations: 4 kB / 0.7506 GB, free: 174.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.142/1.426, allocations: 69.37 MB / 0.8183 GB, free: 106.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.38/15.8, allocations: 3.938 kB / 0.8183 GB, free: 106.6 MB / 0.545 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShape.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShape_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_BodyShape.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1)