Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_3_2_3_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.001209/0.001209, allocations: 101.9 kB / 16.27 MB, free: 5.93 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.001218/0.001218, allocations: 192.5 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2033/0.2033, allocations: 43.53 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 71 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09359/0.09538, allocations: 57.79 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01453/0.11, allocations: 14.73 MB / 455.4 MB, free: 7.992 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0117/0.1217, allocations: 4.665 MB / 460 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002656/0.1244, allocations: 103.6 kB / 460.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005937/0.1304, allocations: 3.111 MB / 463.2 MB, free: 92 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004756/0.1352, allocations: 2.066 MB / 465.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001874/0.1371, allocations: 1.018 MB / 466.3 MB, free: 13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007256/0.1444, allocations: 6.356 MB / 472.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004159/0.1486, allocations: 3.649 MB / 476.3 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002932/0.1515, allocations: 1.838 MB / 478.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003858/0.1554, allocations: 2.633 MB / 480.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001037/0.1565, allocations: 360 kB / 481.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002245/0.1587, allocations: 0.9208 MB / 482.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002629/0.1614, allocations: 2.287 MB / 484.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004148/0.1655, allocations: 2.417 MB / 486.8 MB, free: 8.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008678/0.1742, allocations: 6.92 MB / 493.7 MB, free: 1.488 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1743, allocations: 0 / 493.7 MB, free: 1.488 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.107e-06/0.1743, allocations: 0 / 493.7 MB, free: 1.488 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002502/0.1745, allocations: 3.938 kB / 493.7 MB, free: 1.484 MB / 366.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.01329/0.1878, allocations: 5.502 MB / 499.2 MB, free: 11.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1879, allocations: 19.83 kB / 499.2 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000964/0.1888, allocations: 0.5081 MB / 499.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1041/0.293, allocations: 8.204 MB / 0.496 GB, free: 3.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01496/0.308, allocations: 6.406 MB / 0.5023 GB, free: 12.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002427/0.3083, allocations: 209.6 kB / 0.5025 GB, free: 12.47 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001267/0.3095, allocations: 283.7 kB / 0.5027 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01493/0.3245, allocations: 6.918 MB / 0.5095 GB, free: 4.723 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000222/0.3248, allocations: 59.45 kB / 0.5096 GB, free: 4.664 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008314/0.3256, allocations: 123.9 kB / 0.5097 GB, free: 4.543 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001766/0.3274, allocations: 1.006 MB / 0.5107 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01097/0.3384, allocations: 4.92 MB / 0.5155 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2369/0.5753, allocations: 27.36 MB / 0.5422 GB, free: 69.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002495/0.5778, allocations: 0.7348 MB / 0.5429 GB, free: 68.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003006/0.5782, allocations: 224 kB / 0.5431 GB, free: 68.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.5782, allocations: 12.7 kB / 0.5431 GB, free: 68.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.5782, allocations: 51.73 kB / 0.5432 GB, free: 68.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=37): time 2.515e-06/0.5782, allocations: 2.625 kB / 0.5432 GB, free: 68.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=37): time 0.007912/0.5862, allocations: 2.196 MB / 0.5453 GB, free: 68.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.5862, allocations: 235.9 kB / 0.5455 GB, free: 68.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007262/0.5935, allocations: 4.833 MB / 0.5503 GB, free: 67.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.884e-05/0.5936, allocations: 31.05 kB / 0.5503 GB, free: 67.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00178/0.5954, allocations: 2.776 MB / 0.553 GB, free: 65.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/0.5956, allocations: 194.3 kB / 0.5532 GB, free: 65.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006537/0.5963, allocations: 0.7188 MB / 0.5539 GB, free: 65.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.396e-05/0.5963, allocations: 303.4 kB / 0.5542 GB, free: 64.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.5973, allocations: 0.7986 MB / 0.555 GB, free: 64.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001921/0.5993, allocations: 3.413 MB / 0.5583 GB, free: 60.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003693/0.603, allocations: 4.548 MB / 0.5627 GB, free: 56.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-05/0.603, allocations: 26.5 kB / 0.5628 GB, free: 56.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.005992/0.609, allocations: 4.055 MB / 0.5667 GB, free: 54.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.931e-05/0.6091, allocations: 45.03 kB / 0.5668 GB, free: 54.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.717e-05/0.6092, allocations: 93.59 kB / 0.5669 GB, free: 54.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.004e-05/0.6093, allocations: 121.7 kB / 0.567 GB, free: 54.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001916/0.6112, allocations: 0.8584 MB / 0.5678 GB, free: 53.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00011/0.6114, allocations: 190.2 kB / 0.568 GB, free: 53.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003082/0.6144, allocations: 0.5329 MB / 0.5685 GB, free: 53.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002007/0.6147, allocations: 237.9 kB / 0.5687 GB, free: 53.41 MB / 414.1 MB 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.001654/0.6163, allocations: 1.636 MB / 0.5703 GB, free: 51.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004599/0.6168, allocations: 387.1 kB / 0.5707 GB, free: 51.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004546/0.6172, allocations: 397.8 kB / 0.5711 GB, free: 51.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.6173, allocations: 11.19 kB / 0.5711 GB, free: 51.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.6173, allocations: 3.984 kB / 0.5711 GB, free: 51.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.6173, allocations: 0 / 0.5711 GB, free: 51.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005028/0.6223, allocations: 4.78 MB / 0.5758 GB, free: 46.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.6224, allocations: 12 kB / 0.5758 GB, free: 46.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002689/0.6226, allocations: 115.7 kB / 0.5759 GB, free: 45.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.635e-05/0.6227, allocations: 24.77 kB / 0.5759 GB, free: 45.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.6227, allocations: 28 kB / 0.5759 GB, free: 45.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.389e-05/0.6227, allocations: 27.88 kB / 0.576 GB, free: 45.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.118e-06/0.6227, allocations: 19.94 kB / 0.576 GB, free: 45.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009859/0.6237, allocations: 1.255 MB / 0.5772 GB, free: 44.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007653/0.6245, allocations: 483.9 kB / 0.5777 GB, free: 43.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003741/0.6249, allocations: 31.98 kB / 0.5777 GB, free: 43.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009738/0.6259, allocations: 39.73 kB / 0.5777 GB, free: 43.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/0.6259, allocations: 84.69 kB / 0.5778 GB, free: 43.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.626, allocations: 40 kB / 0.5779 GB, free: 43.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003505/0.6295, allocations: 3.185 MB / 0.581 GB, free: 40.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6295, allocations: 0 / 0.581 GB, free: 40.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002914/0.6324, allocations: 0.8415 MB / 0.5818 GB, free: 39.66 MB / 414.1 MB 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.001221/0.6336, allocations: 1.817 MB / 0.5836 GB, free: 37.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002439/0.6361, allocations: 1.941 MB / 0.5855 GB, free: 35.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.6361, allocations: 0 / 0.5855 GB, free: 35.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002325/0.6364, allocations: 266.4 kB / 0.5857 GB, free: 35.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002995/0.6394, allocations: 0.6681 MB / 0.5864 GB, free: 34.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04781/0.6872, allocations: 43.59 MB / 0.6289 GB, free: 216 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002945/0.6902, allocations: 2.873 MB / 0.6317 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002987/0.6932, allocations: 1.159 MB / 0.6329 GB, free: 12.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001937/0.6951, allocations: 1.722 MB / 0.6346 GB, free: 10.44 MB / 446.1 MB Notification: Performance of SimCode: time 7.12e-07/0.6952, allocations: 0 / 0.6346 GB, free: 10.44 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1122/0.8074, allocations: 68.56 MB / 0.7015 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.51/10.32, allocations: 11.94 kB / 0.7015 GB, free: 5.824 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Bodies/Bodies.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches