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.001328/0.001328, allocations: 122.8 kB / 17.79 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.001377/0.001377, allocations: 202 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.437/1.437, allocations: 227.4 MB / 247 MB, free: 10.43 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.2349/0.2349, allocations: 46.13 MB / 344.4 MB, free: 11.42 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.002547/0.002547, allocations: 91.83 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3553, allocations: 62.43 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01839/0.3737, allocations: 14.64 MB / 0.5449 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01326/0.3871, allocations: 4.666 MB / 0.5494 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004892/0.392, allocations: 100.7 kB / 0.5495 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007406/0.3995, allocations: 3.099 MB / 0.5526 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005819/0.4054, allocations: 2.026 MB / 0.5545 GB, free: 9.125 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002391/0.4078, allocations: 1.018 MB / 0.5555 GB, free: 8.105 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009989/0.4178, allocations: 6.944 MB / 0.5623 GB, free: 1.148 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004864/0.4227, allocations: 3.641 MB / 0.5659 GB, free: 13.44 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003429/0.4262, allocations: 1.811 MB / 0.5676 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004201/0.4304, allocations: 2.618 MB / 0.5702 GB, free: 9 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001287/0.4318, allocations: 364 kB / 0.5705 GB, free: 8.645 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002636/0.4344, allocations: 0.8858 MB / 0.5714 GB, free: 7.758 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00291/0.4373, allocations: 2.264 MB / 0.5736 GB, free: 5.488 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004727/0.4421, allocations: 2.374 MB / 0.5759 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01069/0.4528, allocations: 6.982 MB / 0.5828 GB, free: 12.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.4529, allocations: 0 / 0.5828 GB, free: 12.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4529, allocations: 0 / 0.5828 GB, free: 12.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002398/0.4531, allocations: 0 / 0.5828 GB, free: 12.09 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.0164/0.4695, allocations: 5.563 MB / 0.5882 GB, free: 6.453 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.4696, allocations: 8.031 kB / 0.5882 GB, free: 6.445 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001455/0.4711, allocations: 0.5159 MB / 0.5887 GB, free: 5.922 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1079/0.579, allocations: 8.219 MB / 0.5967 GB, free: 13.69 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01249/0.5915, allocations: 5.217 MB / 0.6018 GB, free: 8.402 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002627/0.5918, allocations: 209.6 kB / 0.602 GB, free: 8.195 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001154/0.593, allocations: 287.8 kB / 0.6023 GB, free: 7.914 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01593/0.6089, allocations: 6.906 MB / 0.609 GB, free: 460 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002166/0.6092, allocations: 63.59 kB / 0.6091 GB, free: 396 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006804/0.6099, allocations: 127.9 kB / 0.6092 GB, free: 268 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001913/0.6118, allocations: 1.006 MB / 0.6102 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01246/0.6243, allocations: 4.92 MB / 0.615 GB, free: 10.33 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03906/0.6634, allocations: 27.32 MB / 0.6417 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002587/0.666, allocations: 0.7309 MB / 0.6424 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004858/0.6666, allocations: 216.3 kB / 0.6426 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.053e-05/0.6666, allocations: 16 kB / 0.6426 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.6667, allocations: 42.55 kB / 0.6427 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 2.976e-06/0.6667, allocations: 0 / 0.6427 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.007334/0.674, allocations: 1.97 MB / 0.6446 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001807/0.6742, allocations: 235.3 kB / 0.6448 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009927/0.6842, allocations: 4.77 MB / 0.6495 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.6843, allocations: 30.08 kB / 0.6495 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003471/0.6878, allocations: 2.833 MB / 0.6523 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003664/0.6882, allocations: 210.8 kB / 0.6525 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001095/0.6893, allocations: 0.7263 MB / 0.6532 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.6895, allocations: 305.1 kB / 0.6535 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001422/0.6909, allocations: 0.7914 MB / 0.6542 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003824/0.6948, allocations: 3.421 MB / 0.6576 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00611/0.7009, allocations: 4.546 MB / 0.662 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-05/0.701, allocations: 28 kB / 0.6621 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.008235/0.7093, allocations: 4.064 MB / 0.666 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.727e-05/0.7094, allocations: 56.19 kB / 0.6661 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001145/0.7095, allocations: 92 kB / 0.6662 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001572/0.7097, allocations: 124 kB / 0.6663 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002599/0.7123, allocations: 0.8499 MB / 0.6671 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001786/0.7125, allocations: 183.3 kB / 0.6673 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00367/0.7162, allocations: 0.5546 MB / 0.6678 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004479/0.7167, allocations: 232 kB / 0.668 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.00276/0.7194, allocations: 1.637 MB / 0.6696 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000899/0.7203, allocations: 393.4 kB / 0.67 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008022/0.7212, allocations: 397.2 kB / 0.6704 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.7212, allocations: 4 kB / 0.6704 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.7212, allocations: 4.188 kB / 0.6704 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.7212, allocations: 7.984 kB / 0.6704 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00764/0.7289, allocations: 4.756 MB / 0.6751 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.797e-05/0.7289, allocations: 16 kB / 0.6751 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003544/0.7293, allocations: 115.8 kB / 0.6752 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-05/0.7293, allocations: 16 kB / 0.6752 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.257e-05/0.7293, allocations: 28.66 kB / 0.6752 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.028e-05/0.7294, allocations: 23.92 kB / 0.6753 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.878e-05/0.7294, allocations: 27.88 kB / 0.6753 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.7311, allocations: 1.257 MB / 0.6765 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/0.7322, allocations: 0.4943 MB / 0.677 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003925/0.7326, allocations: 31.98 kB / 0.677 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009753/0.7335, allocations: 31.98 kB / 0.6771 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.7337, allocations: 87.56 kB / 0.6771 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-05/0.7337, allocations: 35.94 kB / 0.6772 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005528/0.7393, allocations: 3.136 MB / 0.6802 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.11e-07/0.7393, allocations: 4 kB / 0.6802 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003886/0.7432, 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.002459/0.7457, allocations: 1.85 MB / 0.6828 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003869/0.7496, allocations: 1.938 MB / 0.6847 GB, free: 14.63 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/0.7496, allocations: 0 / 0.6847 GB, free: 14.63 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004546/0.7501, 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.004207/0.7543, allocations: 0.6686 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.06109/0.8155, allocations: 34.72 MB / 0.7196 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003619/0.8191, allocations: 2.846 MB / 0.7223 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002898/0.822, allocations: 1.158 MB / 0.7235 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002334/0.8244, allocations: 1.694 MB / 0.7251 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of SimCode: time 7.12e-07/0.8244, allocations: 0 / 0.7251 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3291/1.154, allocations: 66.27 MB / 0.7898 GB, free: 129.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.9/18.05, allocations: 9.422 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Bodies_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1)