Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000778/0.0007784, allocations: 92.47 kB / 17.35 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009823/0.0009824, allocations: 195.6 kB / 18.28 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1826/0.1826, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002417/0.0002418, allocations: 8 kB / 419.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1097, allocations: 63.56 MB / 483.2 MB, free: 4.094 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.3112/0.4209, allocations: 68.42 MB / 0.5387 GB, free: 4.566 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04156/0.4625, allocations: 13.68 MB / 0.552 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01705/0.4796, allocations: 310.3 kB / 0.5523 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001692/0.4813, allocations: 365.9 kB / 0.5527 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005178/0.4865, allocations: 1.922 MB / 0.5546 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001776/0.4883, allocations: 0.9501 MB / 0.5555 GB, free: 9.758 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00972/0.498, allocations: 9.389 MB / 0.5646 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006212/0.5043, allocations: 4.891 MB / 0.5694 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002531/0.5068, allocations: 1.393 MB / 0.5708 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003304/0.5101, allocations: 2.523 MB / 0.5732 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004264/0.5106, allocations: 136 kB / 0.5734 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001432/0.512, allocations: 0.7294 MB / 0.5741 GB, free: 9.469 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001704/0.5137, allocations: 2.026 MB / 0.5761 GB, free: 7.438 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001804/0.5156, allocations: 2.075 MB / 0.5781 GB, free: 5.344 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005315/0.5209, allocations: 6.517 MB / 0.5845 GB, free: 14.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.5209, allocations: 0 / 0.5845 GB, free: 14.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.5209, allocations: 0 / 0.5845 GB, free: 14.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001314/0.5211, allocations: 4 kB / 0.5845 GB, free: 14.8 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.0112/0.5323, allocations: 4.566 MB / 0.5889 GB, free: 10.17 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/0.5323, allocations: 12.88 kB / 0.5889 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001259/0.5336, allocations: 0.5158 MB / 0.5894 GB, free: 9.633 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1064/0.64, allocations: 8.388 MB / 0.5976 GB, free: 1.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009891/0.6499, allocations: 5.086 MB / 0.6026 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/0.6501, allocations: 213.8 kB / 0.6028 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008251/0.651, allocations: 295.6 kB / 0.6031 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01293/0.6639, allocations: 6.957 MB / 0.6099 GB, free: 4.059 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002233/0.6642, allocations: 55.55 kB / 0.6099 GB, free: 4.004 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004801/0.6647, allocations: 131.9 kB / 0.6101 GB, free: 3.875 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001534/0.6662, allocations: 0.9978 MB / 0.611 GB, free: 2.879 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01031/0.6765, allocations: 4.979 MB / 0.6159 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03276/0.7093, allocations: 27.27 MB / 0.6425 GB, free: 1.871 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00243/0.7118, allocations: 0.7425 MB / 0.6432 GB, free: 1.082 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/0.7121, allocations: 220.3 kB / 0.6435 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.7122, allocations: 16.3 kB / 0.6435 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.7122, allocations: 42.5 kB / 0.6435 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of pre-optimization done (n=37): time 2.314e-06/0.7122, allocations: 0 / 0.6435 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of matching and sorting (n=37): time 0.006841/0.7191, allocations: 1.94 MB / 0.6454 GB, free: 14.83 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.7192, allocations: 251.3 kB / 0.6456 GB, free: 14.53 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00869/0.7279, allocations: 4.749 MB / 0.6503 GB, free: 9.777 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.874e-05/0.728, allocations: 29.7 kB / 0.6503 GB, free: 9.742 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00241/0.7305, allocations: 2.757 MB / 0.653 GB, free: 6.957 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002837/0.7308, allocations: 202 kB / 0.6532 GB, free: 6.758 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005035/0.7313, allocations: 317.1 kB / 0.6535 GB, free: 6.441 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.908e-05/0.7314, allocations: 301.1 kB / 0.6538 GB, free: 6.145 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001401/0.7328, allocations: 0.7915 MB / 0.6546 GB, free: 5.352 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003184/0.736, allocations: 3.421 MB / 0.6579 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005236/0.7412, allocations: 4.538 MB / 0.6623 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.405e-05/0.7413, allocations: 35.88 kB / 0.6624 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.007833/0.7492, allocations: 4.043 MB / 0.6663 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.414e-05/0.7493, allocations: 48 kB / 0.6664 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001227/0.7494, allocations: 96.06 kB / 0.6665 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001359/0.7496, allocations: 124 kB / 0.6666 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002374/0.752, allocations: 0.8622 MB / 0.6674 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001482/0.7521, allocations: 179.9 kB / 0.6676 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003461/0.7556, allocations: 0.5452 MB / 0.6681 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003091/0.7559, allocations: 232 kB / 0.6683 GB, free: 4.574 MB / 0.4981 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.002456/0.7584, allocations: 1.621 MB / 0.6699 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008467/0.7592, allocations: 383.1 kB / 0.6703 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008814/0.7601, allocations: 397.2 kB / 0.6707 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.7601, allocations: 4 kB / 0.6707 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.7601, allocations: 0 / 0.6707 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.7602, allocations: 7.984 kB / 0.6707 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008115/0.7683, allocations: 4.753 MB / 0.6753 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.41e-05/0.7683, allocations: 12 kB / 0.6753 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003103/0.7687, allocations: 115.8 kB / 0.6754 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.081e-05/0.7687, allocations: 20 kB / 0.6755 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/0.7687, allocations: 28 kB / 0.6755 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.22e-05/0.7688, allocations: 23.92 kB / 0.6755 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.468e-05/0.7688, allocations: 23.88 kB / 0.6755 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.7704, allocations: 1.236 MB / 0.6767 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/0.7717, allocations: 488 kB / 0.6772 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008434/0.7725, allocations: 31.98 kB / 0.6772 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001593/0.7741, allocations: 39.98 kB / 0.6773 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.7743, allocations: 91.5 kB / 0.6774 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.726e-05/0.7743, allocations: 32 kB / 0.6774 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006037/0.7804, allocations: 3.132 MB / 0.6805 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.01e-07/0.7804, allocations: 4 kB / 0.6805 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003947/0.7843, allocations: 0.826 MB / 0.6813 GB, free: 6.809 MB / 0.5137 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.001858/0.7862, allocations: 1.832 MB / 0.6831 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003208/0.7894, allocations: 1.9 MB / 0.6849 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/0.7895, allocations: 8.062 kB / 0.6849 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003283/0.7898, allocations: 266.7 kB / 0.6852 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01138/0.8012, allocations: 0.6279 MB / 0.6858 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2815/1.083, allocations: 44.1 MB / 0.7289 GB, free: 186.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003685/1.086, allocations: 2.844 MB / 0.7316 GB, free: 185.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003451/1.09, allocations: 1.163 MB / 0.7328 GB, free: 185.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00151/1.091, allocations: 1.702 MB / 0.7344 GB, free: 184.3 MB / 0.545 GB Notification: Performance of SimCode: time 8.82e-07/1.091, allocations: 0 / 0.7344 GB, free: 184.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08405/1.176, allocations: 65.77 MB / 0.7987 GB, free: 130.1 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001419/1.176, allocations: 184.2 kB / 0.7988 GB, free: 129.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.413/4.589, allocations: 3.75 kB / 0.7988 GB, free: 129.9 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Bodies.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches