Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_4_0_0_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.0009911/0.0009911, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.0009562/0.0009561, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.173/1.173, allocations: 222.9 MB / 241.8 MB, free: 13.85 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1876/0.1876, allocations: 44.17 MB / 336.1 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 61.22 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08694/0.0881, allocations: 60.81 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.2174/0.3055, allocations: 70.62 MB / 0.5266 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02319/0.3287, allocations: 13.95 MB / 0.5402 GB, free: 4.332 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009714/0.3385, allocations: 308 kB / 0.5405 GB, free: 4.285 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004225/0.3427, allocations: 3.12 MB / 0.5436 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003282/0.346, allocations: 1.929 MB / 0.5454 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.3473, allocations: 0.9543 MB / 0.5464 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00754/0.3549, allocations: 9.123 MB / 0.5553 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003227/0.3581, allocations: 3.532 MB / 0.5587 GB, free: 8.434 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001716/0.3598, allocations: 1.635 MB / 0.5603 GB, free: 6.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002638/0.3625, allocations: 2.801 MB / 0.5631 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004289/0.3629, allocations: 235.9 kB / 0.5633 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.3644, allocations: 0.8387 MB / 0.5641 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001676/0.3661, allocations: 2.17 MB / 0.5662 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00186/0.3679, allocations: 2.226 MB / 0.5684 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0051/0.373, allocations: 6.741 MB / 0.575 GB, free: 7.738 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3731, allocations: 0 / 0.575 GB, free: 7.738 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.3731, allocations: 0 / 0.575 GB, free: 7.738 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001161/0.3732, allocations: 3.938 kB / 0.575 GB, free: 7.734 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.01034/0.3835, allocations: 5.455 MB / 0.5803 GB, free: 2.207 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.3836, allocations: 12.03 kB / 0.5803 GB, free: 2.195 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006738/0.3843, allocations: 0.5081 MB / 0.5808 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08348/0.4678, allocations: 8.204 MB / 0.5888 GB, free: 9.461 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009385/0.4772, allocations: 5.62 MB / 0.5943 GB, free: 3.766 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.4774, allocations: 213.8 kB / 0.5945 GB, free: 3.555 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004204/0.4778, allocations: 291.6 kB / 0.5948 GB, free: 3.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009276/0.4871, allocations: 6.91 MB / 0.6016 GB, free: 11.81 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001004/0.4872, allocations: 63.45 kB / 0.6016 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002507/0.4874, allocations: 127.9 kB / 0.6017 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001337/0.4888, allocations: 1.002 MB / 0.6027 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009045/0.4978, allocations: 4.928 MB / 0.6075 GB, free: 5.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0261/0.524, allocations: 27.29 MB / 0.6342 GB, free: 9.641 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002298/0.5263, allocations: 0.7347 MB / 0.6349 GB, free: 8.859 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.5266, allocations: 216.3 kB / 0.6351 GB, free: 8.633 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.5266, allocations: 12.3 kB / 0.6351 GB, free: 8.621 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.5267, allocations: 46.5 kB / 0.6352 GB, free: 8.566 MB / 478.1 MB Notification: Performance of pre-optimization done (n=37): time 2.305e-06/0.5267, allocations: 0 / 0.6352 GB, free: 8.566 MB / 478.1 MB Notification: Performance of matching and sorting (n=37): time 0.006131/0.5328, allocations: 1.956 MB / 0.6371 GB, free: 6.598 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.5329, allocations: 235.7 kB / 0.6373 GB, free: 6.312 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005468/0.5384, allocations: 4.766 MB / 0.6419 GB, free: 1.547 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.5384, allocations: 29.7 kB / 0.642 GB, free: 1.512 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001786/0.5402, allocations: 2.754 MB / 0.6447 GB, free: 14.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.5404, allocations: 202 kB / 0.6449 GB, free: 14.53 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006857/0.5411, allocations: 0.7217 MB / 0.6456 GB, free: 13.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.489e-05/0.5411, allocations: 305.1 kB / 0.6458 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.5422, allocations: 0.7876 MB / 0.6466 GB, free: 12.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002583/0.5448, allocations: 3.425 MB / 0.65 GB, free: 7.953 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003916/0.5488, allocations: 4.542 MB / 0.6544 GB, free: 2.086 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.875e-05/0.5488, allocations: 35.88 kB / 0.6544 GB, free: 2.051 MB / 494.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.005242/0.5541, allocations: 4.039 MB / 0.6584 GB, free: 14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.081e-05/0.5541, allocations: 48 kB / 0.6584 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.597e-05/0.5542, allocations: 92.12 kB / 0.6585 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001025/0.5543, allocations: 124 kB / 0.6586 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/0.5563, allocations: 0.8581 MB / 0.6595 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001248/0.5564, allocations: 191.4 kB / 0.6596 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002427/0.5588, allocations: 0.5373 MB / 0.6602 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002253/0.5591, allocations: 232 kB / 0.6604 GB, free: 11.93 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.002013/0.5611, allocations: 1.629 MB / 0.662 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003975/0.5615, allocations: 379.1 kB / 0.6623 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004257/0.5619, allocations: 397.2 kB / 0.6627 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.5619, allocations: 8 kB / 0.6627 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.5619, allocations: 4 kB / 0.6627 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.562, allocations: 3.984 kB / 0.6627 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005153/0.5671, allocations: 4.749 MB / 0.6674 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.5671, allocations: 12 kB / 0.6674 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/0.5674, allocations: 119.9 kB / 0.6675 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.411e-05/0.5674, allocations: 20 kB / 0.6675 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.5675, allocations: 24 kB / 0.6675 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-05/0.5675, allocations: 31.86 kB / 0.6676 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/0.5675, allocations: 19.94 kB / 0.6676 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.5685, allocations: 1.239 MB / 0.6688 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005528/0.5691, allocations: 476 kB / 0.6693 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003098/0.5694, allocations: 31.98 kB / 0.6693 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008221/0.5702, allocations: 35.97 kB / 0.6693 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.687e-05/0.5703, allocations: 87.58 kB / 0.6694 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/0.5704, allocations: 32 kB / 0.6694 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003605/0.574, allocations: 3.144 MB / 0.6725 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.574, allocations: 0 / 0.6725 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002442/0.5764, allocations: 0.8337 MB / 0.6733 GB, free: 14.17 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.001448/0.5779, allocations: 1.833 MB / 0.6751 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002392/0.5803, allocations: 1.896 MB / 0.677 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.5803, allocations: 4 kB / 0.677 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002905/0.5806, allocations: 271.2 kB / 0.6772 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002691/0.5833, allocations: 0.6266 MB / 0.6778 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2296/0.8129, allocations: 44.13 MB / 0.7209 GB, free: 203.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002767/0.8157, allocations: 2.849 MB / 0.7237 GB, free: 202.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002713/0.8184, allocations: 1.161 MB / 0.7248 GB, free: 202.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/0.8197, allocations: 1.704 MB / 0.7265 GB, free: 201.3 MB / 0.545 GB Notification: Performance of SimCode: time 6.41e-07/0.8197, allocations: 0 / 0.7265 GB, free: 201.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.65/4.469, allocations: 66.45 MB / 0.7914 GB, free: 146 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/4.47, allocations: 188 kB / 0.7916 GB, free: 145.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.849/8.319, allocations: 0 / 0.7916 GB, free: 145.7 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches