Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 108.4 kB / 18.34 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 186.9 kB / 19.28 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 56.39 kB / 282.1 MB, free: 2.438 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07944/0.08074, allocations: 46.63 MB / 328.7 MB, free: 3.734 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01175/0.09253, allocations: 10.46 MB / 339.2 MB, free: 9.215 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007196/0.09977, allocations: 3.817 MB / 343 MB, free: 5.387 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001401/0.1012, allocations: 59.81 kB / 343.1 MB, free: 5.328 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004085/0.1053, allocations: 2.313 MB / 345.4 MB, free: 3.008 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0037/0.1091, allocations: 1.696 MB / 347.1 MB, free: 1.305 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.1104, allocations: 0.6044 MB / 347.7 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003895/0.1143, allocations: 3.467 MB / 351.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003015/0.1173, allocations: 3.032 MB / 354.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001787/0.1191, allocations: 1.374 MB / 355.5 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002057/0.1212, allocations: 1.795 MB / 357.3 MB, free: 6.961 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004909/0.1217, allocations: 292 kB / 357.6 MB, free: 6.676 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001779/0.1235, allocations: 1.131 MB / 358.8 MB, free: 5.543 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001426/0.1249, allocations: 1.675 MB / 360.4 MB, free: 3.863 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001842/0.1268, allocations: 1.965 MB / 362.4 MB, free: 1.887 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005787/0.1326, allocations: 6.236 MB / 368.6 MB, free: 11.63 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1326, allocations: 4 kB / 368.6 MB, free: 11.62 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1326, allocations: 0 / 368.6 MB, free: 11.62 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001255/0.1327, allocations: 0 / 368.6 MB, free: 11.62 MB / 318.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.01019/0.1429, allocations: 4.234 MB / 372.9 MB, free: 7.324 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.143, allocations: 8.031 kB / 372.9 MB, free: 7.316 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006253/0.1493, allocations: 1.836 MB / 374.7 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004858/0.1542, allocations: 2.107 MB / 376.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.1543, allocations: 213.4 kB / 377 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008429/0.1552, allocations: 371.6 kB / 377.4 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1598/0.315, allocations: 8.865 MB / 386.3 MB, free: 46.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.593e-05/0.3151, allocations: 37.34 kB / 386.3 MB, free: 46.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003459/0.3155, allocations: 136.7 kB / 386.4 MB, free: 46.85 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002373/0.3179, allocations: 1.639 MB / 388.1 MB, free: 46.55 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01304/0.3309, allocations: 7.498 MB / 395.6 MB, free: 44.05 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03227/0.3632, allocations: 35.01 MB / 430.6 MB, free: 10.56 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007106/0.3704, allocations: 3.458 MB / 434 MB, free: 6.957 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/0.3719, allocations: 1.445 MB / 435.5 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007765/0.3797, allocations: 6.795 MB / 442.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.3797, allocations: 47.2 kB / 442.3 MB, free: 14.35 MB / 334.1 MB Notification: Performance of pre-optimization done (n=132): time 3.687e-06/0.3797, allocations: 0 / 442.3 MB, free: 14.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=139): time 0.0255/0.4052, allocations: 11.12 MB / 453.4 MB, free: 3.062 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001345/0.4066, allocations: 1.71 MB / 455.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004712/0.4114, allocations: 3.547 MB / 458.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002781/0.4117, allocations: 49.69 kB / 458.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001853/0.4135, allocations: 2.794 MB / 461.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005664/0.4141, allocations: 0.5672 MB / 462.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001368/0.4155, allocations: 1.107 MB / 463.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.4156, allocations: 305.1 kB / 463.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00266/0.4183, allocations: 1.919 MB / 465.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004655/0.423, allocations: 5.362 MB / 470.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008493/0.4315, allocations: 7.839 MB / 478.6 MB, free: 6.176 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.473e-05/0.4316, allocations: 36 kB / 478.7 MB, free: 6.141 MB / 366.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01933/0.4509, allocations: 8.761 MB / 487.4 MB, free: 13.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.041e-05/0.451, allocations: 60 kB / 487.5 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009814/0.4608, allocations: 3.436 MB / 490.9 MB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009932/0.4708, allocations: 2.234 MB / 493.2 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004642/0.4755, allocations: 1.248 MB / 494.4 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/0.4857, allocations: 7.421 MB / 0.4901 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004658/0.4904, allocations: 379.3 kB / 0.4904 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000578/0.491, allocations: 340 kB / 0.4907 GB, free: 13.94 MB / 398.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.003046/0.494, allocations: 1.846 MB / 0.4925 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005083/0.4946, allocations: 308.1 kB / 0.4928 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005456/0.5, allocations: 2.769 MB / 0.4955 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004547/0.5046, allocations: 2.355 MB / 0.4978 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.5046, allocations: 8 kB / 0.4979 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.862e-05/0.5047, allocations: 11.97 kB / 0.4979 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01329/0.518, allocations: 7.854 MB / 0.5055 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.518, allocations: 8.812 kB / 0.5055 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.5191, allocations: 219.7 kB / 0.5058 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00304/0.5221, allocations: 1.057 MB / 0.5068 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001349/0.5223, allocations: 39.97 kB / 0.5068 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005502/0.5278, allocations: 5.271 MB / 0.512 GB, free: 7.734 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001014/0.5288, allocations: 1.557 MB / 0.5135 GB, free: 6.031 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00741/0.5362, allocations: 4.962 MB / 0.5183 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008234/0.5371, allocations: 361.1 kB / 0.5187 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003408/0.5374, allocations: 39.95 kB / 0.5187 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/0.5388, allocations: 127.8 kB / 0.5188 GB, free: 488 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002437/0.539, allocations: 88.39 kB / 0.5189 GB, free: 400 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/0.5391, allocations: 39.98 kB / 0.519 GB, free: 360 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002964/0.5421, allocations: 2.199 MB / 0.5211 GB, free: 14.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5421, allocations: 0 / 0.5211 GB, free: 14.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003918/0.546, allocations: 0.9701 MB / 0.5221 GB, free: 13.2 MB / 430.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.0003695/0.5464, allocations: 177.6 kB / 0.5222 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008379/0.5548, allocations: 5.237 MB / 0.5273 GB, free: 7.742 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.5548, allocations: 0 / 0.5273 GB, free: 7.742 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003633/0.5585, allocations: 2.017 MB / 0.5293 GB, free: 5.656 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/0.5607, allocations: 390.4 kB / 0.5297 GB, free: 5.277 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1496/0.7103, allocations: 8.407 MB / 0.5379 GB, free: 142.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003189/0.7136, allocations: 2.915 MB / 0.5407 GB, free: 142.1 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004011/0.7176, allocations: 1.704 MB / 0.5424 GB, free: 142.1 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005992/0.7182, allocations: 211.9 kB / 0.5426 GB, free: 142.1 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.7182, allocations: 0 / 0.5426 GB, free: 142.1 MB / 430.1 MB Notification: Performance of Templates: time 0.0518/0.77, allocations: 31.39 MB / 0.5733 GB, free: 124.6 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches