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.001122/0.001122, allocations: 104.1 kB / 17.63 MB, free: 5.504 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.001152/0.001152, allocations: 192 kB / 18.56 MB, free: 4.578 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.395/1.395, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2074/0.2074, allocations: 44.18 MB / 336.6 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 62.53 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1075, allocations: 60.83 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01367/0.1212, allocations: 14.68 MB / 484 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009521/0.1308, allocations: 4.664 MB / 488.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002279/0.1331, allocations: 99.69 kB / 488.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005941/0.1391, allocations: 3.115 MB / 491.9 MB, free: 7.598 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005657/0.1448, allocations: 2.058 MB / 494 MB, free: 5.535 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002279/0.1471, allocations: 1.006 MB / 495 MB, free: 4.527 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01018/0.1573, allocations: 6.676 MB / 0.4899 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005825/0.1632, allocations: 3.645 MB / 0.4935 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00385/0.167, allocations: 1.811 MB / 0.4952 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004452/0.1715, allocations: 2.625 MB / 0.4978 GB, free: 5.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001595/0.1732, allocations: 356 kB / 0.4981 GB, free: 5.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002825/0.176, allocations: 0.9169 MB / 0.499 GB, free: 4.406 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003118/0.1791, allocations: 2.264 MB / 0.5012 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.227/0.4061, allocations: 2.391 MB / 0.5036 GB, free: 21.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01197/0.4181, allocations: 6.852 MB / 0.5103 GB, free: 20.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.4182, allocations: 0 / 0.5103 GB, free: 20.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4182, allocations: 0 / 0.5103 GB, free: 20.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003038/0.4185, allocations: 1.531 kB / 0.5103 GB, free: 20.9 MB / 382.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.01972/0.4382, allocations: 5.458 MB / 0.5156 GB, free: 18.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.4383, allocations: 9.344 kB / 0.5156 GB, free: 18.81 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001773/0.4401, allocations: 0.513 MB / 0.5161 GB, free: 18.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.107/0.5471, allocations: 8.196 MB / 0.5241 GB, free: 18.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01117/0.5583, allocations: 5.637 MB / 0.5296 GB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002028/0.5586, allocations: 203.8 kB / 0.5298 GB, free: 16.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001522/0.5601, allocations: 288.4 kB / 0.5301 GB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01582/0.5759, allocations: 6.911 MB / 0.5368 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002909/0.5762, allocations: 60.58 kB / 0.5369 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001024/0.5773, allocations: 127.2 kB / 0.537 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001479/0.5788, allocations: 1.002 MB / 0.538 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01006/0.5888, allocations: 4.93 MB / 0.5428 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03673/0.6256, allocations: 27.28 MB / 0.5694 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002777/0.6284, allocations: 0.7366 MB / 0.5702 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003759/0.6288, allocations: 218.7 kB / 0.5704 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.231e-05/0.6289, allocations: 18.17 kB / 0.5704 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/0.6289, allocations: 45.27 kB / 0.5704 GB, free: 10.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=37): time 2.364e-06/0.629, allocations: 0 / 0.5704 GB, free: 10.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=37): time 0.007092/0.6361, allocations: 1.955 MB / 0.5723 GB, free: 8.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.6362, allocations: 242 kB / 0.5726 GB, free: 8.391 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009966/0.6462, allocations: 4.758 MB / 0.5772 GB, free: 3.633 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.045e-05/0.6463, allocations: 33.7 kB / 0.5772 GB, free: 3.594 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002536/0.6488, allocations: 2.76 MB / 0.5799 GB, free: 0.832 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002968/0.6491, allocations: 191.7 kB / 0.5801 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001287/0.6504, allocations: 0.7208 MB / 0.5808 GB, free: 15.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.6506, allocations: 305.1 kB / 0.5811 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001594/0.6522, allocations: 0.7954 MB / 0.5819 GB, free: 14.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002825/0.655, allocations: 3.415 MB / 0.5852 GB, free: 10.13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005118/0.6601, allocations: 4.546 MB / 0.5897 GB, free: 4.652 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.897e-05/0.6602, allocations: 24 kB / 0.5897 GB, free: 4.629 MB / 430.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.0077/0.6679, allocations: 4.059 MB / 0.5937 GB, free: 1.121 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.397e-05/0.668, allocations: 44 kB / 0.5937 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001611/0.6682, allocations: 96.84 kB / 0.5938 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001419/0.6684, allocations: 124 kB / 0.5939 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002565/0.6709, allocations: 0.8523 MB / 0.5947 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001794/0.6711, allocations: 186.6 kB / 0.5949 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004468/0.6756, allocations: 0.5413 MB / 0.5954 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005527/0.6762, allocations: 234.2 kB / 0.5957 GB, free: 15.18 MB / 446.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.003955/0.6801, allocations: 1.624 MB / 0.5973 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001392/0.6815, allocations: 375.2 kB / 0.5976 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001687/0.6833, allocations: 397.2 kB / 0.598 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.6833, allocations: 4 kB / 0.598 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/0.6833, allocations: 7.984 kB / 0.598 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.6833, allocations: 0 / 0.598 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01179/0.6951, allocations: 4.765 MB / 0.6027 GB, free: 7.918 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-05/0.6952, allocations: 12 kB / 0.6027 GB, free: 7.906 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/0.6955, allocations: 115.7 kB / 0.6028 GB, free: 7.805 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.096e-05/0.6956, allocations: 16 kB / 0.6028 GB, free: 7.789 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.176e-05/0.6956, allocations: 24 kB / 0.6028 GB, free: 7.766 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-05/0.6956, allocations: 22.19 kB / 0.6028 GB, free: 7.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.238e-05/0.6956, allocations: 19.56 kB / 0.6029 GB, free: 7.734 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.6975, allocations: 1.258 MB / 0.6041 GB, free: 6.273 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001292/0.6988, allocations: 487.9 kB / 0.6046 GB, free: 5.773 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008089/0.6996, allocations: 31.98 kB / 0.6046 GB, free: 5.742 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/0.701, allocations: 35.98 kB / 0.6046 GB, free: 5.707 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.667e-05/0.7011, allocations: 87.56 kB / 0.6047 GB, free: 5.621 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.446e-05/0.7011, allocations: 32 kB / 0.6047 GB, free: 5.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005989/0.7071, allocations: 3.133 MB / 0.6078 GB, free: 2.465 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.7072, allocations: 4 kB / 0.6078 GB, free: 2.461 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004274/0.7114, allocations: 0.8338 MB / 0.6086 GB, free: 1.625 MB / 446.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.001954/0.7134, allocations: 1.825 MB / 0.6104 GB, free: 15.58 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003269/0.7167, allocations: 1.935 MB / 0.6123 GB, free: 13.67 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/0.7167, allocations: 8.125 kB / 0.6123 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003347/0.7171, allocations: 262.6 kB / 0.6125 GB, free: 13.41 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00415/0.7212, allocations: 0.6667 MB / 0.6132 GB, free: 12.75 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06938/0.7906, allocations: 42.85 MB / 0.655 GB, free: 11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005865/0.7965, allocations: 2.85 MB / 0.6578 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004591/0.8011, allocations: 1.154 MB / 0.6589 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003853/0.805, allocations: 1.698 MB / 0.6606 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of SimCode: time 1.864e-06/0.8051, allocations: 7.938 kB / 0.6606 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3003/1.105, allocations: 67.8 MB / 0.7268 GB, free: 179.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.773/10.88, allocations: 4.75 kB / 0.7268 GB, free: 179.8 MB / 0.5294 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