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.001652/0.001652, allocations: 118.8 kB / 17.79 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001775/0.001775, allocations: 202 kB / 18.74 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 247 MB, free: 10.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2246/0.2246, allocations: 46.12 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 79.86 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.3007, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01744/0.3181, allocations: 14.64 MB / 0.5449 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01012/0.3283, allocations: 4.669 MB / 0.5495 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002022/0.3304, allocations: 100.3 kB / 0.5496 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00587/0.3363, allocations: 3.101 MB / 0.5526 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00503/0.3414, allocations: 2.026 MB / 0.5546 GB, free: 9.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001932/0.3433, allocations: 1.006 MB / 0.5556 GB, free: 8.082 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009616/0.3529, allocations: 6.956 MB / 0.5623 GB, free: 1.113 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004619/0.3576, allocations: 3.634 MB / 0.5659 GB, free: 13.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003044/0.3607, allocations: 1.826 MB / 0.5677 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003945/0.3646, allocations: 2.606 MB / 0.5702 GB, free: 8.969 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008426/0.3655, allocations: 359.9 kB / 0.5706 GB, free: 8.617 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002001/0.3675, allocations: 0.8936 MB / 0.5714 GB, free: 7.723 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002426/0.3699, allocations: 2.26 MB / 0.5736 GB, free: 5.457 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003153/0.3731, allocations: 2.378 MB / 0.576 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00863/0.3818, allocations: 6.974 MB / 0.5828 GB, free: 12.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3818, allocations: 3.938 kB / 0.5828 GB, free: 12.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3818, allocations: 0 / 0.5828 GB, free: 12.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001737/0.382, allocations: 0 / 0.5828 GB, free: 12.06 MB / 446.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.01395/0.3959, allocations: 5.563 MB / 0.5882 GB, free: 6.422 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.924e-05/0.396, allocations: 12.03 kB / 0.5882 GB, free: 6.41 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001033/0.3971, allocations: 0.5081 MB / 0.5887 GB, free: 5.895 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1099/0.507, allocations: 8.226 MB / 0.5968 GB, free: 13.65 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01136/0.5183, allocations: 5.217 MB / 0.6018 GB, free: 8.363 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/0.5186, allocations: 209.6 kB / 0.602 GB, free: 8.156 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007298/0.5193, allocations: 287.8 kB / 0.6023 GB, free: 7.875 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01305/0.5324, allocations: 6.914 MB / 0.6091 GB, free: 412 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001558/0.5326, allocations: 55.61 kB / 0.6091 GB, free: 356 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000333/0.5329, allocations: 131.9 kB / 0.6093 GB, free: 224 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0017/0.5346, allocations: 0.9978 MB / 0.6102 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01109/0.5457, allocations: 4.92 MB / 0.615 GB, free: 10.3 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03611/0.5819, allocations: 27.32 MB / 0.6417 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002592/0.5845, allocations: 0.7308 MB / 0.6424 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003629/0.5849, allocations: 220.3 kB / 0.6426 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.5849, allocations: 12.3 kB / 0.6426 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.585, allocations: 42.5 kB / 0.6427 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 3.296e-06/0.585, allocations: 0 / 0.6427 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.007022/0.592, allocations: 1.97 MB / 0.6446 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001524/0.5922, allocations: 239.7 kB / 0.6448 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007725/0.5999, allocations: 4.762 MB / 0.6495 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.982e-05/0.6, allocations: 37.7 kB / 0.6495 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002667/0.6027, allocations: 2.833 MB / 0.6523 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/0.603, allocations: 206.7 kB / 0.6525 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009213/0.6039, allocations: 0.7263 MB / 0.6532 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.6041, allocations: 301.1 kB / 0.6535 GB, free: 2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.6054, allocations: 0.7993 MB / 0.6543 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003644/0.6091, allocations: 3.418 MB / 0.6576 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005369/0.6145, allocations: 4.55 MB / 0.662 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.477e-05/0.6145, allocations: 24 kB / 0.6621 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.007472/0.622, allocations: 4.064 MB / 0.666 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.52e-05/0.6221, allocations: 44 kB / 0.6661 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001038/0.6222, allocations: 96 kB / 0.6662 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001211/0.6224, allocations: 120 kB / 0.6663 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002307/0.6247, allocations: 0.8584 MB / 0.6671 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001534/0.6248, allocations: 179.3 kB / 0.6673 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00317/0.628, allocations: 0.5625 MB / 0.6678 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002779/0.6283, allocations: 232.6 kB / 0.6681 GB, free: 412 kB / 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.002415/0.6307, allocations: 1.625 MB / 0.6697 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007064/0.6314, allocations: 401.4 kB / 0.67 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006852/0.6321, allocations: 397.2 kB / 0.6704 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.6321, allocations: 4 kB / 0.6704 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.6322, allocations: 0 / 0.6704 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.6322, allocations: 11.92 kB / 0.6704 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007107/0.6393, allocations: 4.753 MB / 0.6751 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/0.6393, allocations: 12.19 kB / 0.6751 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003276/0.6397, allocations: 119.8 kB / 0.6752 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.202e-05/0.6397, allocations: 20 kB / 0.6752 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.759e-05/0.6397, allocations: 28 kB / 0.6752 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.427e-05/0.6398, allocations: 27.86 kB / 0.6753 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.564e-05/0.6398, allocations: 19.94 kB / 0.6753 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.6414, allocations: 1.254 MB / 0.6765 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009136/0.6424, allocations: 0.4943 MB / 0.677 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003613/0.6427, allocations: 31.94 kB / 0.677 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009311/0.6437, allocations: 39.97 kB / 0.6771 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.6438, allocations: 79.64 kB / 0.6771 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.285e-05/0.6438, allocations: 35.94 kB / 0.6772 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004875/0.6487, allocations: 3.14 MB / 0.6802 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6487, allocations: 0 / 0.6802 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003416/0.6521, allocations: 0.8345 MB / 0.6811 GB, free: 2.586 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.002024/0.6542, allocations: 1.846 MB / 0.6829 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003414/0.6576, allocations: 1.927 MB / 0.6847 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/0.6576, allocations: 7.938 kB / 0.6848 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003615/0.658, allocations: 267.1 kB / 0.685 GB, free: 14.35 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003455/0.6615, allocations: 0.6732 MB / 0.6857 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05462/0.7161, allocations: 34.73 MB / 0.7196 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003298/0.7195, allocations: 2.842 MB / 0.7224 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002876/0.7223, allocations: 1.158 MB / 0.7235 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002175/0.7245, allocations: 1.698 MB / 0.7251 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of SimCode: time 7.91e-07/0.7246, allocations: 0 / 0.7251 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3111/1.036, allocations: 66.26 MB / 0.7899 GB, free: 133.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.35/19.39, allocations: 4.062 kB / 0.7899 GB, free: 133.3 MB / 0.5762 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