Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Bodies.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.Bodies,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001412/0.001412, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001536/0.001536, allocations: 205.2 kB / 18.74 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.476/1.476, allocations: 227.4 MB / 247 MB, free: 10.41 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.2193/0.2193, allocations: 46.11 MB / 344.4 MB, free: 11.45 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.002308/0.002308, allocations: 84.14 kB / 480.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3031, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01669/0.3198, allocations: 14.64 MB / 0.5449 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01096/0.3309, allocations: 4.667 MB / 0.5494 GB, free: 14.19 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003187/0.3341, allocations: 100.6 kB / 0.5495 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006433/0.3406, allocations: 3.099 MB / 0.5526 GB, free: 11.17 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005743/0.3464, allocations: 2.023 MB / 0.5545 GB, free: 9.137 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002492/0.3489, allocations: 1.018 MB / 0.5555 GB, free: 8.117 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0102/0.3591, allocations: 6.945 MB / 0.5623 GB, free: 1.156 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004971/0.3641, allocations: 3.65 MB / 0.5659 GB, free: 13.44 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003377/0.3676, allocations: 1.811 MB / 0.5677 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00417/0.3718, allocations: 2.618 MB / 0.5702 GB, free: 9 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001243/0.3731, allocations: 356 kB / 0.5705 GB, free: 8.652 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002571/0.3756, allocations: 0.8897 MB / 0.5714 GB, free: 7.762 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003578/0.3793, allocations: 2.26 MB / 0.5736 GB, free: 5.496 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00479/0.3841, allocations: 2.378 MB / 0.5759 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009727/0.3938, allocations: 6.974 MB / 0.5828 GB, free: 12.1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.3939, allocations: 0 / 0.5828 GB, free: 12.1 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.3939, allocations: 0 / 0.5828 GB, free: 12.1 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002797/0.3942, allocations: 0 / 0.5828 GB, free: 12.1 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 0.01626/0.4105, allocations: 5.563 MB / 0.5882 GB, free: 6.461 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.4105, allocations: 12.02 kB / 0.5882 GB, free: 6.449 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009675/0.4115, allocations: 0.512 MB / 0.5887 GB, free: 5.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.107/0.5185, allocations: 8.219 MB / 0.5967 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0113/0.5298, allocations: 5.217 MB / 0.6018 GB, free: 8.406 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000219/0.5301, allocations: 213.6 kB / 0.602 GB, free: 8.195 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009224/0.531, allocations: 287.8 kB / 0.6023 GB, free: 7.914 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0136/0.5446, allocations: 6.906 MB / 0.609 GB, free: 460 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001862/0.5449, allocations: 63.59 kB / 0.6091 GB, free: 396 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004396/0.5453, allocations: 127.9 kB / 0.6092 GB, free: 268 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001678/0.547, allocations: 0.9977 MB / 0.6102 GB, free: 15.26 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/0.5581, allocations: 4.928 MB / 0.615 GB, free: 10.33 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03621/0.5943, allocations: 27.32 MB / 0.6417 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002588/0.597, allocations: 0.727 MB / 0.6424 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003644/0.5974, allocations: 228.5 kB / 0.6426 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.53e-05/0.5974, allocations: 11.98 kB / 0.6426 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.5975, allocations: 38.56 kB / 0.6427 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 3.085e-06/0.5975, allocations: 0 / 0.6427 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.007042/0.6045, allocations: 1.978 MB / 0.6446 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/0.6047, allocations: 235.3 kB / 0.6448 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007998/0.6127, allocations: 4.773 MB / 0.6495 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.236e-05/0.6128, allocations: 29.7 kB / 0.6495 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002707/0.6156, allocations: 2.837 MB / 0.6523 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002904/0.6159, allocations: 202.8 kB / 0.6525 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009747/0.6168, allocations: 0.7303 MB / 0.6532 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.617, allocations: 301.1 kB / 0.6535 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/0.6183, allocations: 0.7915 MB / 0.6543 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003428/0.6217, allocations: 3.418 MB / 0.6576 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005321/0.6271, allocations: 4.546 MB / 0.662 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.89e-05/0.6272, allocations: 28 kB / 0.6621 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.008056/0.6353, allocations: 4.064 MB / 0.666 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.131e-05/0.6354, allocations: 54.48 kB / 0.6661 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001013/0.6355, allocations: 92 kB / 0.6662 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001223/0.6356, allocations: 128.1 kB / 0.6663 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00235/0.638, allocations: 0.8463 MB / 0.6671 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001472/0.6381, allocations: 187.3 kB / 0.6673 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003381/0.6415, allocations: 0.5547 MB / 0.6678 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003621/0.6419, allocations: 232 kB / 0.6681 GB, free: 448 kB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 430 * Number of states: 0 () * Number of discrete variables: 54 (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],Fixed2.color[3],Fixed2.color[2],Fixed2.color[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],Fixed5.color[3],Fixed5.color[2],Fixed5.color[1],Fixed4.color[3],Fixed4.color[2],Fixed4.color[1],Fixed3.color[3],Fixed3.color[2],Fixed3.color[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],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (449): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00253/0.6444, allocations: 1.633 MB / 0.6696 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007692/0.6452, allocations: 397.4 kB / 0.67 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007027/0.6459, allocations: 393.2 kB / 0.6704 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.6459, allocations: 7.984 kB / 0.6704 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.6459, allocations: 4 kB / 0.6704 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.646, allocations: 0 / 0.6704 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006959/0.6529, allocations: 4.76 MB / 0.6751 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.817e-05/0.653, allocations: 15.98 kB / 0.6751 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/0.6533, allocations: 111.8 kB / 0.6752 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.772e-05/0.6533, allocations: 24.02 kB / 0.6752 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-05/0.6534, allocations: 28 kB / 0.6752 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-05/0.6534, allocations: 19.94 kB / 0.6753 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-05/0.6534, allocations: 24.34 kB / 0.6753 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.6551, allocations: 1.265 MB / 0.6765 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00092/0.656, allocations: 0.4904 MB / 0.677 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003983/0.6564, allocations: 28 kB / 0.677 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009361/0.6574, allocations: 39.97 kB / 0.6771 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.6575, allocations: 87.56 kB / 0.6771 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-05/0.6575, allocations: 35.94 kB / 0.6772 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005182/0.6627, allocations: 3.14 MB / 0.6802 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.61e-07/0.6628, allocations: 0 / 0.6802 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003676/0.6664, allocations: 0.8228 MB / 0.681 GB, free: 2.621 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * 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 (61): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002239/0.6687, allocations: 1.85 MB / 0.6828 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003499/0.6722, allocations: 1.935 MB / 0.6847 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/0.6722, allocations: 4 kB / 0.6847 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003706/0.6726, allocations: 266.4 kB / 0.685 GB, free: 14.38 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003524/0.6762, allocations: 0.6674 MB / 0.6856 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05545/0.7316, allocations: 34.71 MB / 0.7195 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003505/0.7352, allocations: 2.854 MB / 0.7223 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002903/0.7381, allocations: 1.158 MB / 0.7235 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002354/0.7405, allocations: 1.698 MB / 0.7251 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of SimCode: time 1.032e-06/0.7405, allocations: 0 / 0.7251 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.322/1.062, allocations: 66.26 MB / 0.7898 GB, free: 129.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.98/18.04, allocations: 17.36 kB / 0.7898 GB, free: 129.9 MB / 0.5762 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1)