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.001226/0.001226, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001328/0.001328, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.387/1.387, allocations: 222.9 MB / 242.4 MB, free: 15.17 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.2055/0.2055, allocations: 44.18 MB / 336.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.001401, allocations: 63.91 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.326, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01568/0.3417, allocations: 14.69 MB / 0.5328 GB, free: 8.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0107/0.3525, allocations: 4.661 MB / 0.5373 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003014/0.3555, allocations: 99.94 kB / 0.5374 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006432/0.362, allocations: 3.11 MB / 0.5404 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005592/0.3677, allocations: 2.047 MB / 0.5424 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002677/0.3704, allocations: 1.022 MB / 0.5434 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0105/0.3809, allocations: 6.666 MB / 0.5499 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005058/0.386, allocations: 3.641 MB / 0.5535 GB, free: 8.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003363/0.3894, allocations: 1.823 MB / 0.5553 GB, free: 6.242 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00389/0.3933, allocations: 2.629 MB / 0.5578 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001223/0.3946, allocations: 363.9 kB / 0.5582 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002576/0.3972, allocations: 0.9092 MB / 0.5591 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003075/0.4003, allocations: 2.303 MB / 0.5613 GB, free: 32 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004164/0.4045, allocations: 2.39 MB / 0.5637 GB, free: 13.63 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009336/0.4138, allocations: 6.982 MB / 0.5705 GB, free: 6.625 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.4139, allocations: 4 kB / 0.5705 GB, free: 6.621 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.879e-06/0.4139, allocations: 3.984 kB / 0.5705 GB, free: 6.617 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002559/0.4142, allocations: 0 / 0.5705 GB, free: 6.617 MB / 430.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.0152/0.4294, allocations: 5.447 MB / 0.5758 GB, free: 1.098 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.4294, allocations: 8.031 kB / 0.5758 GB, free: 1.09 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001382/0.4308, allocations: 0.512 MB / 0.5763 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1102/0.5411, allocations: 8.204 MB / 0.5843 GB, free: 8.352 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01205/0.5532, allocations: 5.722 MB / 0.5899 GB, free: 2.555 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002151/0.5534, allocations: 205.6 kB / 0.5901 GB, free: 2.352 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001025/0.5545, allocations: 295.6 kB / 0.5904 GB, free: 2.062 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01368/0.5682, allocations: 6.91 MB / 0.5971 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002123/0.5684, allocations: 55.55 kB / 0.5972 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006346/0.5691, allocations: 131.9 kB / 0.5973 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001558/0.5706, allocations: 0.9978 MB / 0.5983 GB, free: 9.41 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/0.5811, allocations: 4.932 MB / 0.6031 GB, free: 4.473 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03284/0.614, allocations: 27.26 MB / 0.6297 GB, free: 8.465 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002465/0.6165, allocations: 0.7347 MB / 0.6305 GB, free: 7.684 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003467/0.6169, allocations: 212.3 kB / 0.6307 GB, free: 7.461 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.338e-05/0.6169, allocations: 12.3 kB / 0.6307 GB, free: 7.449 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.617, allocations: 46.48 kB / 0.6307 GB, free: 7.395 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 2.865e-06/0.617, allocations: 4.328 kB / 0.6307 GB, free: 7.391 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.0068/0.6238, allocations: 1.944 MB / 0.6326 GB, free: 5.434 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.6239, allocations: 239.3 kB / 0.6328 GB, free: 5.145 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008023/0.632, allocations: 4.761 MB / 0.6375 GB, free: 392 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.045e-05/0.6321, allocations: 33.7 kB / 0.6375 GB, free: 352 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002426/0.6345, allocations: 2.761 MB / 0.6402 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/0.6348, allocations: 194.1 kB / 0.6404 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/0.6359, allocations: 0.7179 MB / 0.6411 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.106e-05/0.636, allocations: 301.1 kB / 0.6414 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.6373, allocations: 0.7954 MB / 0.6422 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002874/0.6402, allocations: 3.418 MB / 0.6455 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004472/0.6447, allocations: 4.55 MB / 0.65 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.503e-05/0.6448, allocations: 32 kB / 0.65 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.00745/0.6523, allocations: 4.043 MB / 0.6539 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.549e-05/0.6524, allocations: 47.94 kB / 0.654 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001207/0.6525, allocations: 96 kB / 0.6541 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001246/0.6527, allocations: 128 kB / 0.6542 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002409/0.6551, allocations: 0.846 MB / 0.655 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001589/0.6553, allocations: 187.4 kB / 0.6552 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003595/0.6589, allocations: 0.5374 MB / 0.6557 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004976/0.6594, allocations: 232 kB / 0.6559 GB, free: 10.77 MB / 0.5137 GB 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.002789/0.6622, allocations: 1.629 MB / 0.6575 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008253/0.663, allocations: 379.1 kB / 0.6579 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008851/0.6639, allocations: 397.2 kB / 0.6583 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.664, allocations: 4 kB / 0.6583 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.664, allocations: 7.984 kB / 0.6583 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.664, allocations: 0 / 0.6583 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008747/0.6727, allocations: 4.76 MB / 0.6629 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.178e-05/0.6728, allocations: 12 kB / 0.6629 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003324/0.6731, allocations: 116 kB / 0.6631 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.821e-05/0.6732, allocations: 16.81 kB / 0.6631 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.376e-05/0.6732, allocations: 32 kB / 0.6631 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.928e-05/0.6732, allocations: 31.88 kB / 0.6631 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.595e-05/0.6733, allocations: 23.88 kB / 0.6632 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.6748, allocations: 1.239 MB / 0.6644 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/0.6761, allocations: 476 kB / 0.6648 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007043/0.6768, allocations: 31.98 kB / 0.6648 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/0.6782, allocations: 31.98 kB / 0.6649 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.6783, allocations: 87.56 kB / 0.665 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.667e-05/0.6784, allocations: 36 kB / 0.665 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005544/0.6839, allocations: 3.137 MB / 0.6681 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.41e-07/0.684, allocations: 4 kB / 0.6681 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003756/0.6877, allocations: 0.8337 MB / 0.6689 GB, free: 13 MB / 0.5294 GB 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.001976/0.6897, allocations: 1.821 MB / 0.6707 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00317/0.6929, allocations: 1.934 MB / 0.6725 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.484e-05/0.693, allocations: 4 kB / 0.6725 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003834/0.6934, allocations: 268.3 kB / 0.6728 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004041/0.6974, allocations: 0.6678 MB / 0.6735 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04922/0.7467, allocations: 34.59 MB / 0.7072 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003412/0.7501, allocations: 2.846 MB / 0.71 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003011/0.7532, allocations: 1.162 MB / 0.7111 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002145/0.7553, allocations: 1.698 MB / 0.7128 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of SimCode: time 9.42e-07/0.7553, allocations: 0 / 0.7128 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3203/1.076, allocations: 67.1 MB / 0.7783 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.54/17.62, allocations: 14.95 kB / 0.7783 GB, free: 149.7 MB / 0.5762 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 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.mat","/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