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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 211.7 kB / 22.99 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 207.7 MB / 233.8 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2196/0.2196, allocations: 44.27 MB / 330.3 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002575/0.002575, allocations: 70.72 kB / 467.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1187, allocations: 61.05 MB / 0.5162 GB, free: 7.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01597/0.1346, allocations: 12.79 MB / 0.5286 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.145, allocations: 4.49 MB / 0.533 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002653/0.1476, allocations: 123.3 kB / 0.5331 GB, free: 5.699 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006622/0.1543, allocations: 3.029 MB / 0.5361 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005371/0.1596, allocations: 2.14 MB / 0.5382 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2239/0.3835, allocations: 1.014 MB / 0.5392 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009545/0.3931, allocations: 6.36 MB / 0.5454 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006852/0.3999, allocations: 2.853 MB / 0.5482 GB, free: 9.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005273/0.4052, allocations: 1.874 MB / 0.55 GB, free: 9.754 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006715/0.4119, allocations: 2.718 MB / 0.5527 GB, free: 9.527 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002276/0.4142, allocations: 359.1 kB / 0.553 GB, free: 9.527 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004179/0.4183, allocations: 0.9053 MB / 0.5539 GB, free: 9.527 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005357/0.4237, allocations: 2.394 MB / 0.5562 GB, free: 8.934 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006529/0.4302, allocations: 1.901 MB / 0.5581 GB, free: 7.887 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01071/0.4409, allocations: 7.117 MB / 0.565 GB, free: 5.078 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4409, allocations: 5.125 kB / 0.565 GB, free: 5.074 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.4409, allocations: 0 / 0.565 GB, free: 5.074 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002879/0.4412, allocations: 3 kB / 0.565 GB, free: 5.074 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.01802/0.4593, allocations: 5.571 MB / 0.5705 GB, free: 1.402 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.4593, allocations: 9.625 kB / 0.5705 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001877/0.4612, allocations: 0.5124 MB / 0.571 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1004/0.5616, allocations: 8.224 MB / 0.579 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01537/0.577, allocations: 6.458 MB / 0.5853 GB, free: 9.668 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/0.5772, allocations: 203.3 kB / 0.5855 GB, free: 9.484 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001069/0.5783, allocations: 294.9 kB / 0.5858 GB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01499/0.5933, allocations: 6.993 MB / 0.5926 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001882/0.5935, allocations: 56.95 kB / 0.5927 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004059/0.5939, allocations: 124 kB / 0.5928 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001693/0.5956, allocations: 1.005 MB / 0.5938 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01125/0.6068, allocations: 4.918 MB / 0.5986 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03746/0.6443, allocations: 26.23 MB / 0.6242 GB, free: 1.238 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002697/0.647, allocations: 0.7231 MB / 0.6249 GB, free: 488 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/0.6473, allocations: 211.1 kB / 0.6251 GB, free: 264 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.6473, allocations: 7.938 kB / 0.6251 GB, free: 256 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/0.6474, allocations: 41.75 kB / 0.6252 GB, free: 208 kB / 462.1 MB Notification: Performance of pre-optimization done (n=37): time 2.545e-06/0.6474, allocations: 0 / 0.6252 GB, free: 208 kB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.008446/0.6558, allocations: 2.221 MB / 0.6273 GB, free: 13.99 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001525/0.656, allocations: 235.3 kB / 0.6276 GB, free: 13.7 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009047/0.665, allocations: 4.993 MB / 0.6324 GB, free: 8.711 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.819e-05/0.6651, allocations: 37.27 kB / 0.6325 GB, free: 8.672 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002744/0.6679, allocations: 2.849 MB / 0.6353 GB, free: 5.832 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.6681, allocations: 201.9 kB / 0.6354 GB, free: 5.637 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009538/0.6691, allocations: 0.7263 MB / 0.6362 GB, free: 4.902 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.6692, allocations: 301.1 kB / 0.6364 GB, free: 4.605 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/0.6706, allocations: 0.7993 MB / 0.6372 GB, free: 3.805 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003532/0.6741, allocations: 3.491 MB / 0.6406 GB, free: 15.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005349/0.6794, allocations: 4.549 MB / 0.6451 GB, free: 9.176 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.546e-05/0.6795, allocations: 28 kB / 0.6451 GB, free: 9.148 MB / 494.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.007962/0.6875, allocations: 4.08 MB / 0.6491 GB, free: 5.062 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.993e-05/0.6876, allocations: 44 kB / 0.6491 GB, free: 5.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001078/0.6877, allocations: 96 kB / 0.6492 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001237/0.6878, allocations: 120 kB / 0.6493 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002327/0.6901, allocations: 0.8549 MB / 0.6502 GB, free: 3.953 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000155/0.6903, allocations: 183.4 kB / 0.6503 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003855/0.6941, allocations: 0.5508 MB / 0.6509 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003174/0.6944, allocations: 238.6 kB / 0.6511 GB, free: 2.988 MB / 494.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.002922/0.6974, allocations: 1.635 MB / 0.6527 GB, free: 1.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009538/0.6983, allocations: 405.3 kB / 0.6531 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008918/0.6992, allocations: 401.8 kB / 0.6535 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.6992, allocations: 4 kB / 0.6535 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.6992, allocations: 4 kB / 0.6535 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.6992, allocations: 3.984 kB / 0.6535 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008876/0.7081, allocations: 4.593 MB / 0.658 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/0.7081, allocations: 12 kB / 0.658 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003367/0.7085, allocations: 118.3 kB / 0.6581 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.072e-05/0.7085, allocations: 16 kB / 0.6581 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.054e-05/0.7085, allocations: 24 kB / 0.6581 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.223e-05/0.7085, allocations: 27.92 kB / 0.6582 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.676e-05/0.7086, allocations: 20.41 kB / 0.6582 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/0.7104, allocations: 1.267 MB / 0.6594 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/0.7118, allocations: 433 kB / 0.6598 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004653/0.7123, allocations: 31.98 kB / 0.6599 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000996/0.7133, allocations: 35.97 kB / 0.6599 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.7134, allocations: 91.55 kB / 0.66 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.131e-05/0.7134, allocations: 32.75 kB / 0.66 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006811/0.7202, allocations: 3.189 MB / 0.6631 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.51e-07/0.7202, allocations: 0 / 0.6631 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004863/0.7251, allocations: 0.8475 MB / 0.664 GB, free: 5.363 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.002653/0.7277, allocations: 1.845 MB / 0.6658 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003978/0.7317, allocations: 1.877 MB / 0.6676 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.026e-05/0.7317, allocations: 4 kB / 0.6676 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004214/0.7322, allocations: 254.8 kB / 0.6678 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00431/0.7365, allocations: 0.6821 MB / 0.6685 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05831/0.7948, allocations: 35.17 MB / 0.7029 GB, free: 9.688 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003431/0.7982, allocations: 2.331 MB / 0.7051 GB, free: 7.344 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003005/0.8012, allocations: 1.16 MB / 0.7063 GB, free: 6.188 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002588/0.8038, allocations: 1.722 MB / 0.7079 GB, free: 4.465 MB / 0.545 GB Notification: Performance of SimCode: time 1.482e-06/0.8038, allocations: 4 kB / 0.7079 GB, free: 4.461 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3606/1.164, allocations: 69.23 MB / 0.7756 GB, free: 207.1 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.89/17.05, allocations: 1.844 kB / 0.7756 GB, free: 207.1 MB / 0.6075 GB " [Timeout remaining time 643] (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 --stepSize=0.000219912 --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) [Timeout 52.5] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 21.18722450779751]