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.001208/0.001208, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001287/0.001287, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2027/0.2027, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 79.28 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1139, allocations: 62.45 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.015/0.129, allocations: 14.63 MB / 494.8 MB, free: 6.477 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009675/0.1387, allocations: 4.672 MB / 499.4 MB, free: 1.789 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002183/0.1409, allocations: 103.6 kB / 499.5 MB, free: 1.688 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005762/0.1467, allocations: 3.103 MB / 0.4909 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004474/0.1512, allocations: 2.023 MB / 0.4928 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.153, allocations: 1.01 MB / 0.4938 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00819/0.1612, allocations: 6.949 MB / 0.5006 GB, free: 4.566 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004354/0.1656, allocations: 3.637 MB / 0.5042 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1982/0.3638, allocations: 1.808 MB / 0.5059 GB, free: 17.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004819/0.3687, allocations: 2.617 MB / 0.5085 GB, free: 17.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001241/0.3699, allocations: 356.2 kB / 0.5088 GB, free: 17.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002558/0.3725, allocations: 0.8896 MB / 0.5097 GB, free: 17.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003048/0.3756, allocations: 2.263 MB / 0.5119 GB, free: 16.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005395/0.381, allocations: 2.382 MB / 0.5142 GB, free: 16.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01042/0.3914, allocations: 6.822 MB / 0.5209 GB, free: 15.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.3915, allocations: 0.6562 kB / 0.5209 GB, free: 15.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3915, allocations: 1.5 kB / 0.5209 GB, free: 15.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003085/0.3918, allocations: 0.5625 kB / 0.5209 GB, free: 15.1 MB / 382.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.02044/0.4123, allocations: 5.434 MB / 0.5262 GB, free: 12.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.4123, allocations: 9.969 kB / 0.5262 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001146/0.4135, allocations: 0.5083 MB / 0.5267 GB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09986/0.5133, allocations: 8.206 MB / 0.5347 GB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01021/0.5236, allocations: 5.089 MB / 0.5397 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.5238, allocations: 203 kB / 0.5399 GB, free: 6.121 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008942/0.5247, allocations: 296 kB / 0.5402 GB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01131/0.536, allocations: 6.91 MB / 0.5469 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001502/0.5362, allocations: 56.67 kB / 0.547 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003247/0.5365, allocations: 123.8 kB / 0.5471 GB, free: 14.67 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001508/0.538, allocations: 1.005 MB / 0.5481 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01061/0.5487, allocations: 4.927 MB / 0.5529 GB, free: 8.898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03483/0.5835, allocations: 27.29 MB / 0.5795 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002524/0.5861, allocations: 0.741 MB / 0.5803 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/0.5864, allocations: 211.6 kB / 0.5805 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/0.5865, allocations: 13.16 kB / 0.5805 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/0.5865, allocations: 46.55 kB / 0.5805 GB, free: 12.15 MB / 430.1 MB Notification: Performance of pre-optimization done (n=37): time 2.544e-06/0.5865, allocations: 0 / 0.5805 GB, free: 12.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=37): time 0.006996/0.5935, allocations: 1.951 MB / 0.5824 GB, free: 10.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/0.5937, allocations: 239.3 kB / 0.5826 GB, free: 9.918 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009078/0.6028, allocations: 4.764 MB / 0.5873 GB, free: 5.156 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001225/0.603, allocations: 29.7 kB / 0.5873 GB, free: 5.121 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002558/0.6056, allocations: 2.753 MB / 0.59 GB, free: 2.371 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002491/0.6058, allocations: 192.3 kB / 0.5902 GB, free: 2.184 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009657/0.6068, allocations: 0.7217 MB / 0.5909 GB, free: 1.453 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.6069, allocations: 305.1 kB / 0.5912 GB, free: 1.152 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.6083, allocations: 0.7915 MB / 0.592 GB, free: 368 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003034/0.6113, allocations: 3.417 MB / 0.5953 GB, free: 11.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00464/0.616, allocations: 4.546 MB / 0.5997 GB, free: 6.184 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.888e-05/0.616, allocations: 28 kB / 0.5998 GB, free: 6.156 MB / 446.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.007017/0.6231, allocations: 4.05 MB / 0.6037 GB, free: 2.656 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.158e-05/0.6232, allocations: 44 kB / 0.6038 GB, free: 2.613 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001022/0.6233, allocations: 96 kB / 0.6039 GB, free: 2.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001234/0.6234, allocations: 120 kB / 0.604 GB, free: 2.402 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002147/0.6256, allocations: 0.8584 MB / 0.6048 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001428/0.6257, allocations: 188.6 kB / 0.605 GB, free: 1.434 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003552/0.6293, allocations: 0.5375 MB / 0.6055 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002837/0.6296, allocations: 232 kB / 0.6057 GB, free: 0.6641 MB / 446.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.003387/0.633, allocations: 1.626 MB / 0.6073 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008123/0.6338, allocations: 378.8 kB / 0.6077 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007395/0.6345, allocations: 401.2 kB / 0.6081 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.6346, allocations: 4 kB / 0.6081 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/0.6346, allocations: 7.938 kB / 0.6081 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.872e-06/0.6346, allocations: 0 / 0.6081 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007043/0.6416, allocations: 4.756 MB / 0.6127 GB, free: 9.234 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/0.6417, allocations: 16 kB / 0.6127 GB, free: 9.219 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003005/0.642, allocations: 115.8 kB / 0.6128 GB, free: 9.105 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.55e-05/0.642, allocations: 16 kB / 0.6129 GB, free: 9.09 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.17e-05/0.6421, allocations: 28.69 kB / 0.6129 GB, free: 9.062 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.057e-05/0.6421, allocations: 27.86 kB / 0.6129 GB, free: 9.035 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-05/0.6421, allocations: 19.94 kB / 0.6129 GB, free: 9.016 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.6435, allocations: 1.239 MB / 0.6141 GB, free: 7.562 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009908/0.6445, allocations: 476 kB / 0.6146 GB, free: 7.074 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003973/0.6449, allocations: 35.98 kB / 0.6146 GB, free: 7.039 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000944/0.6459, allocations: 35.98 kB / 0.6147 GB, free: 7.004 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.781e-05/0.646, allocations: 83.56 kB / 0.6147 GB, free: 6.922 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.646, allocations: 36 kB / 0.6148 GB, free: 6.887 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004565/0.6506, allocations: 3.132 MB / 0.6178 GB, free: 3.762 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6506, allocations: 0 / 0.6178 GB, free: 3.762 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004031/0.6547, allocations: 0.8298 MB / 0.6187 GB, free: 2.93 MB / 462.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.002035/0.6567, allocations: 1.834 MB / 0.6204 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003277/0.66, allocations: 1.935 MB / 0.6223 GB, free: 14.96 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.66, allocations: 4 kB / 0.6223 GB, free: 14.96 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003044/0.6603, allocations: 263.1 kB / 0.6226 GB, free: 14.71 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00325/0.6636, allocations: 0.6703 MB / 0.6232 GB, free: 14.04 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06196/0.7256, allocations: 42.78 MB / 0.665 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003713/0.7293, allocations: 2.846 MB / 0.6678 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003308/0.7326, allocations: 1.154 MB / 0.6689 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002328/0.735, allocations: 1.698 MB / 0.6706 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of SimCode: time 2.535e-06/0.735, allocations: 0 / 0.6706 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3079/1.043, allocations: 67.72 MB / 0.7367 GB, free: 189 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.082/10.12, allocations: 14.06 kB / 0.7367 GB, free: 189 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