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.001498/0.001498, allocations: 110.8 kB / 16.41 MB, free: 6.453 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.001742/0.001742, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.388/1.388, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.1988/0.1988, allocations: 43.53 MB / 314.1 MB, free: 456 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.001446/0.001446, allocations: 59.91 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1043, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01464/0.119, allocations: 14.74 MB / 0.5018 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009393/0.1284, allocations: 4.665 MB / 0.5063 GB, free: 8.816 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002465/0.1309, allocations: 99.69 kB / 0.5064 GB, free: 8.719 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005779/0.1367, allocations: 3.119 MB / 0.5095 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004808/0.1416, allocations: 2.125 MB / 0.5116 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001922/0.1435, allocations: 1.018 MB / 0.5126 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007545/0.1511, allocations: 6.356 MB / 0.5188 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004717/0.1558, allocations: 3.642 MB / 0.5223 GB, free: 8.355 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00344/0.1593, allocations: 1.838 MB / 0.5241 GB, free: 6.512 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004163/0.1635, allocations: 2.649 MB / 0.5267 GB, free: 3.855 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001285/0.1648, allocations: 356 kB / 0.527 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002885/0.1677, allocations: 0.9209 MB / 0.5279 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003137/0.1708, allocations: 2.323 MB / 0.5302 GB, free: 264 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2149/0.3858, allocations: 2.41 MB / 0.5326 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01139/0.3972, allocations: 7.069 MB / 0.5395 GB, free: 10.58 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.3972, allocations: 3.938 kB / 0.5395 GB, free: 10.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3972, allocations: 1 kB / 0.5395 GB, free: 10.58 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002928/0.3975, allocations: 0 / 0.5395 GB, free: 10.58 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.02101/0.4186, allocations: 5.645 MB / 0.545 GB, free: 8.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.4186, allocations: 13.36 kB / 0.545 GB, free: 8.316 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001569/0.4202, allocations: 0.512 MB / 0.5455 GB, free: 8.258 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08497/0.5052, allocations: 8.229 MB / 0.5535 GB, free: 7.871 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01287/0.5181, allocations: 6.525 MB / 0.5599 GB, free: 6.527 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002192/0.5184, allocations: 214.1 kB / 0.5601 GB, free: 6.445 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00114/0.5195, allocations: 282 kB / 0.5604 GB, free: 6.363 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01262/0.5322, allocations: 6.918 MB / 0.5671 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002435/0.5325, allocations: 62.69 kB / 0.5672 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005335/0.533, allocations: 127.8 kB / 0.5673 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001489/0.5345, allocations: 0.9976 MB / 0.5683 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01102/0.5455, allocations: 4.933 MB / 0.5731 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03939/0.585, allocations: 27.38 MB / 0.5998 GB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002696/0.5877, allocations: 0.7376 MB / 0.6006 GB, free: 2.941 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004195/0.5882, allocations: 223.8 kB / 0.6008 GB, free: 2.711 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.334e-05/0.5882, allocations: 9.234 kB / 0.6008 GB, free: 2.707 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.5883, allocations: 38.55 kB / 0.6008 GB, free: 2.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 2.856e-06/0.5883, allocations: 4 kB / 0.6008 GB, free: 2.656 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.008147/0.5964, allocations: 2.214 MB / 0.603 GB, free: 460 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/0.5966, allocations: 239.3 kB / 0.6032 GB, free: 164 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01259/0.6092, allocations: 4.843 MB / 0.6079 GB, free: 11.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001483/0.6094, allocations: 33.27 kB / 0.608 GB, free: 11.29 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00288/0.6123, allocations: 2.849 MB / 0.6108 GB, free: 8.445 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002855/0.6126, allocations: 206.1 kB / 0.611 GB, free: 8.246 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009593/0.6136, allocations: 0.7263 MB / 0.6117 GB, free: 7.512 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.6137, allocations: 305.1 kB / 0.612 GB, free: 7.211 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.615, allocations: 0.792 MB / 0.6127 GB, free: 6.418 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003277/0.6183, allocations: 3.42 MB / 0.6161 GB, free: 1.719 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005045/0.6234, allocations: 4.552 MB / 0.6205 GB, free: 12.24 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-05/0.6235, allocations: 28 kB / 0.6205 GB, free: 12.21 MB / 478.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.007888/0.6314, allocations: 4.073 MB / 0.6245 GB, free: 8.691 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.36e-05/0.6315, allocations: 44 kB / 0.6246 GB, free: 8.648 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000142/0.6316, allocations: 96 kB / 0.6247 GB, free: 8.555 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000125/0.6318, allocations: 124 kB / 0.6248 GB, free: 8.434 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002368/0.6341, allocations: 0.8557 MB / 0.6256 GB, free: 7.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000142/0.6343, allocations: 179.4 kB / 0.6258 GB, free: 7.523 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004138/0.6384, allocations: 0.5554 MB / 0.6263 GB, free: 6.965 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004724/0.6389, allocations: 236 kB / 0.6265 GB, free: 6.734 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.00408/0.643, allocations: 1.639 MB / 0.6281 GB, free: 5.164 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00129/0.6443, allocations: 405.3 kB / 0.6285 GB, free: 4.766 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/0.6459, allocations: 405.7 kB / 0.6289 GB, free: 4.363 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.6459, allocations: 4.562 kB / 0.6289 GB, free: 4.359 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/0.6459, allocations: 4 kB / 0.6289 GB, free: 4.355 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.6459, allocations: 0 / 0.6289 GB, free: 4.355 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/0.6561, allocations: 4.784 MB / 0.6336 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.208e-05/0.6562, allocations: 12.75 kB / 0.6336 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003054/0.6565, allocations: 115.8 kB / 0.6337 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.866e-05/0.6565, allocations: 16 kB / 0.6337 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.87e-05/0.6566, allocations: 28 kB / 0.6338 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.858e-05/0.6566, allocations: 27.92 kB / 0.6338 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.228e-05/0.6566, allocations: 20.38 kB / 0.6338 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.6583, allocations: 1.262 MB / 0.635 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/0.6596, allocations: 0.4982 MB / 0.6355 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001017/0.6606, allocations: 27.98 kB / 0.6356 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/0.6623, allocations: 39.55 kB / 0.6356 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.6624, allocations: 87.56 kB / 0.6357 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-05/0.6625, allocations: 32 kB / 0.6357 GB, free: 13.01 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006527/0.669, allocations: 3.196 MB / 0.6388 GB, free: 9.824 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.669, allocations: 0 / 0.6388 GB, free: 9.824 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00485/0.6739, allocations: 0.8444 MB / 0.6397 GB, free: 8.98 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.002626/0.6765, allocations: 1.844 MB / 0.6415 GB, free: 6.922 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003482/0.68, allocations: 1.934 MB / 0.6433 GB, free: 5.016 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/0.6801, allocations: 4 kB / 0.6433 GB, free: 5.012 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003905/0.6805, allocations: 266.4 kB / 0.6436 GB, free: 4.754 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00528/0.6858, allocations: 0.668 MB / 0.6443 GB, free: 4.105 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06397/0.7497, allocations: 35.2 MB / 0.6786 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004561/0.7543, allocations: 2.872 MB / 0.6814 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002976/0.7574, allocations: 1.158 MB / 0.6826 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002439/0.7598, allocations: 1.722 MB / 0.6842 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of SimCode: time 6.81e-07/0.7598, allocations: 0 / 0.6842 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1111/0.871, allocations: 67.03 MB / 0.7497 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.82/16.69, allocations: 0 / 0.7497 GB, free: 4.371 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