Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.001095, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 105.8 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009107/0.0009108, allocations: 39.94 kB / 350 MB, free: 92 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.227, allocations: 49.44 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.02846/0.2555, allocations: 38.41 MB / 437.9 MB, free: 10.83 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02142/0.277, allocations: 8.536 MB / 446.4 MB, free: 2.27 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008669/0.2858, allocations: 167.6 kB / 446.6 MB, free: 2.105 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004472/0.2904, allocations: 2.291 MB / 448.9 MB, free: 15.81 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004725/0.2951, allocations: 1.573 MB / 450.5 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.2965, allocations: 0.5617 MB / 451 MB, free: 13.67 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005535/0.302, allocations: 5.001 MB / 456 MB, free: 8.648 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003273/0.3053, allocations: 2.999 MB / 459 MB, free: 5.602 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.3069, allocations: 1.214 MB / 460.2 MB, free: 4.383 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002197/0.3091, allocations: 1.92 MB / 462.2 MB, free: 2.457 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004214/0.3096, allocations: 208 kB / 462.4 MB, free: 2.254 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00216/0.3117, allocations: 1.112 MB / 463.5 MB, free: 1.141 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001521/0.3133, allocations: 1.609 MB / 465.1 MB, free: 15.53 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001612/0.3149, allocations: 1.887 MB / 467 MB, free: 13.63 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005867/0.3208, allocations: 5.969 MB / 472.9 MB, free: 7.641 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.648e-05/0.3208, allocations: 4 kB / 472.9 MB, free: 7.637 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3208, allocations: 0 / 472.9 MB, free: 7.637 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.205e-05/0.3209, allocations: 0 / 472.9 MB, free: 7.637 MB / 346.7 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.006592/0.3275, allocations: 4.226 MB / 477.2 MB, free: 3.344 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.3275, allocations: 8.031 kB / 477.2 MB, free: 3.336 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005842/0.3334, allocations: 1.832 MB / 479 MB, free: 1.496 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003981/0.3374, allocations: 2.017 MB / 481 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.3375, allocations: 217.4 kB / 481.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007406/0.3383, allocations: 367.7 kB / 481.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01444/0.3527, allocations: 8.87 MB / 490.5 MB, free: 5.344 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.184e-05/0.3529, allocations: 35.66 kB / 490.5 MB, free: 5.309 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003236/0.3532, allocations: 135.9 kB / 490.6 MB, free: 5.176 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002332/0.3555, allocations: 1.637 MB / 492.3 MB, free: 3.535 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01395/0.3695, allocations: 7.513 MB / 499.8 MB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2182/0.5877, allocations: 35.16 MB / 0.5224 GB, free: 74.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008195/0.596, allocations: 3.443 MB / 0.5258 GB, free: 73.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001846/0.5979, allocations: 1.444 MB / 0.5272 GB, free: 72.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009919/0.6078, allocations: 6.808 MB / 0.5338 GB, free: 67.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.6079, allocations: 46.66 kB / 0.5339 GB, free: 67.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=132): time 5.09e-06/0.6079, allocations: 0 / 0.5339 GB, free: 67.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=139): time 0.02382/0.6318, allocations: 11.11 MB / 0.5447 GB, free: 56.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001027/0.6328, allocations: 1.613 MB / 0.5463 GB, free: 54.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004187/0.637, allocations: 3.528 MB / 0.5497 GB, free: 51.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003715/0.6374, allocations: 45.8 kB / 0.5498 GB, free: 51.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001322/0.6388, allocations: 2.792 MB / 0.5525 GB, free: 48.51 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006016/0.6394, allocations: 0.5743 MB / 0.5531 GB, free: 47.94 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001194/0.6406, allocations: 1.103 MB / 0.5541 GB, free: 46.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.348e-05/0.6406, allocations: 309.8 kB / 0.5544 GB, free: 46.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002136/0.6428, allocations: 1.927 MB / 0.5563 GB, free: 44.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003326/0.6461, allocations: 5.365 MB / 0.5616 GB, free: 37.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005724/0.6519, allocations: 7.819 MB / 0.5692 GB, free: 27.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.306e-05/0.6519, allocations: 39.94 kB / 0.5692 GB, free: 27.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01599/0.6679, allocations: 8.754 MB / 0.5778 GB, free: 19.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.53e-05/0.668, allocations: 56 kB / 0.5778 GB, free: 19.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009612/0.6776, allocations: 3.441 MB / 0.5812 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01038/0.688, allocations: 2.227 MB / 0.5834 GB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004092/0.6922, allocations: 1.252 MB / 0.5846 GB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008127/0.7003, allocations: 6.81 MB / 0.5912 GB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004701/0.7051, allocations: 387.3 kB / 0.5916 GB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001075/0.7062, allocations: 347.6 kB / 0.5919 GB, free: 4.355 MB / 378.7 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.003597/0.7098, allocations: 1.85 MB / 0.5938 GB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007618/0.7106, allocations: 312 kB / 0.594 GB, free: 2.188 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005777/0.7164, allocations: 2.761 MB / 0.5967 GB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004537/0.721, allocations: 2.355 MB / 0.599 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.108e-05/0.721, allocations: 4 kB / 0.599 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-05/0.721, allocations: 7.922 kB / 0.5991 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01737/0.7384, allocations: 7.85 MB / 0.6067 GB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.86e-05/0.7385, allocations: 0 / 0.6067 GB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/0.7397, allocations: 227.6 kB / 0.6069 GB, free: 4.859 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003269/0.743, allocations: 1.053 MB / 0.608 GB, free: 3.793 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003114/0.7433, allocations: 31.98 kB / 0.608 GB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006294/0.7496, allocations: 4.952 MB / 0.6128 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00108/0.7507, allocations: 1.482 MB / 0.6143 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06416/0.8149, allocations: 31.7 MB / 0.6452 GB, free: 12.87 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/0.8161, allocations: 357.1 kB / 0.6456 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001096/0.8173, allocations: 37.59 kB / 0.6456 GB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002212/0.8195, allocations: 127.8 kB / 0.6457 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004976/0.82, allocations: 92.34 kB / 0.6458 GB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000216/0.8203, allocations: 39.97 kB / 0.6459 GB, free: 12.21 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004889/0.8252, allocations: 2.191 MB / 0.648 GB, free: 10.03 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8252, allocations: 0 / 0.648 GB, free: 10.03 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007869/0.8331, allocations: 1.324 MB / 0.6493 GB, free: 8.715 MB / 442.7 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.0007005/0.8338, allocations: 167.8 kB / 0.6495 GB, free: 8.547 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01005/0.8439, allocations: 5.216 MB / 0.6545 GB, free: 3.293 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.8439, allocations: 0 / 0.6545 GB, free: 3.293 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004242/0.8482, allocations: 2.005 MB / 0.6565 GB, free: 1.215 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003503/0.8517, allocations: 379.2 kB / 0.6569 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0259/0.8777, allocations: 12.36 MB / 0.6689 GB, free: 4.328 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005981/0.8837, allocations: 2.949 MB / 0.6718 GB, free: 1.352 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.2332/1.117, allocations: 1.731 MB / 0.6735 GB, free: 156.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/1.118, allocations: 223.8 kB / 0.6737 GB, free: 156.7 MB / 458.7 MB Notification: Performance of SimCode: time 1.162e-06/1.118, allocations: 0 / 0.6737 GB, free: 156.7 MB / 458.7 MB Notification: Performance of Templates: time 0.07562/1.194, allocations: 44.34 MB / 0.717 GB, free: 128.9 MB / 458.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches