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.001651/0.001651, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001848/0.001848, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.2465/0.2465, allocations: 46.11 MB / 344.2 MB, free: 11.57 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.002265/0.002265, allocations: 83.91 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1397, allocations: 62.45 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.01316/0.1529, allocations: 10.95 MB / 491.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01053/0.1635, allocations: 4.081 MB / 495.2 MB, free: 6.051 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003482/0.1671, allocations: 67.81 kB / 495.3 MB, free: 5.984 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006559/0.1737, allocations: 2.558 MB / 497.9 MB, free: 3.418 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006515/0.1803, allocations: 1.766 MB / 499.6 MB, free: 1.648 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002392/0.1827, allocations: 0.7369 MB / 0.4886 GB, free: 0.9102 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006871/0.1896, allocations: 4.21 MB / 0.4928 GB, free: 12.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004948/0.1946, allocations: 3.347 MB / 0.496 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003199/0.1978, allocations: 1.487 MB / 0.4975 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003566/0.2014, allocations: 1.939 MB / 0.4994 GB, free: 5.848 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001093/0.2025, allocations: 319.9 kB / 0.4997 GB, free: 5.535 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002952/0.2055, allocations: 1.217 MB / 0.5009 GB, free: 4.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002121/0.2076, allocations: 1.866 MB / 0.5027 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002615/0.2102, allocations: 2.14 MB / 0.5048 GB, free: 300 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2968/0.507, allocations: 6.543 MB / 0.5112 GB, free: 18.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.5071, allocations: 0 / 0.5112 GB, free: 18.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.5071, allocations: 0 / 0.5112 GB, free: 18.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003387/0.5075, allocations: 0 / 0.5112 GB, free: 18.38 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.01745/0.5249, allocations: 4.628 MB / 0.5157 GB, free: 16.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.525, allocations: 9.188 kB / 0.5157 GB, free: 16.54 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002419/0.5274, allocations: 0.6965 MB / 0.5164 GB, free: 16.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008624/0.536, allocations: 1.976 MB / 0.5183 GB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007789/0.5439, allocations: 2.746 MB / 0.521 GB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003452/0.5443, allocations: 241.5 kB / 0.5212 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002408/0.5467, allocations: 403.7 kB / 0.5216 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.024/0.5707, allocations: 9.71 MB / 0.5311 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001495/0.5709, allocations: 45.86 kB / 0.5311 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005614/0.5715, allocations: 152.9 kB / 0.5313 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002396/0.5739, allocations: 1.751 MB / 0.533 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01576/0.5897, allocations: 8.189 MB / 0.541 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06309/0.6528, allocations: 38.41 MB / 0.5785 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01085/0.6637, allocations: 3.756 MB / 0.5822 GB, free: 12.08 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002604/0.6663, allocations: 1.578 MB / 0.5837 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01366/0.68, allocations: 7.788 MB / 0.5913 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.375e-05/0.6801, allocations: 51.31 kB / 0.5913 GB, free: 2.332 MB / 430.1 MB Notification: Performance of pre-optimization done (n=144): time 4.138e-06/0.6801, allocations: 0 / 0.5913 GB, free: 2.332 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.04684/0.727, allocations: 14.24 MB / 0.6053 GB, free: 3.973 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001859/0.7289, allocations: 1.681 MB / 0.6069 GB, free: 2.125 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009729/0.7386, allocations: 3.826 MB / 0.6106 GB, free: 14.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005857/0.7392, allocations: 49.69 kB / 0.6107 GB, free: 14.26 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003704/0.743, allocations: 3.042 MB / 0.6137 GB, free: 11.24 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001369/0.7444, allocations: 0.6481 MB / 0.6143 GB, free: 10.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004039/0.7484, allocations: 1.201 MB / 0.6155 GB, free: 9.387 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.7486, allocations: 301.1 kB / 0.6157 GB, free: 9.09 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004302/0.7529, allocations: 1.998 MB / 0.6177 GB, free: 7.09 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008816/0.7618, allocations: 5.687 MB / 0.6233 GB, free: 15.62 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01284/0.7747, allocations: 8.306 MB / 0.6314 GB, free: 6.004 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001128/0.7748, allocations: 40 kB / 0.6314 GB, free: 5.965 MB / 478.1 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.0212/0.796, allocations: 8.272 MB / 0.6395 GB, free: 13.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001723/0.7962, allocations: 60 kB / 0.6395 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006823/0.8031, allocations: 2.578 MB / 0.6421 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00439/0.8075, allocations: 1.174 MB / 0.6432 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006086/0.8136, allocations: 1.365 MB / 0.6445 GB, free: 8.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00888/0.8225, allocations: 4.94 MB / 0.6494 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005516/0.8281, allocations: 387.3 kB / 0.6497 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001376/0.8295, allocations: 368 kB / 0.6501 GB, free: 2.711 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.005248/0.8348, allocations: 2.017 MB / 0.652 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009259/0.8357, allocations: 331.7 kB / 0.6524 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/0.8373, allocations: 460.7 kB / 0.6528 GB, free: 0 / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005994/0.8433, allocations: 2.523 MB / 0.6553 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/0.8433, allocations: 4 kB / 0.6553 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-05/0.8434, allocations: 10.59 kB / 0.6553 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02099/0.8644, allocations: 9.284 MB / 0.6643 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.23e-05/0.8644, allocations: 4 kB / 0.6643 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002021/0.8665, allocations: 259.6 kB / 0.6646 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005306/0.8718, allocations: 1.069 MB / 0.6656 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003773/0.8722, allocations: 47.97 kB / 0.6657 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008056/0.8803, allocations: 5.117 MB / 0.6707 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001705/0.882, allocations: 1.536 MB / 0.6722 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01071/0.8927, allocations: 5.365 MB / 0.6774 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001484/0.8942, allocations: 384.6 kB / 0.6778 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001193/0.8955, allocations: 43.98 kB / 0.6778 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002138/0.8976, allocations: 131.8 kB / 0.678 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003773/0.898, allocations: 108.7 kB / 0.6781 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001743/0.8982, allocations: 54.27 kB / 0.6781 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005402/0.9036, allocations: 2.362 MB / 0.6804 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.928e-06/0.9036, allocations: 0 / 0.6804 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005844/0.9095, allocations: 0.9843 MB / 0.6814 GB, free: 2.055 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.009931/0.9195, allocations: 5.895 MB / 0.6871 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01221/0.9317, allocations: 5.987 MB / 0.693 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.621e-05/0.9318, allocations: 4 kB / 0.693 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004629/0.9364, allocations: 2.079 MB / 0.695 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003941/0.9404, allocations: 461.3 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.3587/1.299, 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.002869/1.302, allocations: 3.143 MB / 0.747 GB, free: 176.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004089/1.306, allocations: 1.847 MB / 0.7488 GB, free: 176.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001802/1.308, allocations: 1.783 MB / 0.7506 GB, free: 174.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.192e-06/1.308, allocations: 0 / 0.7506 GB, free: 174.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1428/1.451, allocations: 69.39 MB / 0.8183 GB, free: 106.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.11/15.56, 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShape_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_BodyShape_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_BodyShape.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1)