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.001537/0.001538, allocations: 109.4 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.001264/0.001264, allocations: 185.2 kB / 19.33 MB, free: 3.758 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.319/1.319, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.0013/0.001301, allocations: 55.92 kB / 329.2 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08669/0.088, allocations: 46.61 MB / 375.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.2048/0.2929, allocations: 10.47 MB / 386.3 MB, free: 7.445 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008404/0.3013, allocations: 3.813 MB / 390.1 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002663/0.304, allocations: 65.56 kB / 390.2 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004821/0.3089, allocations: 2.311 MB / 392.5 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005282/0.3142, allocations: 1.692 MB / 394.2 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.3161, allocations: 0.6071 MB / 394.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006209/0.3223, allocations: 3.46 MB / 398.2 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003955/0.3263, allocations: 3.03 MB / 401.3 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002628/0.3289, allocations: 1.364 MB / 402.6 MB, free: 44 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003111/0.3321, allocations: 1.804 MB / 404.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007588/0.3329, allocations: 290.3 kB / 404.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002415/0.3353, allocations: 1.149 MB / 405.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001836/0.3371, allocations: 1.71 MB / 407.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002393/0.3395, allocations: 1.959 MB / 409.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007087/0.3466, allocations: 6.244 MB / 415.8 MB, free: 7.492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.3467, allocations: 0 / 415.8 MB, free: 7.492 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.3467, allocations: 0 / 415.8 MB, free: 7.492 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002035/0.3469, allocations: 0 / 415.8 MB, free: 7.492 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.009184/0.3561, allocations: 4.227 MB / 420 MB, free: 3.199 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.3562, allocations: 12.03 kB / 420 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005954/0.3621, allocations: 1.828 MB / 421.8 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004016/0.3662, allocations: 2.104 MB / 423.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.3663, allocations: 217.4 kB / 424.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008808/0.3672, allocations: 371.5 kB / 424.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01474/0.382, allocations: 8.866 MB / 433.4 MB, free: 5.113 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/0.3821, allocations: 47.58 kB / 433.4 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003736/0.3825, allocations: 135.9 kB / 433.6 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002232/0.3847, allocations: 1.641 MB / 435.2 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0131/0.3979, allocations: 7.498 MB / 442.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04349/0.4414, allocations: 35.02 MB / 477.7 MB, free: 7.719 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008268/0.4497, allocations: 3.448 MB / 481.2 MB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001957/0.4517, allocations: 1.452 MB / 482.6 MB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01006/0.4618, allocations: 6.796 MB / 489.4 MB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/0.4619, allocations: 51.09 kB / 489.5 MB, free: 11.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 6.412e-06/0.4619, allocations: 4 kB / 489.5 MB, free: 11.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=139): time 0.02689/0.4888, allocations: 11.12 MB / 0.4889 GB, free: 192 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001474/0.4903, allocations: 1.71 MB / 0.4905 GB, free: 14.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006448/0.4968, allocations: 3.547 MB / 0.494 GB, free: 10.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002585/0.4971, allocations: 41.7 kB / 0.494 GB, free: 10.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002153/0.4992, allocations: 2.79 MB / 0.4968 GB, free: 7.879 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007536/0.5, allocations: 0.5711 MB / 0.4973 GB, free: 7.301 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002098/0.5021, allocations: 1.107 MB / 0.4984 GB, free: 6.184 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.887e-05/0.5022, allocations: 305.1 kB / 0.4987 GB, free: 5.883 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002893/0.5051, allocations: 1.927 MB / 0.5006 GB, free: 3.949 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005167/0.5103, allocations: 5.357 MB / 0.5058 GB, free: 12.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008752/0.5191, allocations: 7.841 MB / 0.5135 GB, free: 3.297 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001357/0.5192, allocations: 36 kB / 0.5135 GB, free: 3.262 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02039/0.5396, allocations: 8.746 MB / 0.522 GB, free: 10.49 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001688/0.5398, allocations: 60 kB / 0.5221 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01034/0.5502, allocations: 3.436 MB / 0.5254 GB, free: 6.984 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009932/0.5602, allocations: 2.234 MB / 0.5276 GB, free: 4.734 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004266/0.5645, allocations: 1.252 MB / 0.5289 GB, free: 3.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009846/0.5744, allocations: 7.42 MB / 0.5361 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004737/0.5791, allocations: 379.3 kB / 0.5365 GB, free: 11.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00114/0.5803, allocations: 347.9 kB / 0.5368 GB, free: 11.07 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.004289/0.5846, allocations: 1.85 MB / 0.5386 GB, free: 9.203 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008084/0.5854, allocations: 308 kB / 0.5389 GB, free: 8.898 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005929/0.5914, allocations: 2.765 MB / 0.5416 GB, free: 6.105 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004397/0.5958, allocations: 2.359 MB / 0.5439 GB, free: 3.723 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/0.5958, allocations: 0 / 0.5439 GB, free: 3.723 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.055e-05/0.5959, allocations: 7.984 kB / 0.5439 GB, free: 3.715 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2206/0.8165, allocations: 7.833 MB / 0.5516 GB, free: 147.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-05/0.8165, allocations: 3.188 kB / 0.5516 GB, free: 147.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.8177, allocations: 226.2 kB / 0.5518 GB, free: 147.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003142/0.8208, allocations: 1.055 MB / 0.5528 GB, free: 147.2 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000202/0.821, allocations: 33.11 kB / 0.5528 GB, free: 147.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005276/0.8263, allocations: 5.28 MB / 0.558 GB, free: 143.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000833/0.8272, allocations: 1.568 MB / 0.5595 GB, free: 142.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008455/0.8357, allocations: 4.957 MB / 0.5644 GB, free: 140.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/0.8368, allocations: 363.6 kB / 0.5647 GB, free: 140.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003379/0.8371, allocations: 31.44 kB / 0.5647 GB, free: 140.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/0.8385, allocations: 131.6 kB / 0.5649 GB, free: 140.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002698/0.8387, allocations: 86.91 kB / 0.5649 GB, free: 140.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/0.8389, allocations: 49 kB / 0.565 GB, free: 140.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003788/0.8427, allocations: 2.196 MB / 0.5671 GB, free: 139.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8427, allocations: 3.688 kB / 0.5671 GB, free: 139.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005413/0.8481, allocations: 0.9729 MB / 0.5681 GB, free: 139.3 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.0004899/0.8486, allocations: 166 kB / 0.5683 GB, free: 139.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008429/0.857, allocations: 5.236 MB / 0.5734 GB, free: 137.3 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.8571, allocations: 0 / 0.5734 GB, free: 137.3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00309/0.8602, allocations: 2.019 MB / 0.5753 GB, free: 136.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00286/0.8631, allocations: 399 kB / 0.5757 GB, free: 136.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/0.8756, allocations: 8.83 MB / 0.5843 GB, free: 132.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002317/0.8779, allocations: 2.9 MB / 0.5872 GB, free: 131 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007935/0.8788, allocations: 256.3 kB / 0.5874 GB, free: 130.8 MB / 478.1 MB Notification: Performance of SimCode: time 8.51e-07/0.8788, allocations: 0 / 0.5874 GB, free: 130.8 MB / 478.1 MB Notification: Performance of Templates: time 0.09855/0.9773, allocations: 118.8 MB / 0.7034 GB, free: 12.56 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