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.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.0008745/0.0008745, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.000822/0.000822, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8839/0.8839, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2292/0.2292, allocations: 32.79 MB / 293.5 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 439.6 MB, free: 4.277 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.082e-05, allocations: 4.672 kB / 439.6 MB, free: 4.273 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.1723/0.1723, allocations: 12.72 MB / 452.3 MB, free: 39.49 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00715/0.1794, allocations: 4.484 MB / 456.8 MB, free: 36.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00169/0.1811, allocations: 120.5 kB / 456.9 MB, free: 36.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003044/0.1842, allocations: 3.178 MB / 460.1 MB, free: 35.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003769/0.1879, allocations: 2.153 MB / 462.2 MB, free: 34.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.1895, allocations: 1.166 MB / 463.4 MB, free: 33.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00628/0.1958, allocations: 8.629 MB / 472 MB, free: 30.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004728/0.2005, allocations: 4.084 MB / 476.1 MB, free: 29.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003609/0.2041, allocations: 2.969 MB / 479.1 MB, free: 28 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004099/0.2082, allocations: 3.376 MB / 482.4 MB, free: 27.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001091/0.2093, allocations: 380.1 kB / 482.8 MB, free: 27.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002001/0.2113, allocations: 0.9194 MB / 483.7 MB, free: 27.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002448/0.2138, allocations: 2.518 MB / 486.3 MB, free: 26.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00277/0.2165, allocations: 1.594 MB / 487.9 MB, free: 25.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009113/0.2257, allocations: 7.26 MB / 495.1 MB, free: 22.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2257, allocations: 4 kB / 495.1 MB, free: 22.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.2257, allocations: 0 / 495.1 MB, free: 22.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002562/0.2259, allocations: 0 / 495.1 MB, free: 22.74 MB / 410.7 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.01513/0.2411, allocations: 5.763 MB / 0.4891 GB, free: 18.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.2411, allocations: 9.625 kB / 0.4891 GB, free: 18.92 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001187/0.2423, allocations: 0.509 MB / 0.4896 GB, free: 18.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04527/0.2876, allocations: 8.766 MB / 0.4982 GB, free: 14.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008269/0.2958, allocations: 4.298 MB / 0.5024 GB, free: 9.777 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.296, allocations: 203.5 kB / 0.5026 GB, free: 9.578 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001232/0.2972, allocations: 292.1 kB / 0.5029 GB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008393/0.3056, allocations: 7.017 MB / 0.5097 GB, free: 1.703 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001323/0.3057, allocations: 59.58 kB / 0.5098 GB, free: 1.645 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002538/0.306, allocations: 131.9 kB / 0.5099 GB, free: 1.516 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008195/0.3068, allocations: 0.9939 MB / 0.5109 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00736/0.3142, allocations: 4.967 MB / 0.5157 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02597/0.3401, allocations: 26.93 MB / 0.542 GB, free: 15.88 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.3418, allocations: 0.8058 MB / 0.5428 GB, free: 15.03 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.342, allocations: 216.2 kB / 0.543 GB, free: 14.8 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.3421, allocations: 8 kB / 0.543 GB, free: 14.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.3421, allocations: 46.44 kB / 0.5431 GB, free: 14.74 MB / 458.7 MB Notification: Performance of pre-optimization done (n=37): time 3.346e-06/0.3421, allocations: 0 / 0.5431 GB, free: 14.74 MB / 458.7 MB Notification: Performance of matching and sorting (n=37): time 0.005205/0.3473, allocations: 2.383 MB / 0.5454 GB, free: 12.35 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.284e-05/0.3474, allocations: 247.3 kB / 0.5456 GB, free: 12.05 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007418/0.3548, allocations: 5.76 MB / 0.5513 GB, free: 6.293 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.844e-05/0.3549, allocations: 33.7 kB / 0.5513 GB, free: 6.254 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001834/0.3567, allocations: 2.81 MB / 0.554 GB, free: 3.422 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002433/0.357, allocations: 198.8 kB / 0.5542 GB, free: 3.227 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006889/0.3577, allocations: 0.7146 MB / 0.5549 GB, free: 2.504 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.307e-05/0.3578, allocations: 309.1 kB / 0.5552 GB, free: 2.199 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009569/0.3587, allocations: 0.811 MB / 0.556 GB, free: 1.387 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002139/0.3609, allocations: 3.508 MB / 0.5594 GB, free: 12.53 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003493/0.3643, allocations: 4.569 MB / 0.5639 GB, free: 6.637 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.574e-05/0.3644, allocations: 30.06 kB / 0.5639 GB, free: 6.609 MB / 474.7 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.005591/0.37, allocations: 4.107 MB / 0.5679 GB, free: 2.496 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.751e-05/0.37, allocations: 48 kB / 0.568 GB, free: 2.449 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.679e-05/0.3701, allocations: 92 kB / 0.5681 GB, free: 2.359 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.785e-05/0.3702, allocations: 124 kB / 0.5682 GB, free: 2.238 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/0.3715, allocations: 0.8736 MB / 0.569 GB, free: 1.363 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.632e-05/0.3716, allocations: 179.3 kB / 0.5692 GB, free: 1.188 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003753/0.3753, allocations: 0.7573 MB / 0.57 GB, free: 436 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000253/0.3756, allocations: 237.9 kB / 0.5702 GB, free: 200 kB / 474.7 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.002362/0.378, allocations: 1.623 MB / 0.5718 GB, free: 14.56 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001092/0.3791, allocations: 405.3 kB / 0.5721 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007322/0.3798, allocations: 397.3 kB / 0.5725 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.3798, allocations: 4 kB / 0.5725 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.3798, allocations: 7.938 kB / 0.5725 GB, free: 13.76 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3798, allocations: 0 / 0.5725 GB, free: 13.76 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006411/0.3862, allocations: 4.767 MB / 0.5772 GB, free: 8.738 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.3862, allocations: 12 kB / 0.5772 GB, free: 8.727 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.3864, allocations: 116.1 kB / 0.5773 GB, free: 8.613 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/0.3864, allocations: 20.75 kB / 0.5773 GB, free: 8.594 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.3864, allocations: 28 kB / 0.5774 GB, free: 8.566 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.224e-05/0.3865, allocations: 27.88 kB / 0.5774 GB, free: 8.539 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.758e-06/0.3865, allocations: 25.38 kB / 0.5774 GB, free: 8.516 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.3879, allocations: 1.232 MB / 0.5786 GB, free: 7.07 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/0.3889, allocations: 0.5243 MB / 0.5791 GB, free: 6.543 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003748/0.3893, allocations: 35.98 kB / 0.5792 GB, free: 6.508 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009437/0.3902, allocations: 139.8 kB / 0.5793 GB, free: 6.371 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.846e-05/0.3903, allocations: 91.55 kB / 0.5794 GB, free: 6.281 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.3903, allocations: 32 kB / 0.5794 GB, free: 6.25 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004521/0.3949, allocations: 3.804 MB / 0.5831 GB, free: 2.453 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3949, allocations: 4 kB / 0.5831 GB, free: 2.449 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003875/0.3987, allocations: 1.069 MB / 0.5842 GB, free: 1.379 MB / 490.7 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.001481/0.4002, allocations: 1.834 MB / 0.586 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002575/0.4028, allocations: 1.892 MB / 0.5878 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.4028, allocations: 7.938 kB / 0.5878 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.403, allocations: 258.5 kB / 0.5881 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002626/0.4056, allocations: 0.6742 MB / 0.5887 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05217/0.4578, allocations: 37.55 MB / 0.6254 GB, free: 3.297 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002061/0.4599, allocations: 2.309 MB / 0.6277 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.1709/0.6308, allocations: 1.181 MB / 0.6288 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002485/0.6333, allocations: 1.732 MB / 0.6305 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.002e-06/0.6333, allocations: 0 / 0.6305 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09469/0.728, allocations: 72.12 MB / 0.7009 GB, free: 124 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/11.01, allocations: 15.94 kB / 0.7009 GB, free: 124 MB / 0.5261 GB " [Timeout remaining time 649] (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 --stepSize=0.000219912 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Bodies/Bodies.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.683602155186236]