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.001338/0.001338, allocations: 104.9 kB / 16.4 MB, free: 6.508 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.001416/0.001416, allocations: 194.2 kB / 17.34 MB, free: 5.738 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.265/1.265, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.187/0.187, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 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.001432/0.001432, allocations: 61.47 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09495/0.09639, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01411/0.1106, allocations: 14.74 MB / 0.5018 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009098/0.1197, allocations: 4.673 MB / 0.5063 GB, free: 8.797 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001925/0.1217, allocations: 103.6 kB / 0.5064 GB, free: 8.695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005529/0.1272, allocations: 3.111 MB / 0.5095 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004803/0.1321, allocations: 2.129 MB / 0.5116 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.1339, allocations: 1.018 MB / 0.5126 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007159/0.1411, allocations: 6.352 MB / 0.5188 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00395/0.1451, allocations: 3.642 MB / 0.5223 GB, free: 8.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002788/0.1479, allocations: 1.842 MB / 0.5241 GB, free: 6.492 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003324/0.1512, allocations: 2.653 MB / 0.5267 GB, free: 3.832 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008133/0.1521, allocations: 356 kB / 0.527 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/0.1542, allocations: 0.9169 MB / 0.5279 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00229/0.1565, allocations: 2.323 MB / 0.5302 GB, free: 244 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2038/0.3603, allocations: 2.409 MB / 0.5326 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008852/0.3692, allocations: 7.069 MB / 0.5395 GB, free: 10.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.3692, allocations: 1.219 kB / 0.5395 GB, free: 10.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.3692, allocations: 0 / 0.5395 GB, free: 10.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002515/0.3695, allocations: 0.6562 kB / 0.5395 GB, free: 10.61 MB / 414.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.01823/0.3877, allocations: 5.647 MB / 0.545 GB, free: 8.352 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.3878, allocations: 12.77 kB / 0.545 GB, free: 8.348 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001618/0.3894, allocations: 0.5119 MB / 0.5455 GB, free: 8.289 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1025/0.492, allocations: 8.231 MB / 0.5535 GB, free: 7.902 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01379/0.5058, allocations: 6.526 MB / 0.5599 GB, free: 6.523 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001695/0.506, allocations: 206.9 kB / 0.5601 GB, free: 6.445 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008257/0.5068, allocations: 290.6 kB / 0.5604 GB, free: 6.359 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/0.5169, allocations: 6.917 MB / 0.5671 GB, free: 1.977 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001221/0.517, allocations: 59.25 kB / 0.5672 GB, free: 1.957 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002942/0.5173, allocations: 125.1 kB / 0.5673 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001212/0.5186, allocations: 0.9969 MB / 0.5683 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009453/0.528, allocations: 4.925 MB / 0.5731 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03419/0.5622, allocations: 27.39 MB / 0.5998 GB, free: 3.684 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002474/0.5648, allocations: 0.7389 MB / 0.6006 GB, free: 2.906 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/0.5651, allocations: 216.2 kB / 0.6008 GB, free: 2.684 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.5651, allocations: 15.12 kB / 0.6008 GB, free: 2.672 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.5652, allocations: 45.73 kB / 0.6008 GB, free: 2.621 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 2.595e-06/0.5652, allocations: 0 / 0.6008 GB, free: 2.621 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.008253/0.5734, allocations: 2.211 MB / 0.603 GB, free: 428 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.5736, allocations: 246 kB / 0.6032 GB, free: 128 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008999/0.5826, allocations: 4.847 MB / 0.608 GB, free: 11.28 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.994e-05/0.5827, allocations: 29.7 kB / 0.608 GB, free: 11.25 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002655/0.5854, allocations: 2.852 MB / 0.6108 GB, free: 8.402 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003302/0.5858, allocations: 205.9 kB / 0.611 GB, free: 8.203 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001297/0.5871, allocations: 0.7263 MB / 0.6117 GB, free: 7.469 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.5872, allocations: 307 kB / 0.612 GB, free: 7.172 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.5887, allocations: 0.7954 MB / 0.6127 GB, free: 6.375 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003051/0.5918, allocations: 3.412 MB / 0.6161 GB, free: 1.68 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004693/0.5965, allocations: 4.544 MB / 0.6205 GB, free: 12.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-05/0.5966, allocations: 24 kB / 0.6205 GB, free: 12.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.007897/0.6045, allocations: 4.077 MB / 0.6245 GB, free: 8.656 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.6047, allocations: 48 kB / 0.6246 GB, free: 8.609 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001383/0.6048, allocations: 92.75 kB / 0.6247 GB, free: 8.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001339/0.605, allocations: 124 kB / 0.6248 GB, free: 8.398 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002427/0.6074, allocations: 0.8582 MB / 0.6256 GB, free: 7.621 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001308/0.6075, allocations: 180.6 kB / 0.6258 GB, free: 7.484 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003961/0.6115, allocations: 0.5546 MB / 0.6263 GB, free: 6.926 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004099/0.6119, allocations: 232 kB / 0.6265 GB, free: 6.699 MB / 478.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.003431/0.6154, allocations: 1.64 MB / 0.6281 GB, free: 5.129 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001124/0.6165, allocations: 401.3 kB / 0.6285 GB, free: 4.734 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.6178, allocations: 413.7 kB / 0.6289 GB, free: 4.324 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.6178, allocations: 4 kB / 0.6289 GB, free: 4.32 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.6178, allocations: 0 / 0.6289 GB, free: 4.32 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/0.6178, allocations: 7.562 kB / 0.6289 GB, free: 4.316 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009963/0.6278, allocations: 4.778 MB / 0.6336 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.582e-05/0.6279, allocations: 16 kB / 0.6336 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003409/0.6282, allocations: 115.8 kB / 0.6337 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.729e-05/0.6282, allocations: 16 kB / 0.6337 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.893e-05/0.6283, allocations: 24 kB / 0.6338 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.845e-05/0.6283, allocations: 27.86 kB / 0.6338 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.96e-05/0.6283, allocations: 19.94 kB / 0.6338 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.63, allocations: 1.264 MB / 0.635 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001379/0.6314, allocations: 0.502 MB / 0.6355 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001016/0.6324, allocations: 31.98 kB / 0.6356 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001584/0.634, allocations: 35.92 kB / 0.6356 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.719e-05/0.6341, allocations: 91.56 kB / 0.6357 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.736e-05/0.6341, allocations: 32 kB / 0.6357 GB, free: 12.96 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006577/0.6407, allocations: 3.192 MB / 0.6388 GB, free: 9.781 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.012e-06/0.6408, allocations: 0 / 0.6388 GB, free: 9.781 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004807/0.6456, allocations: 0.8422 MB / 0.6397 GB, free: 8.938 MB / 494.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.002447/0.648, allocations: 1.854 MB / 0.6415 GB, free: 6.871 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003536/0.6516, allocations: 1.926 MB / 0.6433 GB, free: 4.973 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/0.6516, allocations: 4 kB / 0.6434 GB, free: 4.969 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003899/0.652, allocations: 268.9 kB / 0.6436 GB, free: 4.711 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005103/0.6572, allocations: 0.6704 MB / 0.6443 GB, free: 4.059 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06232/0.7195, allocations: 35.19 MB / 0.6786 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004633/0.7242, allocations: 2.868 MB / 0.6814 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00318/0.7274, allocations: 1.162 MB / 0.6826 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002351/0.7298, allocations: 1.726 MB / 0.6842 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of SimCode: time 1.082e-06/0.7298, allocations: 0 / 0.6842 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1056/0.8354, allocations: 67.02 MB / 0.7497 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.27/16.1, allocations: 4.062 kB / 0.7497 GB, free: 4.348 MB / 0.5919 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