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.001489/0.001489, allocations: 105.5 kB / 16.4 MB, free: 6.445 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.001639/0.001639, allocations: 192.1 kB / 17.34 MB, free: 5.719 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.379/1.379, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.1948/0.1948, 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.001754/0.001754, allocations: 65.8 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1066, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01462/0.1213, allocations: 14.74 MB / 0.5018 GB, free: 13.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01006/0.1314, allocations: 4.665 MB / 0.5063 GB, free: 8.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002487/0.1339, allocations: 99.69 kB / 0.5064 GB, free: 8.695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006364/0.1403, allocations: 3.119 MB / 0.5095 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006363/0.1468, allocations: 2.062 MB / 0.5115 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.149, allocations: 1.022 MB / 0.5125 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008041/0.1571, allocations: 6.348 MB / 0.5187 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004716/0.1619, allocations: 3.645 MB / 0.5223 GB, free: 8.395 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003267/0.1652, allocations: 1.838 MB / 0.524 GB, free: 6.551 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003824/0.169, allocations: 2.653 MB / 0.5266 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001249/0.1703, allocations: 356 kB / 0.527 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002967/0.1733, allocations: 0.9209 MB / 0.5279 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002959/0.1763, allocations: 2.33 MB / 0.5302 GB, free: 292 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2285/0.4048, allocations: 2.407 MB / 0.5325 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008998/0.4138, allocations: 7.039 MB / 0.5394 GB, free: 10.8 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.4139, allocations: 0.75 kB / 0.5394 GB, free: 10.8 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.4139, allocations: 0 / 0.5394 GB, free: 10.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002694/0.4141, allocations: 0 / 0.5394 GB, free: 10.8 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.01873/0.4329, allocations: 5.505 MB / 0.5448 GB, free: 8.684 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.433, allocations: 17.08 kB / 0.5448 GB, free: 8.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001789/0.4348, allocations: 0.511 MB / 0.5453 GB, free: 8.621 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1102/0.545, allocations: 8.202 MB / 0.5533 GB, free: 8.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0121/0.5571, allocations: 6.492 MB / 0.5596 GB, free: 6.848 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002306/0.5574, allocations: 210 kB / 0.5598 GB, free: 6.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001262/0.5587, allocations: 289 kB / 0.5601 GB, free: 6.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01273/0.5714, allocations: 6.918 MB / 0.5669 GB, free: 2.297 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001743/0.5716, allocations: 56.23 kB / 0.5669 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004453/0.5721, allocations: 126 kB / 0.567 GB, free: 2.215 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001588/0.5737, allocations: 0.9966 MB / 0.568 GB, free: 1.848 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01058/0.5843, allocations: 4.931 MB / 0.5728 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03957/0.6239, allocations: 27.33 MB / 0.5995 GB, free: 4.031 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002647/0.6266, allocations: 0.7356 MB / 0.6002 GB, free: 3.258 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000381/0.627, allocations: 220.3 kB / 0.6004 GB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.267e-05/0.6271, allocations: 9.047 kB / 0.6004 GB, free: 3.023 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.6271, allocations: 51.52 kB / 0.6005 GB, free: 2.969 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 2.966e-06/0.6271, allocations: 0 / 0.6005 GB, free: 2.969 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.008102/0.6352, allocations: 2.188 MB / 0.6026 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.6354, allocations: 240.7 kB / 0.6029 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009229/0.6446, allocations: 4.83 MB / 0.6076 GB, free: 11.67 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.237e-05/0.6447, allocations: 37.7 kB / 0.6076 GB, free: 11.62 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002119/0.6469, allocations: 2.772 MB / 0.6103 GB, free: 8.855 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.6471, allocations: 192.6 kB / 0.6105 GB, free: 8.668 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008525/0.6479, allocations: 0.7217 MB / 0.6112 GB, free: 7.938 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.648e-05/0.648, allocations: 318.5 kB / 0.6115 GB, free: 7.629 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.6493, allocations: 0.795 MB / 0.6123 GB, free: 6.836 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002606/0.6519, allocations: 3.411 MB / 0.6156 GB, free: 2.141 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004381/0.6563, allocations: 4.539 MB / 0.6201 GB, free: 12.67 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.333e-05/0.6564, allocations: 28.56 kB / 0.6201 GB, free: 12.64 MB / 478.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.007676/0.6641, allocations: 4.054 MB / 0.624 GB, free: 9.137 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.6642, allocations: 48 kB / 0.6241 GB, free: 9.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001303/0.6643, allocations: 92.75 kB / 0.6242 GB, free: 9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001658/0.6645, allocations: 130.9 kB / 0.6243 GB, free: 8.875 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002441/0.667, allocations: 0.848 MB / 0.6251 GB, free: 8.105 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000156/0.6671, allocations: 187.4 kB / 0.6253 GB, free: 7.965 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004594/0.6717, allocations: 0.5375 MB / 0.6258 GB, free: 7.422 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000563/0.6723, allocations: 232 kB / 0.626 GB, free: 7.195 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.003679/0.676, allocations: 1.644 MB / 0.6277 GB, free: 5.621 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001201/0.6772, allocations: 379.1 kB / 0.628 GB, free: 5.246 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/0.6786, allocations: 405.7 kB / 0.6284 GB, free: 4.844 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.6786, allocations: 8 kB / 0.6284 GB, free: 4.836 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/0.6787, allocations: 0 / 0.6284 GB, free: 4.836 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.6787, allocations: 3.562 kB / 0.6284 GB, free: 4.836 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/0.6889, allocations: 4.786 MB / 0.6331 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-05/0.6889, allocations: 16 kB / 0.6331 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/0.6893, allocations: 111.6 kB / 0.6332 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.735e-05/0.6893, allocations: 20 kB / 0.6332 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.79e-05/0.6893, allocations: 24 kB / 0.6333 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.011e-05/0.6894, allocations: 27.86 kB / 0.6333 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.276e-05/0.6894, allocations: 19.94 kB / 0.6333 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.691, allocations: 1.242 MB / 0.6345 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001419/0.6925, allocations: 483.9 kB / 0.635 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008582/0.6933, allocations: 31.98 kB / 0.635 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00156/0.6949, allocations: 39.98 kB / 0.635 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.898e-05/0.695, allocations: 91.5 kB / 0.6351 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/0.6951, allocations: 32 kB / 0.6352 GB, free: 13.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005622/0.7007, allocations: 3.192 MB / 0.6383 GB, free: 10.35 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.756e-06/0.7007, allocations: 4 kB / 0.6383 GB, free: 10.35 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004473/0.7052, allocations: 0.8376 MB / 0.6391 GB, free: 9.508 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.002137/0.7074, allocations: 1.823 MB / 0.6409 GB, free: 7.469 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00336/0.7107, allocations: 1.931 MB / 0.6428 GB, free: 5.559 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/0.7108, allocations: 3.938 kB / 0.6428 GB, free: 5.555 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000364/0.7112, allocations: 270.4 kB / 0.643 GB, free: 5.293 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004669/0.7158, allocations: 0.6693 MB / 0.6437 GB, free: 4.645 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06264/0.7785, allocations: 35.03 MB / 0.6779 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004382/0.7829, allocations: 2.872 MB / 0.6807 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00331/0.7863, allocations: 1.162 MB / 0.6818 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002606/0.7889, allocations: 1.722 MB / 0.6835 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of SimCode: time 7.61e-07/0.7889, allocations: 0 / 0.6835 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.115/0.904, allocations: 67.81 MB / 0.7497 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.16/17.06, allocations: 11.98 kB / 0.7497 GB, free: 4.305 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 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.mat","/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