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.001612/0.001612, allocations: 101 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001818/0.001818, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 246.3 MB, free: 10.87 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 63.67 kB / 306.3 MB, free: 1.066 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08984/0.09097, allocations: 50.54 MB / 356.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.2233/0.3143, allocations: 38.15 MB / 395 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01954/0.3339, allocations: 8.454 MB / 403.4 MB, free: 9.059 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009726/0.3436, allocations: 165.3 kB / 403.6 MB, free: 9.031 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005059/0.3488, allocations: 2.284 MB / 405.9 MB, free: 7.867 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005021/0.3539, allocations: 1.557 MB / 407.4 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.356, allocations: 0.5575 MB / 408 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007079/0.3631, allocations: 5.008 MB / 413 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005153/0.3683, allocations: 2.994 MB / 416 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00292/0.3712, allocations: 1.207 MB / 417.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003469/0.3747, allocations: 1.916 MB / 419.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001107/0.3759, allocations: 204 kB / 419.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003262/0.3791, allocations: 1.084 MB / 420.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002394/0.3816, allocations: 1.601 MB / 422 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003637/0.3852, allocations: 1.867 MB / 423.8 MB, free: 8.629 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007187/0.3924, allocations: 5.911 MB / 429.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3925, allocations: 0 / 429.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.566e-06/0.3925, allocations: 8 kB / 429.8 MB, free: 2.691 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002138/0.3927, allocations: 0 / 429.8 MB, free: 2.691 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.00907/0.4018, allocations: 4.207 MB / 434 MB, free: 14.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.4019, allocations: 12.03 kB / 434 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006525/0.4084, allocations: 1.879 MB / 435.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003963/0.4124, allocations: 1.99 MB / 437.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000178/0.4126, allocations: 213.4 kB / 438.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000847/0.4134, allocations: 367.7 kB / 438.4 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01453/0.428, allocations: 8.893 MB / 447.3 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.443e-05/0.4281, allocations: 35.66 kB / 447.3 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003934/0.4285, allocations: 139.8 kB / 447.5 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002358/0.4309, allocations: 1.649 MB / 449.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01433/0.4452, allocations: 7.525 MB / 456.7 MB, free: 7.012 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04505/0.4903, allocations: 35.17 MB / 491.8 MB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008967/0.4993, allocations: 3.472 MB / 495.3 MB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002093/0.5015, allocations: 1.441 MB / 496.7 MB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009412/0.5109, allocations: 6.883 MB / 0.4918 GB, free: 6.508 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.511, allocations: 51.16 kB / 0.4919 GB, free: 6.449 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 3.767e-06/0.511, allocations: 0 / 0.4919 GB, free: 6.449 MB / 414.1 MB Notification: Performance of matching and sorting (n=139): time 0.02721/0.5382, allocations: 11.16 MB / 0.5028 GB, free: 11.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001266/0.5395, allocations: 1.62 MB / 0.5044 GB, free: 9.328 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00513/0.5446, allocations: 3.527 MB / 0.5078 GB, free: 5.801 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002709/0.5449, allocations: 49.69 kB / 0.5078 GB, free: 5.746 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002094/0.547, allocations: 2.786 MB / 0.5106 GB, free: 2.922 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008187/0.5479, allocations: 0.5749 MB / 0.5111 GB, free: 2.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001835/0.5497, allocations: 1.107 MB / 0.5122 GB, free: 1.223 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.449e-05/0.5498, allocations: 301.1 kB / 0.5125 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003237/0.5531, allocations: 1.928 MB / 0.5144 GB, free: 14.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005374/0.5584, allocations: 5.369 MB / 0.5196 GB, free: 7.887 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1854/0.7439, allocations: 7.845 MB / 0.5273 GB, free: 139.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001278/0.7441, allocations: 37.5 kB / 0.5273 GB, free: 139.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02173/0.7658, allocations: 8.845 MB / 0.536 GB, free: 138 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.308e-05/0.7659, allocations: 63.91 kB / 0.536 GB, free: 138 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01063/0.7766, allocations: 3.527 MB / 0.5395 GB, free: 137.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0102/0.7868, allocations: 2.321 MB / 0.5417 GB, free: 136.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003714/0.7906, allocations: 1.259 MB / 0.543 GB, free: 136.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007882/0.7985, allocations: 6.832 MB / 0.5496 GB, free: 132.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003815/0.8023, allocations: 380.8 kB / 0.55 GB, free: 132.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005119/0.8028, allocations: 346.4 kB / 0.5503 GB, free: 132.7 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.002247/0.8051, allocations: 1.856 MB / 0.5521 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004252/0.8055, allocations: 299.8 kB / 0.5524 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005674/0.8061, allocations: 410.1 kB / 0.5528 GB, free: 131.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004062/0.8102, allocations: 2.377 MB / 0.5551 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.8102, allocations: 3.969 kB / 0.5551 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.8102, allocations: 7.969 kB / 0.5551 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/0.8208, allocations: 7.853 MB / 0.5628 GB, free: 125.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.8209, allocations: 3.984 kB / 0.5628 GB, free: 125.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009802/0.8218, allocations: 223.6 kB / 0.563 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002756/0.8246, allocations: 1.057 MB / 0.5641 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.8247, allocations: 35.97 kB / 0.5641 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004103/0.8288, allocations: 4.959 MB / 0.5689 GB, free: 119 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006695/0.8295, allocations: 1.48 MB / 0.5704 GB, free: 117.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006312/0.8359, allocations: 4.995 MB / 0.5753 GB, free: 112.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006203/0.8365, allocations: 361 kB / 0.5756 GB, free: 112.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003201/0.8368, allocations: 32 kB / 0.5756 GB, free: 112.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.8381, allocations: 127.8 kB / 0.5758 GB, free: 112 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000283/0.8384, allocations: 91.73 kB / 0.5759 GB, free: 111.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/0.8385, allocations: 40.17 kB / 0.5759 GB, free: 111.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002994/0.8415, allocations: 2.183 MB / 0.578 GB, free: 109.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.8415, allocations: 3.938 kB / 0.578 GB, free: 109.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004042/0.8455, allocations: 0.9495 MB / 0.579 GB, free: 108.8 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.0003396/0.8459, allocations: 172.6 kB / 0.5791 GB, free: 108.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006892/0.8528, allocations: 5.231 MB / 0.5842 GB, free: 103.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.8528, allocations: 4 kB / 0.5842 GB, free: 103.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003086/0.8559, allocations: 2.012 MB / 0.5862 GB, free: 101.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/0.8581, allocations: 377.8 kB / 0.5866 GB, free: 100.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/0.8695, allocations: 10.19 MB / 0.5965 GB, free: 90.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002176/0.8717, allocations: 2.901 MB / 0.5993 GB, free: 87.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003493/0.8752, allocations: 1.699 MB / 0.601 GB, free: 86.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005118/0.8757, allocations: 211.3 kB / 0.6012 GB, free: 85.8 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.8757, allocations: 4 kB / 0.6012 GB, free: 85.8 MB / 446.1 MB Notification: Performance of Templates: time 0.04744/0.9232, allocations: 34.66 MB / 0.6351 GB, free: 51.3 MB / 446.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins/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