Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.178/1.178, allocations: 205.1 MB / 223.7 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008717/0.0008714, allocations: 102.2 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008019/0.000802, allocations: 35.95 kB / 327.2 MB, free: 320 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1974, allocations: 46.62 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01068/0.2081, allocations: 13.97 MB / 387.8 MB, free: 34.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006742/0.2149, allocations: 4.304 MB / 392.1 MB, free: 31.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001998/0.2169, allocations: 51.88 kB / 392.2 MB, free: 31.13 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.2182, allocations: 0.627 MB / 392.8 MB, free: 30.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001952/0.2201, allocations: 1.308 MB / 394.1 MB, free: 29.19 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006002/0.2207, allocations: 467.2 kB / 394.6 MB, free: 28.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002339/0.2231, allocations: 4.159 MB / 398.7 MB, free: 24.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003521/0.2235, allocations: 432.2 kB / 399.1 MB, free: 24.13 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000407/0.2239, allocations: 0.6963 MB / 399.8 MB, free: 23.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008788/0.2248, allocations: 1.312 MB / 401.1 MB, free: 22.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001599/0.2249, allocations: 80 kB / 401.2 MB, free: 22.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009918/0.2259, allocations: 0.9632 MB / 402.2 MB, free: 21.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005256/0.2265, allocations: 1.067 MB / 403.2 MB, free: 20 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006013/0.2271, allocations: 1.184 MB / 404.4 MB, free: 18.81 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001988/0.2291, allocations: 3.844 MB / 408.3 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2291, allocations: 0 / 408.3 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.2291, allocations: 0 / 408.3 MB, free: 14.95 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.186e-05/0.2291, allocations: 0 / 408.3 MB, free: 14.95 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.004278/0.2334, allocations: 3.216 MB / 411.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.2334, allocations: 16.03 kB / 411.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006552/0.24, allocations: 1.877 MB / 413.4 MB, free: 9.777 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002296/0.2423, allocations: 1.742 MB / 415.1 MB, free: 7.992 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.446e-05/0.2424, allocations: 110.6 kB / 415.2 MB, free: 7.883 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000636/0.243, allocations: 307.5 kB / 415.5 MB, free: 7.582 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009706/0.2527, allocations: 8.223 MB / 423.8 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.344e-05/0.2528, allocations: 35.75 kB / 423.8 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002186/0.253, allocations: 75.89 kB / 423.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001841/0.2549, allocations: 1.401 MB / 425.3 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01459/0.2695, allocations: 9.545 MB / 434.8 MB, free: 3.734 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02794/0.2974, allocations: 30.63 MB / 465.4 MB, free: 4.246 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/0.3078, allocations: 4.376 MB / 469.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002264/0.3101, allocations: 2.113 MB / 471.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.52e-05/0.3102, allocations: 15.98 kB / 471.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.3102, allocations: 54.55 kB / 472 MB, free: 13.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=122): time 4.719e-06/0.3102, allocations: 0 / 472 MB, free: 13.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=136): time 0.0403/0.3505, allocations: 18.32 MB / 490.3 MB, free: 10.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001867/0.3524, allocations: 3.05 MB / 493.4 MB, free: 7.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003337/0.3558, allocations: 3.006 MB / 496.4 MB, free: 4.492 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002439/0.356, allocations: 45.69 kB / 496.4 MB, free: 4.441 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001096/0.3571, allocations: 2.079 MB / 498.5 MB, free: 2.332 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005079/0.3576, allocations: 0.5671 MB / 499.1 MB, free: 1.758 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001246/0.3589, allocations: 1.015 MB / 0.4884 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.361e-05/0.359, allocations: 305.1 kB / 0.4887 GB, free: 440 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003264/0.3622, allocations: 2.637 MB / 0.4912 GB, free: 13.78 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004704/0.3669, allocations: 5.585 MB / 0.4967 GB, free: 6.719 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1603/0.5272, allocations: 8.622 MB / 0.5051 GB, free: 117.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.259e-05/0.5274, allocations: 31.38 kB / 0.5051 GB, free: 117.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03061/0.558, allocations: 11.78 MB / 0.5166 GB, free: 115 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.284e-05/0.5581, allocations: 53.78 kB / 0.5167 GB, free: 115 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02051/0.5786, allocations: 7.013 MB / 0.5235 GB, free: 111.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0205/0.5991, allocations: 4.545 MB / 0.528 GB, free: 107.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003648/0.6028, allocations: 1.244 MB / 0.5292 GB, free: 106 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01227/0.6151, allocations: 11.47 MB / 0.5404 GB, free: 94.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004544/0.6197, allocations: 0.5807 MB / 0.541 GB, free: 93.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003969/0.6201, allocations: 319.9 kB / 0.5413 GB, free: 93.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * Number of states: 0 () * Number of discrete variables: 18 (body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (592): * Single equations (assignments): 577 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001542/0.6217, allocations: 1.426 MB / 0.5427 GB, free: 91.83 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003757/0.622, allocations: 251.3 kB / 0.5429 GB, free: 91.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007714/0.6228, allocations: 415.2 kB / 0.5433 GB, free: 91.31 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009888/0.6327, allocations: 5.015 MB / 0.5482 GB, free: 86.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.192e-05/0.6328, allocations: 4 kB / 0.5482 GB, free: 86.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.6328, allocations: 7.984 kB / 0.5482 GB, free: 86.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006655/0.6395, allocations: 5.351 MB / 0.5534 GB, free: 80.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.6395, allocations: 0 / 0.5534 GB, free: 80.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001548/0.6411, allocations: 371.4 kB / 0.5538 GB, free: 80.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007756/0.6488, allocations: 2.39 MB / 0.5561 GB, free: 78.11 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002084/0.649, allocations: 43.95 kB / 0.5562 GB, free: 78.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006439/0.6555, allocations: 8.814 MB / 0.5648 GB, free: 68.78 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001205/0.6567, allocations: 2.895 MB / 0.5676 GB, free: 65.62 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1427/0.7994, allocations: 77.8 MB / 0.6436 GB, free: 3.289 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004783/0.7999, allocations: 321.8 kB / 0.6439 GB, free: 2.953 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003264/0.8002, allocations: 35.92 kB / 0.6439 GB, free: 2.918 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001968/0.8022, allocations: 323.5 kB / 0.6442 GB, free: 2.602 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004159/0.8026, allocations: 107.8 kB / 0.6443 GB, free: 2.496 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001668/0.8028, allocations: 55.47 kB / 0.6444 GB, free: 2.445 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002345/0.8052, allocations: 1.879 MB / 0.6462 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.142e-06/0.8052, allocations: 0 / 0.6462 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004502/0.8097, allocations: 1.596 MB / 0.6478 GB, free: 14.97 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * 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 (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003716/0.8101, allocations: 170.8 kB / 0.6479 GB, free: 14.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01108/0.8212, allocations: 7.428 MB / 0.6552 GB, free: 7.262 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.8212, allocations: 4.188 kB / 0.6552 GB, free: 7.258 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006039/0.8272, allocations: 3.632 MB / 0.6587 GB, free: 3.488 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/0.8292, allocations: 303.5 kB / 0.659 GB, free: 3.195 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1393/0.9685, allocations: 12.66 MB / 0.6714 GB, free: 137.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00174/0.9703, allocations: 2.348 MB / 0.6737 GB, free: 136.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004023/0.9743, allocations: 1.882 MB / 0.6755 GB, free: 136.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001457/0.9758, allocations: 233.5 kB / 0.6757 GB, free: 136.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.122e-06/0.9758, allocations: 0 / 0.6757 GB, free: 136.8 MB / 426.7 MB Notification: Performance of Templates: time 0.07961/1.055, allocations: 89.36 MB / 0.763 GB, free: 57.92 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches