Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.000802/0.000802, allocations: 79.7 kB / 20.67 MB, free: 3.879 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.0007642/0.0007642, allocations: 170 kB / 23.95 MB, free: 0.5977 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.9093/0.9093, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2494/0.2494, allocations: 34.25 MB / 294.9 MB, free: 0.7344 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 442.2 MB, free: 1.695 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.133e-05, allocations: 4.25 kB / 442.2 MB, free: 1.691 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.1738/0.1739, allocations: 12.71 MB / 454.9 MB, free: 37.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007846/0.1817, allocations: 4.485 MB / 459.4 MB, free: 34.24 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00258/0.1843, allocations: 120.3 kB / 459.5 MB, free: 34.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003218/0.1875, allocations: 3.18 MB / 462.7 MB, free: 32.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003764/0.1913, allocations: 2.156 MB / 464.8 MB, free: 31.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.1926, allocations: 1.173 MB / 466 MB, free: 31.31 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005357/0.1979, allocations: 8.62 MB / 474.6 MB, free: 28.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00348/0.2014, allocations: 4.088 MB / 478.7 MB, free: 26.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004404/0.2058, allocations: 2.956 MB / 481.6 MB, free: 25.58 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004316/0.2101, allocations: 3.382 MB / 485 MB, free: 24.78 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001088/0.2112, allocations: 381 kB / 485.4 MB, free: 24.78 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001988/0.2132, allocations: 0.9198 MB / 486.3 MB, free: 24.65 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002726/0.2159, allocations: 2.525 MB / 488.8 MB, free: 23.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003506/0.2195, allocations: 1.592 MB / 490.4 MB, free: 22.87 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008267/0.2277, allocations: 7.256 MB / 497.7 MB, free: 19.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.2277, allocations: 0 / 497.7 MB, free: 19.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2277, allocations: 0 / 497.7 MB, free: 19.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002174/0.2279, allocations: 1.156 kB / 497.7 MB, free: 19.95 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.01488/0.2428, allocations: 5.77 MB / 0.4917 GB, free: 16.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.2429, allocations: 13.03 kB / 0.4917 GB, free: 16.12 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001237/0.2441, allocations: 0.5089 MB / 0.4922 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04502/0.2891, allocations: 8.763 MB / 0.5007 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007194/0.2963, allocations: 4.305 MB / 0.5049 GB, free: 5.926 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.051e-05/0.2964, allocations: 201.6 kB / 0.5051 GB, free: 5.727 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005585/0.297, allocations: 292.2 kB / 0.5054 GB, free: 5.441 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008381/0.3054, allocations: 7.017 MB / 0.5123 GB, free: 13.85 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001272/0.3055, allocations: 59.58 kB / 0.5123 GB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002334/0.3057, allocations: 119.9 kB / 0.5124 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009457/0.3067, allocations: 1.002 MB / 0.5134 GB, free: 12.67 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007398/0.3141, allocations: 4.958 MB / 0.5182 GB, free: 7.711 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02576/0.3398, allocations: 26.94 MB / 0.5446 GB, free: 12.04 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.3414, allocations: 0.8011 MB / 0.5453 GB, free: 11.19 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.3416, allocations: 208.3 kB / 0.5455 GB, free: 10.97 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.3417, allocations: 8 kB / 0.5455 GB, free: 10.96 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/0.3417, allocations: 57.55 kB / 0.5456 GB, free: 10.9 MB / 458.7 MB Notification: Performance of pre-optimization done (n=37): time 2.746e-06/0.3417, allocations: 0 / 0.5456 GB, free: 10.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=37): time 0.005313/0.347, allocations: 2.384 MB / 0.5479 GB, free: 8.504 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.3471, allocations: 239.3 kB / 0.5482 GB, free: 8.215 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009065/0.3562, allocations: 5.764 MB / 0.5538 GB, free: 2.449 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.3563, allocations: 37.7 kB / 0.5538 GB, free: 2.406 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001824/0.3581, allocations: 2.81 MB / 0.5566 GB, free: 15.57 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.3583, allocations: 202.8 kB / 0.5568 GB, free: 15.38 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006056/0.3589, allocations: 0.7146 MB / 0.5575 GB, free: 14.65 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.91e-05/0.359, allocations: 301.1 kB / 0.5577 GB, free: 14.36 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009588/0.36, allocations: 0.811 MB / 0.5585 GB, free: 13.54 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00195/0.3619, allocations: 3.508 MB / 0.562 GB, free: 8.688 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003305/0.3652, allocations: 4.575 MB / 0.5664 GB, free: 2.789 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-05/0.3653, allocations: 24 kB / 0.5664 GB, free: 2.766 MB / 474.7 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.006005/0.3713, allocations: 4.106 MB / 0.5705 GB, free: 14.65 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.803e-05/0.3713, allocations: 44 kB / 0.5705 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.892e-05/0.3714, allocations: 100.8 kB / 0.5706 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.305e-05/0.3715, allocations: 120.8 kB / 0.5707 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.3728, allocations: 0.8733 MB / 0.5716 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001052/0.373, allocations: 187.2 kB / 0.5717 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003759/0.3767, allocations: 0.7573 MB / 0.5725 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002767/0.377, allocations: 236 kB / 0.5727 GB, free: 12.34 MB / 490.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.002769/0.3798, allocations: 1.624 MB / 0.5743 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001211/0.381, allocations: 405.3 kB / 0.5747 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000689/0.3817, allocations: 401.3 kB / 0.5751 GB, free: 9.918 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.3817, allocations: 4 kB / 0.5751 GB, free: 9.914 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.3817, allocations: 0 / 0.5751 GB, free: 9.914 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.3817, allocations: 7.984 kB / 0.5751 GB, free: 9.906 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00588/0.3876, allocations: 4.752 MB / 0.5797 GB, free: 4.898 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.3876, allocations: 16.22 kB / 0.5797 GB, free: 4.883 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.3878, allocations: 119.8 kB / 0.5798 GB, free: 4.766 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-05/0.3878, allocations: 19.94 kB / 0.5799 GB, free: 4.746 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.3878, allocations: 28 kB / 0.5799 GB, free: 4.719 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.53e-05/0.3878, allocations: 27.86 kB / 0.5799 GB, free: 4.691 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.438e-06/0.3878, allocations: 19.94 kB / 0.5799 GB, free: 4.672 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.3892, allocations: 1.229 MB / 0.5811 GB, free: 3.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009559/0.3902, allocations: 0.5322 MB / 0.5817 GB, free: 2.695 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003306/0.3905, allocations: 31.98 kB / 0.5817 GB, free: 2.664 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009162/0.3914, allocations: 148.3 kB / 0.5818 GB, free: 2.52 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.393e-05/0.3915, allocations: 87.55 kB / 0.5819 GB, free: 2.434 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.3915, allocations: 36 kB / 0.5819 GB, free: 2.398 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004432/0.3959, allocations: 3.8 MB / 0.5857 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.01e-07/0.3959, allocations: 0 / 0.5857 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004287/0.4002, allocations: 1.073 MB / 0.5867 GB, free: 13.53 MB / 0.4948 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.001856/0.4021, allocations: 1.835 MB / 0.5885 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00268/0.4048, allocations: 1.89 MB / 0.5903 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/0.4048, allocations: 4 kB / 0.5903 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.405, allocations: 264.3 kB / 0.5906 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002598/0.4076, allocations: 0.6654 MB / 0.5912 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05022/0.4578, allocations: 37.56 MB / 0.6279 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0023/0.4601, allocations: 2.301 MB / 0.6302 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00237/0.4625, allocations: 1.189 MB / 0.6313 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001963/0.4645, allocations: 1.727 MB / 0.633 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of SimCode: time 2.074e-06/0.4645, allocations: 4 kB / 0.633 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2617/0.7261, allocations: 72.1 MB / 0.7034 GB, free: 146.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.481/10.21, allocations: 15.2 kB / 0.7035 GB, free: 146.8 MB / 0.5417 GB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Bodies_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Bodies/Bodies.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 12.92587576340884]