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.001268/0.001268, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 203.8 kB / 16.79 MB, free: 6.84 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.419/1.419, allocations: 205.1 MB / 222.6 MB, free: 4.973 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3646/0.3646, allocations: 43.5 MB / 313.5 MB, free: 8.648 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.001354/0.001354, allocations: 63.91 kB / 382.1 MB, free: 8.949 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1062, allocations: 57.79 MB / 439.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.2502/0.3564, allocations: 70.67 MB / 0.4986 GB, free: 5.355 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03255/0.389, allocations: 13.93 MB / 0.5122 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01614/0.4052, allocations: 312.5 kB / 0.5125 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005918/0.4111, allocations: 3.121 MB / 0.5156 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005043/0.4162, allocations: 1.943 MB / 0.5175 GB, free: 9.691 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002022/0.4183, allocations: 0.9454 MB / 0.5184 GB, free: 9.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01107/0.4293, allocations: 8.699 MB / 0.5269 GB, free: 6.816 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004306/0.4337, allocations: 3.547 MB / 0.5303 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003105/0.4368, allocations: 1.635 MB / 0.5319 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004271/0.4411, allocations: 2.832 MB / 0.5347 GB, free: 408 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009776/0.4421, allocations: 232 kB / 0.5349 GB, free: 176 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002354/0.4445, allocations: 0.8426 MB / 0.5357 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002392/0.4469, allocations: 2.194 MB / 0.5379 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002936/0.4498, allocations: 2.245 MB / 0.5401 GB, free: 10.87 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008544/0.4584, allocations: 6.807 MB / 0.5467 GB, free: 4.043 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.4584, allocations: 0 / 0.5467 GB, free: 4.043 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4584, allocations: 0 / 0.5467 GB, free: 4.043 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001648/0.4586, allocations: 0 / 0.5467 GB, free: 4.043 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.01362/0.4722, allocations: 5.51 MB / 0.5521 GB, free: 14.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.4723, allocations: 12.03 kB / 0.5521 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008172/0.4731, allocations: 0.5042 MB / 0.5526 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08749/0.5606, allocations: 8.204 MB / 0.5606 GB, free: 5.719 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01218/0.5728, allocations: 6.405 MB / 0.5669 GB, free: 15.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001818/0.573, allocations: 205.8 kB / 0.5671 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006055/0.5736, allocations: 295.6 kB / 0.5674 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01217/0.5858, allocations: 6.906 MB / 0.5741 GB, free: 7.293 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001374/0.586, allocations: 63.44 kB / 0.5742 GB, free: 7.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003985/0.5864, allocations: 135.8 kB / 0.5743 GB, free: 7.098 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001513/0.5879, allocations: 1.002 MB / 0.5753 GB, free: 6.098 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009901/0.5978, allocations: 4.921 MB / 0.5801 GB, free: 1.168 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03179/0.6296, allocations: 27.38 MB / 0.6068 GB, free: 5.059 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002386/0.6321, allocations: 0.7425 MB / 0.6075 GB, free: 4.27 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.6324, allocations: 212.3 kB / 0.6077 GB, free: 4.047 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.6324, allocations: 12.3 kB / 0.6078 GB, free: 4.035 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.6325, allocations: 46.5 kB / 0.6078 GB, free: 3.98 MB / 478.1 MB Notification: Performance of pre-optimization done (n=37): time 2.765e-06/0.6325, allocations: 0 / 0.6078 GB, free: 3.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=37): time 0.007613/0.6401, allocations: 2.194 MB / 0.6099 GB, free: 1.773 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.6402, allocations: 235.3 kB / 0.6102 GB, free: 1.488 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006994/0.6472, allocations: 4.831 MB / 0.6149 GB, free: 12.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.595e-05/0.6473, allocations: 33.7 kB / 0.6149 GB, free: 12.62 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002006/0.6493, allocations: 2.777 MB / 0.6176 GB, free: 9.812 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/0.6496, allocations: 190.1 kB / 0.6178 GB, free: 9.625 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008248/0.6504, allocations: 0.7217 MB / 0.6185 GB, free: 8.895 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.6505, allocations: 301.1 kB / 0.6188 GB, free: 8.598 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.6517, allocations: 0.7954 MB / 0.6196 GB, free: 7.801 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002817/0.6545, allocations: 3.418 MB / 0.6229 GB, free: 3.055 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004228/0.6588, allocations: 4.55 MB / 0.6274 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.225e-05/0.6588, allocations: 31.94 kB / 0.6274 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.006177/0.665, allocations: 4.05 MB / 0.6313 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.215e-05/0.6651, allocations: 44 kB / 0.6314 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.522e-05/0.6652, allocations: 92 kB / 0.6315 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001083/0.6653, allocations: 124 kB / 0.6316 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001997/0.6673, allocations: 0.858 MB / 0.6324 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000119/0.6674, allocations: 183.2 kB / 0.6326 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00298/0.6704, allocations: 0.5378 MB / 0.6331 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002129/0.6706, allocations: 232 kB / 0.6334 GB, free: 7.027 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.002088/0.6727, allocations: 1.652 MB / 0.635 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006382/0.6734, allocations: 379.1 kB / 0.6353 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005787/0.6739, allocations: 405.7 kB / 0.6357 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.674, allocations: 4.188 kB / 0.6357 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.674, allocations: 8 kB / 0.6357 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.674, allocations: 7.984 kB / 0.6357 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1969/0.8709, allocations: 4.769 MB / 0.6404 GB, free: 157.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/0.8709, allocations: 12.25 kB / 0.6404 GB, free: 157.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002901/0.8712, allocations: 117.5 kB / 0.6405 GB, free: 157.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.958e-05/0.8713, allocations: 17.16 kB / 0.6405 GB, free: 157.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.535e-05/0.8713, allocations: 29.75 kB / 0.6406 GB, free: 157.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.889e-05/0.8713, allocations: 26.44 kB / 0.6406 GB, free: 157.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-05/0.8713, allocations: 21.5 kB / 0.6406 GB, free: 157.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/0.8729, allocations: 1.249 MB / 0.6418 GB, free: 156.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008756/0.8737, allocations: 490.3 kB / 0.6423 GB, free: 156.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000383/0.8741, allocations: 29.42 kB / 0.6423 GB, free: 156.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008929/0.875, allocations: 34.11 kB / 0.6424 GB, free: 156.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/0.8751, allocations: 90.58 kB / 0.6424 GB, free: 156.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/0.8751, allocations: 32.06 kB / 0.6425 GB, free: 156.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004441/0.8796, allocations: 3.187 MB / 0.6456 GB, free: 156.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.8796, allocations: 0 / 0.6456 GB, free: 156.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003851/0.8835, allocations: 0.8363 MB / 0.6464 GB, free: 156.2 MB / 0.4981 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.001552/0.885, allocations: 1.821 MB / 0.6482 GB, free: 154.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002786/0.8878, allocations: 1.907 MB / 0.65 GB, free: 154.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.393e-06/0.8879, allocations: 2.938 kB / 0.65 GB, free: 154.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002667/0.8881, allocations: 264.5 kB / 0.6503 GB, free: 154.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003449/0.8916, allocations: 0.6374 MB / 0.6509 GB, free: 154.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06183/0.9534, allocations: 44.89 MB / 0.6948 GB, free: 119.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004213/0.9577, allocations: 2.878 MB / 0.6976 GB, free: 118.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004072/0.9618, allocations: 1.159 MB / 0.6987 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00234/0.9642, allocations: 1.722 MB / 0.7004 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of SimCode: time 1.503e-06/0.9642, allocations: 0 / 0.7004 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08793/1.052, allocations: 67.2 MB / 0.766 GB, free: 60.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001411/1.052, allocations: 184.7 kB / 0.7662 GB, free: 60.17 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.407/4.459, allocations: 3.938 kB / 0.7662 GB, free: 60.17 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches