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.001571/0.001571, allocations: 116.6 kB / 17.78 MB, free: 5.262 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.001659/0.001659, allocations: 183.8 kB / 18.72 MB, free: 4.336 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.295/1.295, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.1978/0.1978, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 71.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3283, allocations: 60.83 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01395/0.3423, allocations: 14.68 MB / 0.5328 GB, free: 8.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01124/0.3536, allocations: 4.664 MB / 0.5373 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002505/0.3561, allocations: 100.2 kB / 0.5374 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005396/0.3616, allocations: 3.114 MB / 0.5404 GB, free: 2.988 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004841/0.3664, allocations: 2.097 MB / 0.5425 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001848/0.3683, allocations: 1.028 MB / 0.5435 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008223/0.3765, allocations: 6.669 MB / 0.55 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003744/0.3803, allocations: 3.646 MB / 0.5536 GB, free: 7.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00258/0.3829, allocations: 1.823 MB / 0.5553 GB, free: 6.152 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003/0.3859, allocations: 2.633 MB / 0.5579 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005792/0.3865, allocations: 356 kB / 0.5583 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.3881, allocations: 0.917 MB / 0.5592 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001846/0.3899, allocations: 2.303 MB / 0.5614 GB, free: 15.94 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002195/0.3921, allocations: 2.39 MB / 0.5637 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007314/0.3995, allocations: 7.005 MB / 0.5706 GB, free: 6.504 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3995, allocations: 0 / 0.5706 GB, free: 6.504 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3995, allocations: 0 / 0.5706 GB, free: 6.504 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001643/0.3997, allocations: 0 / 0.5706 GB, free: 6.504 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.01245/0.4122, allocations: 5.583 MB / 0.576 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.4122, allocations: 12.03 kB / 0.576 GB, free: 0.832 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007269/0.4129, allocations: 0.5081 MB / 0.5765 GB, free: 324 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1055/0.5184, allocations: 8.23 MB / 0.5846 GB, free: 8.074 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01225/0.5307, allocations: 5.755 MB / 0.5902 GB, free: 2.246 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002/0.531, allocations: 205.6 kB / 0.5904 GB, free: 2.043 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009636/0.5319, allocations: 295.7 kB / 0.5907 GB, free: 1.754 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01203/0.544, allocations: 6.91 MB / 0.5974 GB, free: 10.29 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001416/0.5442, allocations: 59.59 kB / 0.5975 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000325/0.5445, allocations: 131.9 kB / 0.5976 GB, free: 10.1 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001441/0.5459, allocations: 0.9939 MB / 0.5986 GB, free: 9.102 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009738/0.5557, allocations: 4.936 MB / 0.6034 GB, free: 4.16 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03503/0.5908, allocations: 27.31 MB / 0.6301 GB, free: 8.105 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002562/0.5934, allocations: 0.7347 MB / 0.6308 GB, free: 7.324 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003483/0.5937, allocations: 212.3 kB / 0.631 GB, free: 7.102 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.918e-05/0.5938, allocations: 20.28 kB / 0.631 GB, free: 7.082 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.5938, allocations: 38.5 kB / 0.631 GB, free: 7.035 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 3.066e-06/0.5938, allocations: 0 / 0.631 GB, free: 7.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.007053/0.6009, allocations: 1.974 MB / 0.633 GB, free: 5.051 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/0.6011, allocations: 239.3 kB / 0.6332 GB, free: 4.762 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008625/0.6097, allocations: 4.77 MB / 0.6379 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.302e-05/0.6098, allocations: 29.7 kB / 0.6379 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002379/0.6122, allocations: 2.849 MB / 0.6407 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/0.6124, allocations: 198.8 kB / 0.6409 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001005/0.6135, allocations: 0.7303 MB / 0.6416 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.459e-05/0.6136, allocations: 305.1 kB / 0.6419 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.6148, allocations: 0.7915 MB / 0.6426 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002789/0.6176, allocations: 3.414 MB / 0.646 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004631/0.6223, allocations: 4.553 MB / 0.6504 GB, free: 448 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-05/0.6223, allocations: 28 kB / 0.6504 GB, free: 420 kB / 0.4981 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.006729/0.6291, allocations: 4.061 MB / 0.6544 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.182e-05/0.6292, allocations: 50.66 kB / 0.6545 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001136/0.6293, allocations: 92 kB / 0.6545 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000123/0.6294, allocations: 128.1 kB / 0.6547 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002229/0.6317, allocations: 0.8539 MB / 0.6555 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001608/0.6318, allocations: 183.3 kB / 0.6557 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003412/0.6353, allocations: 0.5547 MB / 0.6562 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002569/0.6355, allocations: 232 kB / 0.6564 GB, free: 10.26 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.002276/0.6378, allocations: 1.629 MB / 0.658 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008532/0.6387, allocations: 401.4 kB / 0.6584 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009132/0.6396, allocations: 393.2 kB / 0.6588 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/0.6396, allocations: 8 kB / 0.6588 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.6396, allocations: 0 / 0.6588 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.6396, allocations: 0 / 0.6588 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/0.6497, allocations: 4.764 MB / 0.6634 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.971e-05/0.6497, allocations: 12 kB / 0.6635 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003459/0.6501, allocations: 115.8 kB / 0.6636 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.96e-05/0.6501, allocations: 20 kB / 0.6636 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.395e-05/0.6502, allocations: 24 kB / 0.6636 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.048e-05/0.6502, allocations: 31.86 kB / 0.6636 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-05/0.6502, allocations: 19.94 kB / 0.6637 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.6518, allocations: 1.261 MB / 0.6649 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/0.653, allocations: 0.4904 MB / 0.6654 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007689/0.6537, allocations: 31.98 kB / 0.6654 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/0.6551, allocations: 39.98 kB / 0.6654 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.057e-05/0.6552, allocations: 79.56 kB / 0.6655 GB, free: 460 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.139e-05/0.6552, allocations: 32.38 kB / 0.6655 GB, free: 428 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005337/0.6606, allocations: 3.144 MB / 0.6686 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6606, allocations: 0 / 0.6686 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003975/0.6646, allocations: 0.8344 MB / 0.6694 GB, free: 12.44 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.002021/0.6666, allocations: 1.846 MB / 0.6712 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003433/0.67, allocations: 1.939 MB / 0.6731 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/0.6701, allocations: 4 kB / 0.6731 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003527/0.6704, allocations: 262.4 kB / 0.6734 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004184/0.6746, allocations: 0.6636 MB / 0.674 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05484/0.7295, allocations: 34.76 MB / 0.708 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003643/0.7332, allocations: 2.842 MB / 0.7108 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002797/0.736, allocations: 1.158 MB / 0.7119 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002138/0.7381, allocations: 1.698 MB / 0.7135 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of SimCode: time 9.02e-07/0.7382, allocations: 0 / 0.7135 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3326/1.071, allocations: 66.32 MB / 0.7783 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.02/19.09, allocations: 4.906 kB / 0.7783 GB, free: 149.5 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