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.001182/0.001183, allocations: 110.8 kB / 16.27 MB, free: 6.41 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.001212/0.001212, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.376/1.376, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2109/0.2109, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 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.00171/0.00171, allocations: 73.17 kB / 382.8 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1059, allocations: 57.78 MB / 440.6 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01354/0.1195, allocations: 14.73 MB / 455.3 MB, free: 8.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01078/0.1303, allocations: 4.673 MB / 460 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003153/0.1335, allocations: 103.7 kB / 460.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006463/0.14, allocations: 3.119 MB / 463.2 MB, free: 112 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005458/0.1455, allocations: 2.062 MB / 465.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002555/0.1481, allocations: 1.014 MB / 466.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008741/0.1569, allocations: 6.348 MB / 472.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00494/0.1619, allocations: 3.657 MB / 476.3 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003844/0.1657, allocations: 1.83 MB / 478.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004087/0.1699, allocations: 2.649 MB / 480.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001098/0.171, allocations: 356 kB / 481.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002234/0.1732, allocations: 0.9092 MB / 482.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002772/0.176, allocations: 2.291 MB / 484.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004326/0.1804, allocations: 2.421 MB / 486.8 MB, free: 8.453 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009309/0.1897, allocations: 6.916 MB / 493.7 MB, free: 1.516 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1898, allocations: 0 / 493.7 MB, free: 1.516 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1898, allocations: 0 / 493.7 MB, free: 1.516 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002884/0.1901, allocations: 0 / 493.7 MB, free: 1.516 MB / 366.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.01653/0.2066, allocations: 5.509 MB / 499.2 MB, free: 11.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.2067, allocations: 15.89 kB / 499.2 MB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001415/0.2081, allocations: 0.5042 MB / 499.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1033/0.3115, allocations: 8.2 MB / 0.496 GB, free: 3.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01201/0.3235, allocations: 6.409 MB / 0.5023 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000281/0.3238, allocations: 201.6 kB / 0.5025 GB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00112/0.325, allocations: 295.7 kB / 0.5027 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01762/0.3426, allocations: 6.914 MB / 0.5095 GB, free: 4.754 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001959/0.3428, allocations: 59.47 kB / 0.5095 GB, free: 4.695 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004636/0.3433, allocations: 127.9 kB / 0.5097 GB, free: 4.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002362/0.3457, allocations: 0.9978 MB / 0.5106 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01575/0.3615, allocations: 4.932 MB / 0.5155 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2651/0.6266, allocations: 27.35 MB / 0.5422 GB, free: 69.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002215/0.6289, allocations: 0.738 MB / 0.5429 GB, free: 68.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.6292, allocations: 226 kB / 0.5431 GB, free: 68.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.6292, allocations: 11.77 kB / 0.5431 GB, free: 68.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.6292, allocations: 43.64 kB / 0.5432 GB, free: 68.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=37): time 2.846e-06/0.6292, allocations: 3.828 kB / 0.5432 GB, free: 68.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=37): time 0.006828/0.6361, allocations: 2.201 MB / 0.5453 GB, free: 68.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.6361, allocations: 243.4 kB / 0.5455 GB, free: 68.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005229/0.6414, allocations: 4.83 MB / 0.5503 GB, free: 67.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.6414, allocations: 31.7 kB / 0.5503 GB, free: 67.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001468/0.6429, allocations: 2.773 MB / 0.553 GB, free: 65.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.643, allocations: 195.6 kB / 0.5532 GB, free: 65.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005641/0.6436, allocations: 0.722 MB / 0.5539 GB, free: 65.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.756e-05/0.6436, allocations: 304.8 kB / 0.5542 GB, free: 65.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008906/0.6445, allocations: 0.7895 MB / 0.555 GB, free: 64.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001744/0.6462, allocations: 3.418 MB / 0.5583 GB, free: 60.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002777/0.649, allocations: 4.546 MB / 0.5627 GB, free: 56.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.632e-05/0.6491, allocations: 27.19 kB / 0.5628 GB, free: 56.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.004893/0.654, allocations: 4.054 MB / 0.5667 GB, free: 54.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.337e-05/0.654, allocations: 45.03 kB / 0.5668 GB, free: 54.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.647e-05/0.6541, allocations: 95.19 kB / 0.5669 GB, free: 54.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.801e-05/0.6542, allocations: 122.6 kB / 0.567 GB, free: 54.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/0.656, allocations: 0.8574 MB / 0.5678 GB, free: 53.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.639e-05/0.6561, allocations: 179 kB / 0.568 GB, free: 53.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002949/0.659, allocations: 0.5387 MB / 0.5685 GB, free: 53.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001758/0.6592, allocations: 235.3 kB / 0.5687 GB, free: 53.48 MB / 414.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.001779/0.661, allocations: 1.642 MB / 0.5703 GB, free: 51.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003982/0.6614, allocations: 387.1 kB / 0.5707 GB, free: 51.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004044/0.6618, allocations: 405.8 kB / 0.5711 GB, free: 51.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.6618, allocations: 4 kB / 0.5711 GB, free: 51.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.6618, allocations: 0 / 0.5711 GB, free: 51.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.6619, allocations: 7.984 kB / 0.5711 GB, free: 51.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00463/0.6665, allocations: 4.78 MB / 0.5758 GB, free: 46.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.6665, allocations: 19.98 kB / 0.5758 GB, free: 46.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/0.6668, allocations: 115.7 kB / 0.5759 GB, free: 46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-05/0.6668, allocations: 16 kB / 0.5759 GB, free: 45.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.6668, allocations: 27.98 kB / 0.5759 GB, free: 45.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.176e-05/0.6668, allocations: 23.88 kB / 0.576 GB, free: 45.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.797e-06/0.6669, allocations: 19.94 kB / 0.576 GB, free: 45.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008456/0.6677, allocations: 1.252 MB / 0.5772 GB, free: 44.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006058/0.6683, allocations: 491.9 kB / 0.5777 GB, free: 43.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003159/0.6686, allocations: 33.2 kB / 0.5777 GB, free: 43.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008435/0.6695, allocations: 31.98 kB / 0.5777 GB, free: 43.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.6696, allocations: 91.56 kB / 0.5778 GB, free: 43.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.6696, allocations: 32 kB / 0.5779 GB, free: 43.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003214/0.6728, allocations: 3.189 MB / 0.581 GB, free: 40.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6728, allocations: 0 / 0.581 GB, free: 40.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002897/0.6757, allocations: 0.8416 MB / 0.5818 GB, free: 39.73 MB / 414.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.001004/0.6767, allocations: 1.825 MB / 0.5836 GB, free: 37.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002291/0.679, allocations: 1.926 MB / 0.5854 GB, free: 35.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.6791, allocations: 8.188 kB / 0.5855 GB, free: 35.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.6793, allocations: 267 kB / 0.5857 GB, free: 35.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/0.6818, allocations: 0.6737 MB / 0.5864 GB, free: 34.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0489/0.7307, allocations: 43.59 MB / 0.6289 GB, free: 292 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0032/0.734, allocations: 2.871 MB / 0.6317 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003138/0.7372, allocations: 1.161 MB / 0.6329 GB, free: 12.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001945/0.7391, allocations: 1.722 MB / 0.6346 GB, free: 10.51 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.7392, allocations: 0 / 0.6346 GB, free: 10.51 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1259/0.865, allocations: 68.56 MB / 0.7015 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.566/10.43, allocations: 3.938 kB / 0.7015 GB, free: 5.887 MB / 0.4981 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