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.002105/0.002105, allocations: 121.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00298/0.002981, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 247 MB, free: 10.46 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.2303/0.2303, allocations: 46.12 MB / 344.4 MB, free: 11.47 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.002214/0.002214, allocations: 83.84 kB / 480.9 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3369, allocations: 62.45 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.01298/0.3499, allocations: 10.95 MB / 0.5413 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008725/0.3586, allocations: 4.074 MB / 0.5453 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00221/0.3609, allocations: 70.5 kB / 0.5453 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005239/0.3662, allocations: 2.566 MB / 0.5478 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005365/0.3716, allocations: 1.769 MB / 0.5496 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00202/0.3736, allocations: 0.7291 MB / 0.5503 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007494/0.3811, allocations: 4.219 MB / 0.5544 GB, free: 9.316 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005366/0.3865, allocations: 3.346 MB / 0.5577 GB, free: 5.914 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003236/0.3898, allocations: 1.491 MB / 0.5591 GB, free: 4.418 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003439/0.3933, allocations: 1.943 MB / 0.561 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001162/0.3945, allocations: 312 kB / 0.5613 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002955/0.3974, allocations: 1.225 MB / 0.5625 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002381/0.3998, allocations: 1.862 MB / 0.5643 GB, free: 15.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003591/0.4034, allocations: 2.136 MB / 0.5664 GB, free: 12.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01032/0.4138, allocations: 6.798 MB / 0.5731 GB, free: 6.098 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.4138, allocations: 0 / 0.5731 GB, free: 6.098 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.4138, allocations: 0 / 0.5731 GB, free: 6.098 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002596/0.4141, allocations: 0 / 0.5731 GB, free: 6.098 MB / 430.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.01227/0.4264, allocations: 4.748 MB / 0.5777 GB, free: 1.277 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.4265, allocations: 12.03 kB / 0.5777 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001395/0.4279, allocations: 0.6946 MB / 0.5784 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007568/0.4354, allocations: 1.999 MB / 0.5803 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005898/0.4414, allocations: 2.812 MB / 0.5831 GB, free: 11.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/0.4416, allocations: 238 kB / 0.5833 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00129/0.4429, allocations: 403.6 kB / 0.5837 GB, free: 11.06 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01857/0.4615, allocations: 9.706 MB / 0.5932 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001331/0.4617, allocations: 51.52 kB / 0.5932 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000478/0.4622, allocations: 151.9 kB / 0.5934 GB, free: 484 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002851/0.465, allocations: 1.755 MB / 0.5951 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01685/0.4819, allocations: 8.176 MB / 0.6031 GB, free: 6.512 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05345/0.5354, allocations: 38.34 MB / 0.6405 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009911/0.5454, allocations: 3.751 MB / 0.6442 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002362/0.5478, allocations: 1.569 MB / 0.6457 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01169/0.5595, allocations: 7.805 MB / 0.6533 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.837e-05/0.5596, allocations: 47.56 kB / 0.6534 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=144): time 4.799e-06/0.5596, allocations: 0 / 0.6534 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of matching and sorting (n=160): time 0.0397/0.5993, allocations: 14.47 MB / 0.6675 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001658/0.601, allocations: 1.681 MB / 0.6691 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006023/0.6071, allocations: 3.84 MB / 0.6729 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004/0.6075, allocations: 53.64 kB / 0.6729 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00279/0.6103, allocations: 3.158 MB / 0.676 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001042/0.6114, allocations: 0.6707 MB / 0.6767 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001877/0.6132, allocations: 1.21 MB / 0.6779 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.6134, allocations: 301.1 kB / 0.6782 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003319/0.6167, allocations: 1.995 MB / 0.6801 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006929/0.6237, allocations: 5.69 MB / 0.6857 GB, free: 13.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01146/0.6352, allocations: 8.295 MB / 0.6938 GB, free: 3.793 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001233/0.6353, allocations: 40 kB / 0.6938 GB, free: 3.754 MB / 0.545 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01918/0.6545, allocations: 8.287 MB / 0.7019 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001623/0.6547, allocations: 60 kB / 0.7019 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006029/0.6608, allocations: 2.578 MB / 0.7045 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003913/0.6647, allocations: 1.178 MB / 0.7056 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004422/0.6692, allocations: 1.361 MB / 0.7069 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006174/0.6754, allocations: 4.95 MB / 0.7118 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00474/0.6801, allocations: 395.5 kB / 0.7122 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001027/0.6812, allocations: 372 kB / 0.7125 GB, free: 272 kB / 0.5606 GB 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.003992/0.6852, allocations: 2.005 MB / 0.7145 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/0.6862, allocations: 350.1 kB / 0.7148 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.6873, allocations: 445.3 kB / 0.7152 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005466/0.6928, allocations: 2.519 MB / 0.7177 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/0.6928, allocations: 4 kB / 0.7177 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.637e-05/0.6929, allocations: 7.969 kB / 0.7177 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01881/0.7117, allocations: 9.277 MB / 0.7268 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.531e-05/0.7117, allocations: 7.984 kB / 0.7268 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/0.713, allocations: 259.6 kB / 0.727 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003471/0.7165, allocations: 1.064 MB / 0.7281 GB, free: 116 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002734/0.7168, allocations: 47.89 kB / 0.7281 GB, free: 68 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2713/0.9881, allocations: 5.103 MB / 0.7331 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008241/0.989, allocations: 1.551 MB / 0.7346 GB, free: 172 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008432/0.9974, allocations: 5.384 MB / 0.7399 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009365/0.9984, allocations: 400.2 kB / 0.7402 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004256/0.9988, allocations: 33.06 kB / 0.7403 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/1, allocations: 136.2 kB / 0.7404 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003245/1.001, allocations: 107.9 kB / 0.7405 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/1.001, allocations: 53.5 kB / 0.7406 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003948/1.005, allocations: 2.363 MB / 0.7429 GB, free: 169 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.41e-07/1.005, allocations: 0 / 0.7429 GB, free: 169 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004712/1.009, allocations: 0.9832 MB / 0.7438 GB, free: 168.9 MB / 0.5762 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.00699/1.016, allocations: 5.915 MB / 0.7496 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007751/1.024, allocations: 5.412 MB / 0.7549 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/1.024, allocations: 0 / 0.7549 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003442/1.028, allocations: 2.088 MB / 0.7569 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002938/1.031, allocations: 464.4 kB / 0.7574 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04802/1.079, allocations: 44.57 MB / 0.8009 GB, free: 113.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002525/1.081, allocations: 3.131 MB / 0.8039 GB, free: 110.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003268/1.085, allocations: 1.854 MB / 0.8058 GB, free: 108.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001862/1.086, allocations: 1.78 MB / 0.8075 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.113e-06/1.086, allocations: 0 / 0.8075 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.105/1.191, allocations: 65.82 MB / 0.8718 GB, free: 41.09 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.27/23.46, allocations: 7.672 kB / 0.8718 GB, free: 41.09 MB / 0.5762 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)