Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009807/0.0009809, allocations: 94.86 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009265/0.0009266, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.7 MB / 247.5 MB, free: 11.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002513/0.0002514, allocations: 8 kB / 308.4 MB, free: 0.8203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09482/0.0951, allocations: 51.53 MB / 359.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.2318/0.327, allocations: 37.09 MB / 397 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0237/0.3507, allocations: 8.387 MB / 405.4 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0099/0.3607, allocations: 161.8 kB / 405.5 MB, free: 9.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001851/0.3626, allocations: 380.7 kB / 405.9 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005268/0.3679, allocations: 1.563 MB / 407.5 MB, free: 8.465 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.3694, allocations: 0.5547 MB / 408 MB, free: 8.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006495/0.376, allocations: 5.013 MB / 413 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005879/0.3819, allocations: 4.076 MB / 417.1 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00213/0.384, allocations: 1.011 MB / 418.1 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002725/0.3868, allocations: 1.662 MB / 419.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004946/0.3873, allocations: 120 kB / 419.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00218/0.3895, allocations: 1.018 MB / 420.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001408/0.3909, allocations: 1.492 MB / 422.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001827/0.3927, allocations: 1.744 MB / 424.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004843/0.3976, allocations: 4.732 MB / 428.9 MB, free: 5.812 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3976, allocations: 4 kB / 428.9 MB, free: 5.809 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3976, allocations: 0 / 428.9 MB, free: 5.809 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001475/0.3978, allocations: 0 / 428.9 MB, free: 5.809 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.007183/0.405, allocations: 3.439 MB / 432.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.405, allocations: 12.03 kB / 432.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007149/0.4122, allocations: 1.93 MB / 434.3 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003781/0.416, allocations: 1.99 MB / 436.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/0.4162, allocations: 217.4 kB / 436.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008731/0.4171, allocations: 367.6 kB / 436.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01562/0.4327, allocations: 8.905 MB / 445.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001028/0.4329, allocations: 43.59 kB / 445.8 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000392/0.4333, allocations: 139.8 kB / 445.9 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002458/0.4357, allocations: 1.637 MB / 447.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01571/0.4514, allocations: 7.553 MB / 455.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04706/0.4986, allocations: 35.16 MB / 490.3 MB, free: 6.602 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008973/0.5076, allocations: 3.475 MB / 493.8 MB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002116/0.5098, allocations: 1.451 MB / 495.2 MB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.011/0.5208, allocations: 6.891 MB / 0.4903 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.342e-05/0.5209, allocations: 43.22 kB / 0.4904 GB, free: 10.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 4.448e-06/0.5209, allocations: 0 / 0.4904 GB, free: 10.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=139): time 0.0297/0.5506, allocations: 11.21 MB / 0.5013 GB, free: 14.87 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001366/0.552, allocations: 1.624 MB / 0.5029 GB, free: 13.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00599/0.558, allocations: 3.527 MB / 0.5064 GB, free: 9.543 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003317/0.5584, allocations: 41.7 kB / 0.5064 GB, free: 9.496 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002342/0.5607, allocations: 2.782 MB / 0.5091 GB, free: 6.676 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009415/0.5617, allocations: 0.5711 MB / 0.5097 GB, free: 6.098 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009489/0.5627, allocations: 470 kB / 0.5101 GB, free: 5.633 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.5628, allocations: 317.2 kB / 0.5104 GB, free: 5.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003473/0.5663, allocations: 1.927 MB / 0.5123 GB, free: 3.387 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006076/0.5724, allocations: 5.381 MB / 0.5176 GB, free: 12.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009859/0.5823, allocations: 7.854 MB / 0.5252 GB, free: 2.703 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001132/0.5824, allocations: 36.28 kB / 0.5253 GB, free: 2.668 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.2136/0.796, allocations: 8.846 MB / 0.5339 GB, free: 140.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.05e-05/0.7962, allocations: 58.56 kB / 0.534 GB, free: 140.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0118/0.808, allocations: 3.534 MB / 0.5374 GB, free: 139.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01069/0.8187, allocations: 2.329 MB / 0.5397 GB, free: 139.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004/0.8227, allocations: 1.255 MB / 0.5409 GB, free: 139.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008881/0.8316, allocations: 6.832 MB / 0.5476 GB, free: 135.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004468/0.8361, allocations: 386.7 kB / 0.5479 GB, free: 135.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007874/0.837, allocations: 343.6 kB / 0.5483 GB, free: 135.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 36 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (676): * Single equations (assignments): 667 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002976/0.8399, allocations: 1.855 MB / 0.5501 GB, free: 134.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005085/0.8405, allocations: 301.9 kB / 0.5504 GB, free: 134.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007136/0.8412, allocations: 413.3 kB / 0.5508 GB, free: 134.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004086/0.8453, allocations: 2.384 MB / 0.5531 GB, free: 133.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.8453, allocations: 3.906 kB / 0.5531 GB, free: 133.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-05/0.8453, allocations: 7.969 kB / 0.5531 GB, free: 133.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/0.8568, allocations: 7.866 MB / 0.5608 GB, free: 129 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/0.8568, allocations: 1.625 kB / 0.5608 GB, free: 129 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.8578, allocations: 235.4 kB / 0.561 GB, free: 128.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00268/0.8605, allocations: 1.054 MB / 0.562 GB, free: 127.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001565/0.8607, allocations: 35.97 kB / 0.5621 GB, free: 127.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004114/0.8648, allocations: 4.964 MB / 0.5669 GB, free: 122.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006678/0.8655, allocations: 1.482 MB / 0.5684 GB, free: 120.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006338/0.8719, allocations: 4.997 MB / 0.5733 GB, free: 116 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006912/0.8726, allocations: 369 kB / 0.5736 GB, free: 115.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000306/0.8729, allocations: 27.98 kB / 0.5736 GB, free: 115.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/0.8742, allocations: 133.4 kB / 0.5738 GB, free: 115.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002134/0.8744, allocations: 94.05 kB / 0.5738 GB, free: 115.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.313e-05/0.8745, allocations: 39.98 kB / 0.5739 GB, free: 115.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002459/0.877, allocations: 2.187 MB / 0.576 GB, free: 113.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.877, allocations: 0 / 0.576 GB, free: 113.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003733/0.8807, allocations: 0.9495 MB / 0.5769 GB, free: 112.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.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 (105): * Single equations (assignments): 98 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0003549/0.8811, allocations: 162.8 kB / 0.5771 GB, free: 112.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007564/0.8887, allocations: 5.241 MB / 0.5822 GB, free: 106.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.8887, allocations: 0 / 0.5822 GB, free: 106.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003284/0.892, allocations: 2.018 MB / 0.5842 GB, free: 104.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002889/0.8949, allocations: 377.6 kB / 0.5846 GB, free: 104.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/0.9067, allocations: 10.79 MB / 0.5951 GB, free: 93.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002256/0.909, allocations: 2.912 MB / 0.5979 GB, free: 90.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000774/0.9098, allocations: 251.4 kB / 0.5982 GB, free: 90.3 MB / 446.1 MB Notification: Performance of SimCode: time 8.31e-07/0.9098, allocations: 4 kB / 0.5982 GB, free: 90.3 MB / 446.1 MB Notification: Performance of Templates: time 0.2774/1.187, allocations: 116.6 MB / 0.712 GB, free: 145.1 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches