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.00133/0.00133, allocations: 106.1 kB / 15.98 MB, free: 6.348 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.002015/0.002016, allocations: 197.5 kB / 16.91 MB, free: 6.191 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.488/1.488, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.3106/0.3106, allocations: 43.5 MB / 313.6 MB, free: 8.555 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.002084/0.002084, allocations: 67.89 kB / 382.3 MB, free: 8.496 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1119, allocations: 57.78 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.2388/0.3508, allocations: 70.67 MB / 0.4988 GB, free: 4.961 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03008/0.3809, allocations: 13.84 MB / 0.5123 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01708/0.398, allocations: 312.2 kB / 0.5126 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006717/0.4048, allocations: 3.011 MB / 0.5155 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005765/0.4106, allocations: 1.93 MB / 0.5174 GB, free: 9.406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002355/0.413, allocations: 0.9619 MB / 0.5184 GB, free: 9.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00979/0.4228, allocations: 6.534 MB / 0.5248 GB, free: 6.984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005602/0.4284, allocations: 3.821 MB / 0.5285 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00358/0.432, allocations: 1.887 MB / 0.5303 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004158/0.4362, allocations: 2.942 MB / 0.5332 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00111/0.4374, allocations: 356 kB / 0.5335 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002314/0.4397, allocations: 0.9403 MB / 0.5345 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002707/0.4424, allocations: 2.323 MB / 0.5367 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004249/0.4467, allocations: 2.429 MB / 0.5391 GB, free: 11.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00884/0.4555, allocations: 6.94 MB / 0.5459 GB, free: 4.781 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4556, allocations: 0 / 0.5459 GB, free: 4.781 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4556, allocations: 0 / 0.5459 GB, free: 4.781 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001591/0.4557, allocations: 0 / 0.5459 GB, free: 4.781 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.01184/0.4676, allocations: 5.518 MB / 0.5513 GB, free: 15.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.4676, allocations: 15.83 kB / 0.5513 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006634/0.4683, allocations: 0.5042 MB / 0.5518 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09649/0.5648, allocations: 8.216 MB / 0.5598 GB, free: 6.438 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01113/0.576, allocations: 6.4 MB / 0.566 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/0.5762, allocations: 201.8 kB / 0.5662 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004501/0.5766, allocations: 299.5 kB / 0.5665 GB, free: 15.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01015/0.5868, allocations: 6.906 MB / 0.5733 GB, free: 8.016 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001089/0.5869, allocations: 59.45 kB / 0.5733 GB, free: 7.957 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002755/0.5872, allocations: 127.9 kB / 0.5734 GB, free: 7.832 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001391/0.5886, allocations: 1.002 MB / 0.5744 GB, free: 6.836 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009283/0.5979, allocations: 4.928 MB / 0.5792 GB, free: 1.895 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04266/0.6406, allocations: 27.37 MB / 0.606 GB, free: 5.793 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002468/0.6431, allocations: 0.7347 MB / 0.6067 GB, free: 5.012 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003157/0.6434, allocations: 228.3 kB / 0.6069 GB, free: 4.773 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.6434, allocations: 8.625 kB / 0.6069 GB, free: 4.766 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.461e-05/0.6435, allocations: 46.5 kB / 0.607 GB, free: 4.711 MB / 478.1 MB Notification: Performance of pre-optimization done (n=37): time 4.028e-06/0.6435, allocations: 0 / 0.607 GB, free: 4.711 MB / 478.1 MB Notification: Performance of matching and sorting (n=37): time 0.00775/0.6513, allocations: 2.191 MB / 0.6091 GB, free: 2.508 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.6514, allocations: 239.3 kB / 0.6093 GB, free: 2.219 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006289/0.6577, allocations: 4.83 MB / 0.614 GB, free: 13.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.19e-05/0.6578, allocations: 33.7 kB / 0.6141 GB, free: 13.35 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001995/0.6598, allocations: 2.773 MB / 0.6168 GB, free: 10.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.6599, allocations: 194.1 kB / 0.617 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007664/0.6607, allocations: 0.7179 MB / 0.6177 GB, free: 9.629 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.551e-05/0.6608, allocations: 309.1 kB / 0.618 GB, free: 9.324 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.662, allocations: 0.7876 MB / 0.6187 GB, free: 8.535 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002781/0.6647, allocations: 3.418 MB / 0.6221 GB, free: 3.789 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004055/0.6688, allocations: 4.547 MB / 0.6265 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.042e-05/0.6689, allocations: 31.94 kB / 0.6265 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.005967/0.6748, allocations: 4.049 MB / 0.6305 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.067e-05/0.6749, allocations: 44.97 kB / 0.6305 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.683e-05/0.675, allocations: 99.94 kB / 0.6306 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001052/0.6751, allocations: 124 kB / 0.6307 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00208/0.6772, allocations: 0.8577 MB / 0.6316 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001196/0.6773, allocations: 183.2 kB / 0.6318 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002837/0.6802, allocations: 0.5452 MB / 0.6323 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002177/0.6804, allocations: 232 kB / 0.6325 GB, free: 7.75 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.001996/0.6824, allocations: 1.637 MB / 0.6341 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000477/0.6829, allocations: 387.1 kB / 0.6345 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004991/0.6834, allocations: 397.8 kB / 0.6349 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.6834, allocations: 4 kB / 0.6349 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.6834, allocations: 4 kB / 0.6349 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.6834, allocations: 0 / 0.6349 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005584/0.689, allocations: 4.781 MB / 0.6395 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/0.689, allocations: 12 kB / 0.6395 GB, free: 268 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002813/0.6893, allocations: 115.8 kB / 0.6397 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.626e-05/0.6893, allocations: 16.19 kB / 0.6397 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/0.6894, allocations: 35.94 kB / 0.6397 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.8e-05/0.6894, allocations: 31.86 kB / 0.6397 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.911e-05/0.6894, allocations: 15.94 kB / 0.6398 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.178/0.8674, allocations: 1.246 MB / 0.641 GB, free: 156.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008218/0.8683, allocations: 490.5 kB / 0.6414 GB, free: 156 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004318/0.8687, allocations: 26.14 kB / 0.6415 GB, free: 156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009537/0.8697, allocations: 37.03 kB / 0.6415 GB, free: 156 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.56e-05/0.8698, allocations: 90.36 kB / 0.6416 GB, free: 156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.8698, allocations: 30.97 kB / 0.6416 GB, free: 156 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004015/0.8738, allocations: 3.194 MB / 0.6447 GB, free: 155.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.41e-07/0.8738, allocations: 0 / 0.6447 GB, free: 155.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003102/0.8769, allocations: 0.8321 MB / 0.6455 GB, free: 155.8 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.001207/0.8781, allocations: 1.833 MB / 0.6473 GB, free: 154.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002735/0.8809, allocations: 1.935 MB / 0.6492 GB, free: 154.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/0.8809, allocations: 7.344 kB / 0.6492 GB, free: 154.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002567/0.8812, allocations: 262.6 kB / 0.6495 GB, free: 154.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003123/0.8843, allocations: 0.6766 MB / 0.6501 GB, free: 154 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0544/0.9387, allocations: 44.9 MB / 0.694 GB, free: 119.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003133/0.9419, allocations: 2.867 MB / 0.6968 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003689/0.9456, allocations: 1.161 MB / 0.6979 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001812/0.9474, allocations: 1.725 MB / 0.6996 GB, free: 117.1 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.9474, allocations: 0 / 0.6996 GB, free: 117.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1005/1.048, allocations: 68.32 MB / 0.7663 GB, free: 59.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/1.048, allocations: 188.9 kB / 0.7665 GB, free: 59.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.101/5.149, allocations: 3.938 kB / 0.7665 GB, free: 59.72 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