Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 112.8 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 180.9 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2161/0.2161, allocations: 44.19 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 59.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3146, allocations: 60.82 MB / 0.5184 GB, free: 3.156 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01531/0.3299, allocations: 14.68 MB / 0.5328 GB, free: 8.668 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0101/0.3401, allocations: 4.663 MB / 0.5373 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/0.3422, allocations: 103.9 kB / 0.5374 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005753/0.3479, allocations: 3.114 MB / 0.5404 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00491/0.3529, allocations: 2.036 MB / 0.5424 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001932/0.3548, allocations: 1.026 MB / 0.5434 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009373/0.3642, allocations: 6.675 MB / 0.55 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004512/0.3688, allocations: 3.641 MB / 0.5535 GB, free: 7.953 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002862/0.3716, allocations: 1.815 MB / 0.5553 GB, free: 6.133 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003746/0.3754, allocations: 2.621 MB / 0.5578 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008149/0.3762, allocations: 359.9 kB / 0.5582 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001984/0.3782, allocations: 0.917 MB / 0.5591 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002278/0.3805, allocations: 2.264 MB / 0.5613 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00294/0.3835, allocations: 2.394 MB / 0.5636 GB, free: 13.56 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008323/0.3918, allocations: 7.001 MB / 0.5705 GB, free: 6.531 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3918, allocations: 4 kB / 0.5705 GB, free: 6.527 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3919, allocations: 0 / 0.5705 GB, free: 6.527 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001597/0.392, allocations: 0 / 0.5705 GB, free: 6.527 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: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 0.01337/0.4054, allocations: 5.586 MB / 0.5759 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.4055, allocations: 12.03 kB / 0.5759 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008017/0.4063, allocations: 0.5042 MB / 0.5764 GB, free: 348 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1089/0.5152, allocations: 8.234 MB / 0.5845 GB, free: 8.094 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01149/0.5268, allocations: 5.755 MB / 0.5901 GB, free: 2.266 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001913/0.527, allocations: 205.6 kB / 0.5903 GB, free: 2.062 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006547/0.5276, allocations: 295.7 kB / 0.5906 GB, free: 1.773 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01232/0.54, allocations: 6.91 MB / 0.5973 GB, free: 10.3 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001241/0.5401, allocations: 59.59 kB / 0.5974 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003077/0.5404, allocations: 131.9 kB / 0.5975 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001637/0.5421, allocations: 0.9978 MB / 0.5985 GB, free: 9.117 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01087/0.553, allocations: 4.928 MB / 0.6033 GB, free: 4.184 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0345/0.5875, allocations: 27.32 MB / 0.63 GB, free: 8.125 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002539/0.5901, allocations: 0.7347 MB / 0.6307 GB, free: 7.344 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003345/0.5904, allocations: 216.3 kB / 0.6309 GB, free: 7.117 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.5905, allocations: 12.3 kB / 0.6309 GB, free: 7.105 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.5905, allocations: 42.48 kB / 0.6309 GB, free: 7.055 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 2.585e-06/0.5905, allocations: 4 kB / 0.6309 GB, free: 7.051 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.006709/0.5972, allocations: 1.962 MB / 0.6329 GB, free: 5.078 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/0.5974, allocations: 243.2 kB / 0.6331 GB, free: 4.785 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006939/0.6043, allocations: 4.77 MB / 0.6378 GB, free: 16 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.807e-05/0.6045, allocations: 29.7 kB / 0.6378 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002536/0.607, allocations: 2.845 MB / 0.6406 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.6072, allocations: 206.8 kB / 0.6408 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009076/0.6081, allocations: 0.7224 MB / 0.6415 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.6083, allocations: 309.1 kB / 0.6418 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/0.6096, allocations: 0.7953 MB / 0.6425 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003491/0.6131, allocations: 3.414 MB / 0.6459 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005193/0.6183, allocations: 4.55 MB / 0.6503 GB, free: 472 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.706e-05/0.6184, allocations: 28 kB / 0.6503 GB, free: 444 kB / 0.4981 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.006988/0.6254, allocations: 4.065 MB / 0.6543 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.623e-05/0.6255, allocations: 48 kB / 0.6544 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.715e-05/0.6256, allocations: 92 kB / 0.6544 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001256/0.6257, allocations: 128 kB / 0.6546 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002322/0.6281, allocations: 0.8538 MB / 0.6554 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000154/0.6282, allocations: 179.3 kB / 0.6556 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003214/0.6315, allocations: 0.5546 MB / 0.6561 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002709/0.6317, allocations: 232 kB / 0.6563 GB, free: 10.29 MB / 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.002487/0.6342, allocations: 1.629 MB / 0.6579 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007107/0.635, allocations: 401.4 kB / 0.6583 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006481/0.6356, allocations: 393.2 kB / 0.6587 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.6356, allocations: 8 kB / 0.6587 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.6356, allocations: 0 / 0.6587 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.6356, allocations: 3.984 kB / 0.6587 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006807/0.6425, allocations: 4.764 MB / 0.6633 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/0.6425, allocations: 12 kB / 0.6634 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000315/0.6428, allocations: 111.8 kB / 0.6635 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.015e-05/0.6429, allocations: 23.98 kB / 0.6635 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.196e-05/0.6429, allocations: 28 kB / 0.6635 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.854e-05/0.6429, allocations: 23.88 kB / 0.6635 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.927e-05/0.643, allocations: 19.94 kB / 0.6636 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.6445, allocations: 1.265 MB / 0.6648 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008439/0.6454, allocations: 498.2 kB / 0.6653 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003473/0.6457, allocations: 31.98 kB / 0.6653 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009282/0.6467, allocations: 39.98 kB / 0.6653 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.621e-05/0.6468, allocations: 83.56 kB / 0.6654 GB, free: 480 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.733e-05/0.6468, allocations: 32 kB / 0.6654 GB, free: 448 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005138/0.652, allocations: 3.144 MB / 0.6685 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.11e-07/0.652, allocations: 0 / 0.6685 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00381/0.6558, allocations: 0.8344 MB / 0.6693 GB, free: 12.46 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.002129/0.6579, allocations: 1.838 MB / 0.6711 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003266/0.6612, allocations: 1.931 MB / 0.673 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.906e-06/0.6613, allocations: 4 kB / 0.673 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003542/0.6616, allocations: 270.3 kB / 0.6733 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003341/0.665, allocations: 0.6717 MB / 0.6739 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06037/0.7253, allocations: 34.76 MB / 0.7079 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004188/0.7296, allocations: 2.842 MB / 0.7106 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003055/0.7327, allocations: 1.158 MB / 0.7118 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002476/0.7351, allocations: 1.702 MB / 0.7134 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of SimCode: time 6.22e-07/0.7352, allocations: 0 / 0.7134 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3288/1.064, allocations: 66.33 MB / 0.7782 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.73/17.8, allocations: 8.906 kB / 0.7782 GB, free: 149.4 MB / 0.5762 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_0_0_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Bodies/Bodies.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches