Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001303/0.001303, allocations: 112.5 kB / 17.86 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001384/0.001384, allocations: 209.7 kB / 18.79 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 246.9 MB, free: 9.016 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 60.53 kB / 306.9 MB, free: 0.7969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1085, allocations: 50.53 MB / 357.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.2091/0.3176, allocations: 38.17 MB / 395.6 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01917/0.3369, allocations: 8.451 MB / 404.1 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007901/0.3448, allocations: 169.9 kB / 404.2 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004837/0.3498, allocations: 2.282 MB / 406.5 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004656/0.3545, allocations: 1.561 MB / 408.1 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.3562, allocations: 0.5539 MB / 408.6 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00583/0.3621, allocations: 5.011 MB / 413.6 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004199/0.3663, allocations: 2.986 MB / 416.6 MB, free: 332 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002437/0.3688, allocations: 1.211 MB / 417.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002864/0.3717, allocations: 1.908 MB / 419.7 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008168/0.3725, allocations: 204 kB / 419.9 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002454/0.375, allocations: 1.084 MB / 421 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001836/0.3768, allocations: 1.605 MB / 422.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002565/0.3794, allocations: 1.875 MB / 424.5 MB, free: 8.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005227/0.3846, allocations: 4.834 MB / 429.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.926e-06/0.3847, allocations: 3.938 kB / 429.3 MB, free: 3.562 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.3847, allocations: 0 / 429.3 MB, free: 3.562 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000274/0.385, allocations: 4 kB / 429.3 MB, free: 3.559 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.009007/0.394, allocations: 4.195 MB / 433.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3941, allocations: 8.031 kB / 433.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006551/0.4006, allocations: 1.891 MB / 435.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00423/0.4049, allocations: 1.986 MB / 437.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001984/0.4051, allocations: 217.4 kB / 437.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001225/0.4064, allocations: 363.7 kB / 438 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01709/0.4235, allocations: 8.889 MB / 446.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001041/0.4236, allocations: 43.59 kB / 446.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004704/0.4241, allocations: 135.8 kB / 447.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002327/0.4264, allocations: 1.645 MB / 448.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01497/0.4414, allocations: 7.53 MB / 456.2 MB, free: 7.887 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04256/0.484, allocations: 35.16 MB / 491.4 MB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008344/0.4924, allocations: 3.483 MB / 494.9 MB, free: 64 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001894/0.4943, allocations: 1.447 MB / 496.3 MB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009502/0.5039, allocations: 6.887 MB / 0.4914 GB, free: 7.379 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.5039, allocations: 47.2 kB / 0.4915 GB, free: 7.324 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 3.787e-06/0.5039, allocations: 4 kB / 0.4915 GB, free: 7.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=139): time 0.02558/0.5295, allocations: 11.16 MB / 0.5024 GB, free: 11.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001264/0.5308, allocations: 1.624 MB / 0.5039 GB, free: 10.19 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005173/0.536, allocations: 3.523 MB / 0.5074 GB, free: 6.668 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002282/0.5363, allocations: 49.69 kB / 0.5074 GB, free: 6.613 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001856/0.5381, allocations: 2.786 MB / 0.5102 GB, free: 3.789 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006896/0.5388, allocations: 0.571 MB / 0.5107 GB, free: 3.211 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001577/0.5404, allocations: 1.107 MB / 0.5118 GB, free: 2.094 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.65e-05/0.5405, allocations: 305.1 kB / 0.5121 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002771/0.5433, allocations: 1.928 MB / 0.514 GB, free: 15.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004761/0.5481, allocations: 5.373 MB / 0.5192 GB, free: 8.746 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1749/0.7229, allocations: 7.837 MB / 0.5269 GB, free: 139.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000111/0.7231, allocations: 36.59 kB / 0.5269 GB, free: 139.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.0212/0.7443, allocations: 8.848 MB / 0.5355 GB, free: 138.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.335e-05/0.7444, allocations: 57.92 kB / 0.5356 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01074/0.7552, allocations: 3.527 MB / 0.539 GB, free: 137.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009885/0.7651, allocations: 2.321 MB / 0.5413 GB, free: 137.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003878/0.769, allocations: 1.257 MB / 0.5425 GB, free: 137 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008235/0.7773, allocations: 6.833 MB / 0.5492 GB, free: 133 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003967/0.7813, allocations: 388.6 kB / 0.5496 GB, free: 132.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007763/0.7821, allocations: 345.6 kB / 0.5499 GB, free: 132.9 MB / 446.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.002743/0.7848, allocations: 1.854 MB / 0.5517 GB, free: 132 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005142/0.7853, allocations: 299 kB / 0.552 GB, free: 132 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007234/0.7861, allocations: 414 kB / 0.5524 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004/0.7901, allocations: 2.374 MB / 0.5547 GB, free: 130.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.7901, allocations: 3.906 kB / 0.5547 GB, free: 130.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.7901, allocations: 11.91 kB / 0.5547 GB, free: 130.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01098/0.8011, allocations: 7.846 MB / 0.5624 GB, free: 126.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.8011, allocations: 7.781 kB / 0.5624 GB, free: 126.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009688/0.8021, allocations: 227.9 kB / 0.5626 GB, free: 126 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002668/0.8048, allocations: 1.053 MB / 0.5636 GB, free: 125.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/0.8049, allocations: 35.97 kB / 0.5637 GB, free: 125 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004145/0.8091, allocations: 4.955 MB / 0.5685 GB, free: 119.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006836/0.8098, allocations: 1.476 MB / 0.57 GB, free: 118.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006499/0.8163, allocations: 4.998 MB / 0.5748 GB, free: 113.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/0.8174, allocations: 365 kB / 0.5752 GB, free: 113 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006871/0.8181, allocations: 24 kB / 0.5752 GB, free: 113 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/0.8196, allocations: 131 kB / 0.5753 GB, free: 112.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002618/0.8198, allocations: 96.39 kB / 0.5754 GB, free: 112.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/0.8199, allocations: 39.98 kB / 0.5755 GB, free: 112.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003051/0.823, allocations: 2.183 MB / 0.5776 GB, free: 110.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.823, allocations: 0 / 0.5776 GB, free: 110.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004354/0.8274, allocations: 0.9497 MB / 0.5785 GB, free: 109.6 MB / 446.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.000503/0.8279, allocations: 169.8 kB / 0.5787 GB, free: 109.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007448/0.8354, allocations: 5.235 MB / 0.5838 GB, free: 104.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.8354, allocations: 0 / 0.5838 GB, free: 104.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00316/0.8386, allocations: 2.026 MB / 0.5858 GB, free: 102.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002813/0.8414, allocations: 374.3 kB / 0.5861 GB, free: 101.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/0.8547, allocations: 10.6 MB / 0.5965 GB, free: 91.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002113/0.8568, allocations: 2.908 MB / 0.5993 GB, free: 88.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008059/0.8576, allocations: 251.4 kB / 0.5996 GB, free: 87.87 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.8577, allocations: 8 kB / 0.5996 GB, free: 87.86 MB / 446.1 MB Notification: Performance of Templates: time 0.2844/1.142, allocations: 117.3 MB / 0.7141 GB, free: 142.8 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches