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.001141/0.001141, allocations: 114 kB / 18.4 MB, free: 4.68 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.00109/0.00109, allocations: 182.4 kB / 19.33 MB, free: 3.762 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.333/1.333, 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.001181/0.001181, allocations: 52.41 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07696/0.07815, allocations: 46.62 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.1783/0.2565, allocations: 10.47 MB / 386.3 MB, free: 7.457 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007381/0.264, allocations: 3.807 MB / 390.1 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00206/0.266, allocations: 62.31 kB / 390.2 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004324/0.2704, allocations: 2.322 MB / 392.5 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004475/0.2749, allocations: 1.685 MB / 394.2 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.2766, allocations: 0.6077 MB / 394.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00527/0.2819, allocations: 3.46 MB / 398.2 MB, free: 1.969 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003896/0.2858, allocations: 3.025 MB / 401.3 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002706/0.2885, allocations: 1.368 MB / 402.6 MB, free: 56 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003173/0.2917, allocations: 1.805 MB / 404.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001054/0.2928, allocations: 291.5 kB / 404.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0029/0.2957, allocations: 1.144 MB / 405.9 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002295/0.298, allocations: 1.714 MB / 407.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002865/0.3009, allocations: 1.953 MB / 409.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006538/0.3074, allocations: 6.243 MB / 415.8 MB, free: 7.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.3075, allocations: 0 / 415.8 MB, free: 7.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3075, allocations: 0 / 415.8 MB, free: 7.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001615/0.3077, allocations: 4 kB / 415.8 MB, free: 7.52 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.008785/0.3165, allocations: 4.223 MB / 420 MB, free: 3.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3165, allocations: 8.031 kB / 420 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006568/0.3231, allocations: 1.84 MB / 421.8 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004252/0.3274, allocations: 2.108 MB / 424 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/0.3276, allocations: 217.4 kB / 424.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009785/0.3286, allocations: 367.5 kB / 424.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01529/0.3439, allocations: 8.862 MB / 433.4 MB, free: 5.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.599e-05/0.344, allocations: 51.52 kB / 433.4 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000373/0.3444, allocations: 131.9 kB / 433.6 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002459/0.3468, allocations: 1.641 MB / 435.2 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01461/0.3615, allocations: 7.502 MB / 442.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04179/0.4033, allocations: 35.02 MB / 477.7 MB, free: 7.742 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008681/0.412, allocations: 3.448 MB / 481.2 MB, free: 4.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001953/0.414, allocations: 1.451 MB / 482.6 MB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009557/0.4236, allocations: 6.796 MB / 489.4 MB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.056e-05/0.4237, allocations: 51.09 kB / 489.5 MB, free: 11.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 4.418e-06/0.4237, allocations: 0 / 489.5 MB, free: 11.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=139): time 0.02816/0.4519, allocations: 11.12 MB / 0.4889 GB, free: 220 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001467/0.4534, allocations: 1.7 MB / 0.4905 GB, free: 14.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005023/0.4584, allocations: 3.555 MB / 0.494 GB, free: 10.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003763/0.4588, allocations: 41.7 kB / 0.494 GB, free: 10.74 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00195/0.4608, allocations: 2.794 MB / 0.4968 GB, free: 7.906 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007662/0.4616, allocations: 0.5672 MB / 0.4973 GB, free: 7.332 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001407/0.463, allocations: 1.107 MB / 0.4984 GB, free: 6.215 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.4631, allocations: 305.4 kB / 0.4987 GB, free: 5.914 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002685/0.4658, allocations: 1.92 MB / 0.5006 GB, free: 3.988 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004893/0.4707, allocations: 5.365 MB / 0.5058 GB, free: 12.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008949/0.4797, allocations: 7.837 MB / 0.5135 GB, free: 3.332 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.907e-05/0.4798, allocations: 36 kB / 0.5135 GB, free: 3.297 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.0214/0.5012, allocations: 8.754 MB / 0.522 GB, free: 10.52 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.362e-05/0.5013, allocations: 56 kB / 0.5221 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01076/0.5121, allocations: 3.436 MB / 0.5254 GB, free: 7.016 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01062/0.5228, allocations: 2.234 MB / 0.5276 GB, free: 4.766 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00411/0.5269, allocations: 1.252 MB / 0.5289 GB, free: 3.512 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/0.5372, allocations: 7.424 MB / 0.5361 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004653/0.5418, allocations: 383.3 kB / 0.5365 GB, free: 11.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001154/0.543, allocations: 336 kB / 0.5368 GB, free: 11.1 MB / 478.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.0045/0.5476, allocations: 1.853 MB / 0.5386 GB, free: 9.234 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009077/0.5485, allocations: 304.1 kB / 0.5389 GB, free: 8.934 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006071/0.5546, allocations: 2.773 MB / 0.5416 GB, free: 6.133 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004435/0.559, allocations: 2.359 MB / 0.5439 GB, free: 3.75 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-05/0.5591, allocations: 4 kB / 0.5439 GB, free: 3.746 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.262e-05/0.5591, allocations: 12 kB / 0.5439 GB, free: 3.734 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.253/0.8121, allocations: 7.829 MB / 0.5516 GB, free: 147.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.586e-05/0.8122, allocations: 3.016 kB / 0.5516 GB, free: 147.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00185/0.8141, allocations: 225.4 kB / 0.5518 GB, free: 147.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005102/0.8192, allocations: 1.049 MB / 0.5528 GB, free: 147.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003428/0.8196, allocations: 39.77 kB / 0.5528 GB, free: 147.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00832/0.8279, allocations: 5.278 MB / 0.558 GB, free: 143.8 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001154/0.8291, allocations: 1.565 MB / 0.5595 GB, free: 142.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01284/0.842, allocations: 4.958 MB / 0.5644 GB, free: 140.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/0.8434, allocations: 364.1 kB / 0.5647 GB, free: 140.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009471/0.8443, allocations: 34.81 kB / 0.5647 GB, free: 140.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002601/0.847, allocations: 123.2 kB / 0.5649 GB, free: 140.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004494/0.8474, allocations: 91.83 kB / 0.565 GB, free: 140.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002286/0.8477, allocations: 45.03 kB / 0.565 GB, free: 140.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006117/0.8538, allocations: 2.195 MB / 0.5671 GB, free: 139.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.8538, allocations: 5.094 kB / 0.5671 GB, free: 139.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00883/0.8627, allocations: 0.9776 MB / 0.5681 GB, free: 139.4 MB / 478.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.000887/0.8636, allocations: 164.2 kB / 0.5683 GB, free: 139.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01353/0.8772, allocations: 5.24 MB / 0.5734 GB, free: 137.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.647e-06/0.8772, allocations: 0 / 0.5734 GB, free: 137.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003834/0.8811, allocations: 2.016 MB / 0.5753 GB, free: 136.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003635/0.8847, allocations: 398.1 kB / 0.5757 GB, free: 136.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0166/0.9014, allocations: 8.821 MB / 0.5843 GB, free: 132.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00431/0.9057, allocations: 2.903 MB / 0.5872 GB, free: 131.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000988/0.9067, allocations: 258.8 kB / 0.5874 GB, free: 130.9 MB / 478.1 MB Notification: Performance of SimCode: time 1.312e-06/0.9068, allocations: 0 / 0.5874 GB, free: 130.9 MB / 478.1 MB Notification: Performance of Templates: time 0.1221/1.029, allocations: 118.3 MB / 0.7029 GB, free: 13.14 MB / 478.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 -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