Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000849/0.000849, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000881/0.000881, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8997/0.8997, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2288/0.2288, allocations: 34.24 MB / 294.8 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 442.1 MB, free: 1.586 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.491e-05, allocations: 6.219 kB / 442.1 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.1888/0.1888, allocations: 12.71 MB / 454.9 MB, free: 36.99 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006726/0.1955, allocations: 4.483 MB / 459.3 MB, free: 34.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002466/0.198, allocations: 122.7 kB / 459.5 MB, free: 34.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003245/0.2012, allocations: 3.183 MB / 462.6 MB, free: 32.74 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003802/0.205, allocations: 2.146 MB / 464.8 MB, free: 31.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.2064, allocations: 1.174 MB / 466 MB, free: 31.22 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006166/0.2126, allocations: 8.627 MB / 474.6 MB, free: 28.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003813/0.2164, allocations: 4.084 MB / 478.7 MB, free: 26.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004891/0.2213, allocations: 2.961 MB / 481.6 MB, free: 25.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006096/0.2274, allocations: 3.379 MB / 485 MB, free: 24.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001553/0.229, allocations: 384 kB / 485.4 MB, free: 24.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002576/0.2315, allocations: 0.9157 MB / 486.3 MB, free: 24.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003115/0.2347, allocations: 2.526 MB / 488.8 MB, free: 23.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003376/0.238, allocations: 1.59 MB / 490.4 MB, free: 22.78 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009046/0.2471, allocations: 7.259 MB / 497.7 MB, free: 19.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.2471, allocations: 0 / 497.7 MB, free: 19.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.2471, allocations: 1.219 kB / 497.7 MB, free: 19.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000239/0.2473, allocations: 0 / 497.7 MB, free: 19.82 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.01719/0.2645, allocations: 5.762 MB / 0.4916 GB, free: 16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.2646, allocations: 9.5 kB / 0.4917 GB, free: 16 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001206/0.2658, allocations: 0.5093 MB / 0.4921 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04375/0.3095, allocations: 8.768 MB / 0.5007 GB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007632/0.3172, allocations: 4.305 MB / 0.5049 GB, free: 5.777 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.977e-05/0.3173, allocations: 201.6 kB / 0.5051 GB, free: 5.578 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006879/0.318, allocations: 288.2 kB / 0.5054 GB, free: 5.297 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008945/0.3269, allocations: 7.021 MB / 0.5122 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001558/0.3271, allocations: 59.58 kB / 0.5123 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002532/0.3273, allocations: 119.9 kB / 0.5124 GB, free: 13.53 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009371/0.3282, allocations: 1.002 MB / 0.5134 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007886/0.3361, allocations: 4.966 MB / 0.5182 GB, free: 7.562 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02809/0.3642, allocations: 26.93 MB / 0.5445 GB, free: 11.9 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/0.3658, allocations: 0.7973 MB / 0.5453 GB, free: 11.06 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002286/0.3661, allocations: 216.6 kB / 0.5455 GB, free: 10.83 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.205e-05/0.3661, allocations: 16.19 kB / 0.5455 GB, free: 10.82 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.3661, allocations: 38.56 kB / 0.5456 GB, free: 10.77 MB / 458.7 MB Notification: Performance of pre-optimization done (n=37): time 3.767e-06/0.3661, allocations: 3.938 kB / 0.5456 GB, free: 10.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=37): time 0.005497/0.3716, allocations: 2.395 MB / 0.5479 GB, free: 8.363 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.295e-05/0.3717, allocations: 235.3 kB / 0.5481 GB, free: 8.078 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007214/0.3789, allocations: 5.759 MB / 0.5538 GB, free: 2.316 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.37e-05/0.379, allocations: 41.7 kB / 0.5538 GB, free: 2.27 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002202/0.3812, allocations: 2.81 MB / 0.5565 GB, free: 15.43 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/0.3815, allocations: 202.8 kB / 0.5567 GB, free: 15.23 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006347/0.3821, allocations: 0.7107 MB / 0.5574 GB, free: 14.52 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.289e-05/0.3822, allocations: 305.1 kB / 0.5577 GB, free: 14.21 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009861/0.3831, allocations: 0.8109 MB / 0.5585 GB, free: 13.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0024/0.3855, allocations: 3.512 MB / 0.5619 GB, free: 8.543 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003984/0.3895, allocations: 4.561 MB / 0.5664 GB, free: 2.656 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.922e-05/0.3896, allocations: 33.75 kB / 0.5664 GB, free: 2.625 MB / 474.7 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.005695/0.3953, allocations: 4.107 MB / 0.5704 GB, free: 14.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.666e-05/0.3953, allocations: 47.94 kB / 0.5705 GB, free: 14.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-05/0.3954, allocations: 96 kB / 0.5706 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.835e-05/0.3955, allocations: 120.8 kB / 0.5707 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.3969, allocations: 0.8733 MB / 0.5715 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001079/0.397, allocations: 179.3 kB / 0.5717 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003833/0.4008, allocations: 0.7698 MB / 0.5725 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002906/0.4011, allocations: 232 kB / 0.5727 GB, free: 12.21 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.002767/0.4039, allocations: 1.625 MB / 0.5743 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001062/0.4049, allocations: 401.4 kB / 0.5747 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006826/0.4056, allocations: 397.3 kB / 0.575 GB, free: 9.781 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.4056, allocations: 8 kB / 0.575 GB, free: 9.773 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.4056, allocations: 2.125 kB / 0.5751 GB, free: 9.773 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.4056, allocations: 0 / 0.5751 GB, free: 9.773 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006286/0.4119, allocations: 4.764 MB / 0.5797 GB, free: 4.754 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.4119, allocations: 16.25 kB / 0.5797 GB, free: 4.738 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.4121, allocations: 115.8 kB / 0.5798 GB, free: 4.625 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.464e-05/0.4121, allocations: 20.38 kB / 0.5798 GB, free: 4.605 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.4122, allocations: 24 kB / 0.5799 GB, free: 4.582 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.387e-05/0.4122, allocations: 27.92 kB / 0.5799 GB, free: 4.555 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.125e-05/0.4122, allocations: 23.88 kB / 0.5799 GB, free: 4.531 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/0.414, allocations: 1.236 MB / 0.5811 GB, free: 3.078 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009805/0.415, allocations: 0.5283 MB / 0.5816 GB, free: 2.547 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003497/0.4154, allocations: 31.98 kB / 0.5817 GB, free: 2.516 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009713/0.4163, allocations: 143.8 kB / 0.5818 GB, free: 2.375 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.602e-05/0.4164, allocations: 91.55 kB / 0.5819 GB, free: 2.285 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.4164, allocations: 32 kB / 0.5819 GB, free: 2.254 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004479/0.4209, allocations: 3.804 MB / 0.5856 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4209, allocations: 0 / 0.5856 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003525/0.4244, allocations: 1.069 MB / 0.5867 GB, free: 13.39 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.001812/0.4262, allocations: 1.827 MB / 0.5885 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002373/0.4286, allocations: 1.898 MB / 0.5903 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.585e-06/0.4286, allocations: 0 / 0.5903 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.4288, allocations: 256.5 kB / 0.5906 GB, free: 9.227 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/0.4312, allocations: 0.6697 MB / 0.5912 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04838/0.4796, allocations: 37.57 MB / 0.6279 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00226/0.4819, allocations: 2.305 MB / 0.6302 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002149/0.484, allocations: 1.189 MB / 0.6313 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001816/0.4859, allocations: 1.734 MB / 0.633 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of SimCode: time 1.693e-06/0.4859, allocations: 4 kB / 0.633 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2456/0.7315, allocations: 72.07 MB / 0.7034 GB, free: 146.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/11, allocations: 11.86 kB / 0.7034 GB, free: 146.5 MB / 0.5417 GB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.727318457327783]