Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001697/0.001697, allocations: 118.1 kB / 17.83 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002027/0.002027, allocations: 209.1 kB / 18.79 MB, free: 4.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.476/1.476, allocations: 230.4 MB / 250 MB, free: 9.039 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 71.83 kB / 367.4 MB, free: 7.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2808, allocations: 53.32 MB / 420.7 MB, free: 8.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01304/0.2938, allocations: 10.47 MB / 431.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007973/0.3018, allocations: 3.851 MB / 435 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001416/0.3032, allocations: 59.81 kB / 435 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004502/0.3077, allocations: 2.34 MB / 437.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004484/0.3122, allocations: 1.697 MB / 439.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.3139, allocations: 0.6122 MB / 439.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0052/0.3191, allocations: 3.473 MB / 443.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003351/0.3224, allocations: 2.568 MB / 445.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002265/0.3247, allocations: 1.367 MB / 447.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002843/0.3275, allocations: 1.939 MB / 449 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007011/0.3282, allocations: 292 kB / 449.3 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002347/0.3306, allocations: 1.166 MB / 450.5 MB, free: 10.4 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001817/0.3324, allocations: 1.714 MB / 452.2 MB, free: 8.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00205/0.3345, allocations: 1.95 MB / 454.2 MB, free: 6.719 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008134/0.3426, allocations: 6.21 MB / 460.4 MB, free: 496 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.089e-05/0.3426, allocations: 4 kB / 460.4 MB, free: 492 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3426, allocations: 0 / 460.4 MB, free: 492 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001508/0.3428, allocations: 0 / 460.4 MB, free: 492 kB / 366.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.008749/0.3515, allocations: 4.309 MB / 464.7 MB, free: 12.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.3516, allocations: 8.031 kB / 464.7 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006658/0.3582, allocations: 1.921 MB / 466.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004408/0.3626, allocations: 2.041 MB / 468.7 MB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001813/0.3628, allocations: 213.4 kB / 468.9 MB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009791/0.3638, allocations: 359.8 kB / 469.2 MB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01726/0.381, allocations: 8.901 MB / 478.1 MB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000134/0.3812, allocations: 43.69 kB / 478.2 MB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004108/0.3816, allocations: 131.9 kB / 478.3 MB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002554/0.3841, allocations: 1.641 MB / 479.9 MB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01549/0.3996, allocations: 7.529 MB / 487.5 MB, free: 4.613 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04553/0.4452, allocations: 35.07 MB / 0.5103 GB, free: 0.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008825/0.454, allocations: 3.381 MB / 0.5136 GB, free: 12.97 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002095/0.4561, allocations: 1.377 MB / 0.5149 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0103/0.4664, allocations: 6.904 MB / 0.5217 GB, free: 4.344 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.4664, allocations: 47.22 kB / 0.5217 GB, free: 4.289 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 3.236e-06/0.4664, allocations: 0 / 0.5217 GB, free: 4.289 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.03293/0.4994, allocations: 11.35 MB / 0.5328 GB, free: 8.793 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001516/0.5009, allocations: 1.703 MB / 0.5345 GB, free: 6.906 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005901/0.5068, allocations: 3.536 MB / 0.5379 GB, free: 3.371 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002866/0.5071, allocations: 45.69 kB / 0.538 GB, free: 3.32 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003208/0.5103, allocations: 2.9 MB / 0.5408 GB, free: 404 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2007/0.7109, allocations: 0.5863 MB / 0.5414 GB, free: 116.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002005/0.7129, allocations: 1.121 MB / 0.5425 GB, free: 116.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.624e-05/0.713, allocations: 302.6 kB / 0.5427 GB, free: 116.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002634/0.7156, allocations: 1.929 MB / 0.5446 GB, free: 115.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003508/0.7191, allocations: 5.381 MB / 0.5499 GB, free: 110.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00559/0.7247, allocations: 7.842 MB / 0.5575 GB, free: 103.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.064e-05/0.7248, allocations: 38.78 kB / 0.5576 GB, free: 103.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01546/0.7402, allocations: 8.854 MB / 0.5662 GB, free: 99.65 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.235e-05/0.7403, allocations: 56 kB / 0.5663 GB, free: 99.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008605/0.7489, allocations: 3.519 MB / 0.5697 GB, free: 96.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009445/0.7583, allocations: 2.321 MB / 0.572 GB, free: 94.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003292/0.7616, allocations: 1.252 MB / 0.5732 GB, free: 93.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007649/0.7693, allocations: 7.458 MB / 0.5805 GB, free: 85.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003636/0.7729, allocations: 380.4 kB / 0.5809 GB, free: 85.22 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003864/0.7733, allocations: 340 kB / 0.5812 GB, free: 84.89 MB / 462.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.001852/0.7751, allocations: 1.86 MB / 0.583 GB, free: 83.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003459/0.7755, allocations: 319.8 kB / 0.5833 GB, free: 82.96 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005949/0.7761, allocations: 402.1 kB / 0.5837 GB, free: 82.57 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003826/0.7799, allocations: 2.373 MB / 0.586 GB, free: 80.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.7799, allocations: 4 kB / 0.586 GB, free: 80.18 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.7799, allocations: 7.969 kB / 0.586 GB, free: 80.17 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009994/0.7899, allocations: 7.836 MB / 0.5937 GB, free: 72.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.7899, allocations: 6.438 kB / 0.5937 GB, free: 72.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009575/0.7909, allocations: 227.6 kB / 0.5939 GB, free: 72.06 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002628/0.7935, allocations: 1.06 MB / 0.5949 GB, free: 70.99 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/0.7936, allocations: 35.97 kB / 0.595 GB, free: 70.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00409/0.7977, allocations: 5.287 MB / 0.6001 GB, free: 65.43 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006381/0.7983, allocations: 1.565 MB / 0.6016 GB, free: 63.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005994/0.8043, allocations: 5.006 MB / 0.6065 GB, free: 58.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004986/0.8048, allocations: 374 kB / 0.6069 GB, free: 58.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002999/0.8051, allocations: 35.92 kB / 0.6069 GB, free: 58.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/0.8063, allocations: 131.8 kB / 0.6071 GB, free: 58.15 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/0.8066, allocations: 76.53 kB / 0.6071 GB, free: 58.08 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.8067, allocations: 43.97 kB / 0.6072 GB, free: 58.04 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002257/0.8089, allocations: 2.179 MB / 0.6093 GB, free: 55.87 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8089, allocations: 0 / 0.6093 GB, free: 55.87 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003644/0.8126, allocations: 0.9516 MB / 0.6102 GB, free: 54.92 MB / 462.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.0003481/0.8129, allocations: 168.3 kB / 0.6104 GB, free: 54.75 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007598/0.8205, allocations: 5.05 MB / 0.6153 GB, free: 49.67 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.8205, allocations: 0 / 0.6153 GB, free: 49.67 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002868/0.8234, allocations: 1.95 MB / 0.6172 GB, free: 47.64 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/0.8253, allocations: 406.8 kB / 0.6176 GB, free: 47.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.8359, allocations: 8.533 MB / 0.6259 GB, free: 38.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002097/0.838, allocations: 2.901 MB / 0.6288 GB, free: 35.74 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002986/0.841, allocations: 1.698 MB / 0.6304 GB, free: 34.04 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004453/0.8414, allocations: 207.4 kB / 0.6306 GB, free: 33.84 MB / 462.1 MB Notification: Performance of SimCode: time 9.32e-07/0.8414, allocations: 0 / 0.6306 GB, free: 33.84 MB / 462.1 MB Notification: Performance of Templates: time 0.05104/0.8925, allocations: 33.45 MB / 0.6633 GB, free: 0.6016 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches