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.001297/0.001297, allocations: 111 kB / 16.41 MB, free: 6.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.001344/0.001344, allocations: 185.5 kB / 17.34 MB, free: 5.758 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.549/1.549, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2163/0.2163, allocations: 43.52 MB / 314.1 MB, free: 476 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.002053/0.002054, allocations: 68.28 kB / 441.3 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1193, allocations: 57.8 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01639/0.1357, allocations: 14.73 MB / 0.5018 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0101/0.1459, allocations: 4.673 MB / 0.5064 GB, free: 8.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002126/0.148, allocations: 103.7 kB / 0.5065 GB, free: 8.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006346/0.1544, allocations: 3.111 MB / 0.5095 GB, free: 5.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005549/0.16, allocations: 2.062 MB / 0.5115 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002301/0.1624, allocations: 1.022 MB / 0.5125 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009878/0.1723, allocations: 6.356 MB / 0.5187 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005565/0.1779, allocations: 3.642 MB / 0.5223 GB, free: 8.438 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004178/0.1821, allocations: 1.838 MB / 0.5241 GB, free: 6.594 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004893/0.187, allocations: 2.637 MB / 0.5266 GB, free: 3.949 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00163/0.1887, allocations: 360 kB / 0.527 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003181/0.1919, allocations: 0.9131 MB / 0.5279 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003667/0.1956, allocations: 2.295 MB / 0.5301 GB, free: 392 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2564/0.4521, allocations: 2.405 MB / 0.5325 GB, free: 11.4 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01136/0.4635, allocations: 7.067 MB / 0.5394 GB, free: 10.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.4635, allocations: 3.094 kB / 0.5394 GB, free: 10.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4635, allocations: 0 / 0.5394 GB, free: 10.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003073/0.4638, allocations: 0 / 0.5394 GB, free: 10.38 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.02269/0.4865, allocations: 5.645 MB / 0.5449 GB, free: 8.125 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.856e-05/0.4866, allocations: 12.89 kB / 0.5449 GB, free: 8.121 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003148/0.4898, allocations: 0.5108 MB / 0.5454 GB, free: 8.062 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1103/0.6001, allocations: 8.23 MB / 0.5534 GB, free: 7.664 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01253/0.6127, allocations: 6.526 MB / 0.5598 GB, free: 6.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001876/0.6129, allocations: 208.2 kB / 0.56 GB, free: 6.453 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008746/0.6138, allocations: 286.2 kB / 0.5603 GB, free: 6.367 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/0.6248, allocations: 6.919 MB / 0.567 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001353/0.625, allocations: 59.38 kB / 0.5671 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003157/0.6253, allocations: 127.9 kB / 0.5672 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001318/0.6266, allocations: 0.9974 MB / 0.5682 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0111/0.6377, allocations: 4.93 MB / 0.573 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04274/0.6805, allocations: 27.39 MB / 0.5997 GB, free: 3.664 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002708/0.6833, allocations: 0.7304 MB / 0.6005 GB, free: 2.895 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003837/0.6837, allocations: 220.3 kB / 0.6007 GB, free: 2.664 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.249e-05/0.6838, allocations: 14.12 kB / 0.6007 GB, free: 2.656 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.6838, allocations: 38.56 kB / 0.6007 GB, free: 2.609 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 2.495e-06/0.6838, allocations: 0 / 0.6007 GB, free: 2.609 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.008436/0.6923, allocations: 2.21 MB / 0.6029 GB, free: 416 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002221/0.6925, allocations: 247.3 kB / 0.6031 GB, free: 112 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01026/0.7028, allocations: 4.846 MB / 0.6078 GB, free: 11.27 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001246/0.703, allocations: 33.7 kB / 0.6079 GB, free: 11.23 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003453/0.7064, allocations: 2.853 MB / 0.6107 GB, free: 8.387 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003585/0.7068, allocations: 201.9 kB / 0.6109 GB, free: 8.191 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001231/0.7081, allocations: 0.7224 MB / 0.6116 GB, free: 7.461 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.7082, allocations: 309.1 kB / 0.6119 GB, free: 7.156 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/0.7098, allocations: 0.7993 MB / 0.6126 GB, free: 6.359 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003855/0.7136, allocations: 3.408 MB / 0.616 GB, free: 1.668 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005904/0.7196, allocations: 4.55 MB / 0.6204 GB, free: 12.19 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-05/0.7197, allocations: 28 kB / 0.6204 GB, free: 12.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.01034/0.7301, allocations: 4.072 MB / 0.6244 GB, free: 8.645 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.615e-05/0.7302, allocations: 52.95 kB / 0.6245 GB, free: 8.594 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001423/0.7303, allocations: 92 kB / 0.6246 GB, free: 8.504 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001408/0.7305, allocations: 128 kB / 0.6247 GB, free: 8.379 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00246/0.733, allocations: 0.8445 MB / 0.6255 GB, free: 7.613 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001545/0.7331, allocations: 190.8 kB / 0.6257 GB, free: 7.469 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004228/0.7374, allocations: 0.5508 MB / 0.6262 GB, free: 6.914 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004155/0.7378, allocations: 232 kB / 0.6264 GB, free: 6.688 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.003357/0.7412, allocations: 1.648 MB / 0.628 GB, free: 5.109 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001063/0.7422, allocations: 401.3 kB / 0.6284 GB, free: 4.715 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.7433, allocations: 401.8 kB / 0.6288 GB, free: 4.316 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.7433, allocations: 8 kB / 0.6288 GB, free: 4.309 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.7433, allocations: 0 / 0.6288 GB, free: 4.309 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.7433, allocations: 3.984 kB / 0.6288 GB, free: 4.305 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008552/0.7519, allocations: 4.78 MB / 0.6335 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.838e-05/0.7519, allocations: 16 kB / 0.6335 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003145/0.7522, allocations: 115.8 kB / 0.6336 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.322e-05/0.7523, allocations: 16.69 kB / 0.6336 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-05/0.7523, allocations: 24 kB / 0.6337 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.94e-05/0.7523, allocations: 23.92 kB / 0.6337 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.027e-05/0.7524, allocations: 23.88 kB / 0.6337 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.7542, allocations: 1.264 MB / 0.6349 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/0.7555, allocations: 0.502 MB / 0.6354 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005106/0.756, allocations: 33.11 kB / 0.6355 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.7571, allocations: 39.98 kB / 0.6355 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.7572, allocations: 87.56 kB / 0.6356 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.776e-05/0.7573, allocations: 32 kB / 0.6356 GB, free: 12.94 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006954/0.7642, allocations: 3.191 MB / 0.6387 GB, free: 9.762 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.7643, allocations: 4 kB / 0.6387 GB, free: 9.758 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004928/0.7692, allocations: 0.8422 MB / 0.6396 GB, free: 8.914 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.002757/0.772, allocations: 1.842 MB / 0.6414 GB, free: 6.855 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004016/0.776, allocations: 1.938 MB / 0.6432 GB, free: 4.949 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.778e-05/0.7761, allocations: 4 kB / 0.6432 GB, free: 4.945 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004449/0.7765, allocations: 262.4 kB / 0.6435 GB, free: 4.691 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00471/0.7812, allocations: 0.6646 MB / 0.6441 GB, free: 4.047 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06681/0.8481, allocations: 35.2 MB / 0.6785 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004206/0.8523, allocations: 2.869 MB / 0.6813 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003125/0.8555, allocations: 1.158 MB / 0.6825 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002619/0.8581, allocations: 1.729 MB / 0.6841 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of SimCode: time 1.372e-06/0.8582, allocations: 0 / 0.6841 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1362/0.9944, allocations: 67.02 MB / 0.7496 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.03/18.02, allocations: 4.062 kB / 0.7496 GB, free: 4.316 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