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.0009144/0.0009144, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0008469/0.0008469, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8653/0.8653, allocations: 158.6 MB / 185 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] 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.1237/0.1237, allocations: 32.36 MB / 269.6 MB, free: 14.96 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 406.8 MB, free: 2.262 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.593e-05/1.753e-05, allocations: 2.281 kB / 406.8 MB, free: 2.258 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.008884/0.008901, allocations: 12.8 MB / 419.6 MB, free: 5.406 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.007046/0.01595, allocations: 4.505 MB / 424.1 MB, free: 0.8867 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003231/0.01918, allocations: 119.4 kB / 424.2 MB, free: 0.7695 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003404/0.02258, allocations: 3.193 MB / 427.4 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003761/0.02634, allocations: 2.201 MB / 429.6 MB, free: 11.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.02773, allocations: 1.174 MB / 430.8 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005976/0.03371, allocations: 7.852 MB / 438.7 MB, free: 2.312 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004328/0.03804, allocations: 4.107 MB / 442.8 MB, free: 14.14 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004557/0.04259, allocations: 2.982 MB / 445.7 MB, free: 11.15 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00373/0.04633, allocations: 3.403 MB / 449.1 MB, free: 7.738 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001046/0.04737, allocations: 380 kB / 449.5 MB, free: 7.367 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001852/0.04922, allocations: 0.9481 MB / 450.5 MB, free: 6.418 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002214/0.05144, allocations: 2.552 MB / 453 MB, free: 3.859 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002638/0.05407, allocations: 1.617 MB / 454.6 MB, free: 2.238 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006676/0.06075, allocations: 7.35 MB / 462 MB, free: 10.87 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.06076, allocations: 0 / 462 MB, free: 10.87 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.06076, allocations: 0 / 462 MB, free: 10.87 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002059/0.06096, allocations: 0 / 462 MB, free: 10.87 MB / 442.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.009692/0.07066, allocations: 5.843 MB / 467.8 MB, free: 4.961 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.0707, allocations: 11.97 kB / 467.8 MB, free: 4.949 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006188/0.07132, allocations: 0.5159 MB / 468.4 MB, free: 4.426 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1961/0.2674, allocations: 8.764 MB / 477.1 MB, free: 96.94 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006462/0.2739, allocations: 5.164 MB / 482.3 MB, free: 95.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.655e-05/0.274, allocations: 205.3 kB / 482.5 MB, free: 95.42 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004274/0.2744, allocations: 288.4 kB / 482.8 MB, free: 95.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006403/0.2808, allocations: 7.009 MB / 489.8 MB, free: 91.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-05/0.2809, allocations: 59.8 kB / 489.8 MB, free: 91.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001924/0.2811, allocations: 126.5 kB / 490 MB, free: 91.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007415/0.2818, allocations: 1.006 MB / 491 MB, free: 91.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006042/0.2879, allocations: 4.955 MB / 495.9 MB, free: 90.11 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02157/0.3094, allocations: 27.26 MB / 0.5109 GB, free: 70.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.3112, allocations: 0.8019 MB / 0.5117 GB, free: 70.68 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/0.3114, allocations: 214 kB / 0.5119 GB, free: 70.58 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.3114, allocations: 8.844 kB / 0.5119 GB, free: 70.58 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.3114, allocations: 43.12 kB / 0.512 GB, free: 70.54 MB / 442.7 MB Notification: Performance of pre-optimization done (n=37): time 2.715e-06/0.3114, allocations: 0 / 0.512 GB, free: 70.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=37): time 0.00644/0.3179, allocations: 2.882 MB / 0.5148 GB, free: 70.03 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.3179, allocations: 240.5 kB / 0.515 GB, free: 69.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005715/0.3237, allocations: 6.015 MB / 0.5209 GB, free: 65.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.924e-05/0.3237, allocations: 29.7 kB / 0.5209 GB, free: 65.16 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001275/0.325, allocations: 2.842 MB / 0.5237 GB, free: 62.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.3251, allocations: 195.1 kB / 0.5239 GB, free: 62.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000453/0.3256, allocations: 0.7185 MB / 0.5246 GB, free: 61.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.851e-05/0.3256, allocations: 301.1 kB / 0.5249 GB, free: 61.22 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000745/0.3263, allocations: 0.8071 MB / 0.5256 GB, free: 60.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/0.3277, allocations: 3.516 MB / 0.5291 GB, free: 55.55 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002274/0.3299, allocations: 4.559 MB / 0.5335 GB, free: 49.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.829e-05/0.33, allocations: 28 kB / 0.5336 GB, free: 49.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.00439/0.3344, allocations: 4.117 MB / 0.5376 GB, free: 45.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.886e-05/0.3344, allocations: 48.19 kB / 0.5376 GB, free: 45.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.281e-05/0.3345, allocations: 96 kB / 0.5377 GB, free: 45.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.15e-05/0.3345, allocations: 131.9 kB / 0.5378 GB, free: 45.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.3357, allocations: 0.8655 MB / 0.5387 GB, free: 44.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.667e-05/0.3357, allocations: 179.3 kB / 0.5389 GB, free: 44.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00294/0.3387, allocations: 0.7885 MB / 0.5396 GB, free: 43.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.3388, allocations: 237 kB / 0.5399 GB, free: 43.2 MB / 442.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.001516/0.3403, allocations: 1.634 MB / 0.5414 GB, free: 41.55 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006339/0.3409, allocations: 405.3 kB / 0.5418 GB, free: 41.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004047/0.3413, allocations: 397.8 kB / 0.5422 GB, free: 40.76 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3414, allocations: 7.938 kB / 0.5422 GB, free: 40.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.3414, allocations: 5.5 kB / 0.5422 GB, free: 40.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.3414, allocations: 3.984 kB / 0.5422 GB, free: 40.75 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004263/0.3456, allocations: 4.833 MB / 0.5469 GB, free: 35.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.3456, allocations: 12 kB / 0.547 GB, free: 35.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.3458, allocations: 115.8 kB / 0.5471 GB, free: 35.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/0.3458, allocations: 20 kB / 0.5471 GB, free: 35.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.3458, allocations: 28 kB / 0.5471 GB, free: 35.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/0.3458, allocations: 27.86 kB / 0.5471 GB, free: 35.46 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.014e-06/0.3458, allocations: 23.88 kB / 0.5472 GB, free: 35.44 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008067/0.3467, allocations: 1.238 MB / 0.5484 GB, free: 33.99 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007045/0.3474, allocations: 0.5672 MB / 0.5489 GB, free: 33.42 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002866/0.3476, allocations: 39.8 kB / 0.549 GB, free: 33.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009507/0.3486, allocations: 175.7 kB / 0.5491 GB, free: 33.21 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.3486, allocations: 87.55 kB / 0.5492 GB, free: 33.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.3487, allocations: 35.98 kB / 0.5493 GB, free: 33.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003317/0.352, allocations: 3.985 MB / 0.5531 GB, free: 29.11 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.352, allocations: 0 / 0.5531 GB, free: 29.11 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002888/0.3549, allocations: 1.092 MB / 0.5542 GB, free: 28.02 MB / 442.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.00113/0.356, allocations: 1.833 MB / 0.556 GB, free: 25.97 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002057/0.3581, allocations: 1.889 MB / 0.5578 GB, free: 24.11 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.3581, allocations: 0 / 0.5578 GB, free: 24.11 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.3582, allocations: 263.3 kB / 0.5581 GB, free: 23.86 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002272/0.3605, allocations: 0.6702 MB / 0.5587 GB, free: 23.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04117/0.4017, allocations: 38.73 MB / 0.5966 GB, free: 12.79 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002397/0.4041, allocations: 2.32 MB / 0.5988 GB, free: 10.46 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002095/0.4062, allocations: 1.208 MB / 0.6 GB, free: 9.254 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001619/0.4078, allocations: 1.754 MB / 0.6017 GB, free: 7.496 MB / 474.7 MB Notification: Performance of SimCode: time 1.382e-06/0.4078, allocations: 0 / 0.6017 GB, free: 7.496 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2371/0.6449, allocations: 73.98 MB / 0.674 GB, free: 155.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.87/10.52, allocations: 6.188 kB / 0.674 GB, free: 155.6 MB / 0.5105 GB " [Timeout remaining time 649] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Bodies/Bodies.csv","/var/lib/jenkins/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.147364781238139]