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.001059/0.001059, allocations: 89.64 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001103/0.001102, allocations: 204.7 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002191/0.0002191, allocations: 8 kB / 306.6 MB, free: 1.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09563/0.09586, allocations: 51.48 MB / 358.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.2063/0.3022, allocations: 32.86 MB / 390.9 MB, free: 2.922 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01751/0.3197, allocations: 8.402 MB / 399.3 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006911/0.3267, allocations: 163.2 kB / 399.5 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005972/0.3327, allocations: 1.602 MB / 401.1 MB, free: 12.67 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0169/0.3496, allocations: 4.796 MB / 405.9 MB, free: 9.469 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003649/0.3533, allocations: 0.5013 MB / 406.4 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00406/0.3574, allocations: 1.995 MB / 408.4 MB, free: 7.957 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00511/0.3625, allocations: 3.695 MB / 412.1 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00173/0.3642, allocations: 0.9148 MB / 413 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001852/0.3661, allocations: 1.156 MB / 414.1 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005512/0.3667, allocations: 123.9 kB / 414.3 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.3686, allocations: 0.8465 MB / 415.1 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001533/0.3701, allocations: 1.364 MB / 416.5 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009536/0.3711, allocations: 0.7337 MB / 417.2 MB, free: 460 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004597/0.3757, allocations: 4.771 MB / 422 MB, free: 11.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.3757, allocations: 0 / 422 MB, free: 11.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3757, allocations: 0 / 422 MB, free: 11.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.48e-05/0.3758, allocations: 0 / 422 MB, free: 11.66 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.006248/0.3821, allocations: 3.538 MB / 425.5 MB, free: 8.062 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.3821, allocations: 8.031 kB / 425.5 MB, free: 8.055 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007674/0.3898, allocations: 2.237 MB / 427.8 MB, free: 5.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004398/0.3942, allocations: 2.092 MB / 429.9 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001681/0.3944, allocations: 217.4 kB / 430.1 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008816/0.3953, allocations: 363.7 kB / 430.4 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01461/0.4099, allocations: 8.979 MB / 439.4 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.72e-05/0.41, allocations: 35.67 kB / 439.4 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003689/0.4104, allocations: 139.9 kB / 439.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00241/0.4128, allocations: 1.638 MB / 441.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01416/0.427, allocations: 7.612 MB / 448.8 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0439/0.4709, allocations: 35.25 MB / 484.1 MB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008739/0.4797, allocations: 3.495 MB / 487.6 MB, free: 8.105 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01019/0.4899, allocations: 6.926 MB / 494.5 MB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.49, allocations: 55.14 kB / 494.5 MB, free: 0.7852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=132): time 3.947e-06/0.49, allocations: 0 / 494.5 MB, free: 0.7852 MB / 398.1 MB Notification: Performance of matching and sorting (n=139): time 0.02691/0.5169, allocations: 11.49 MB / 0.4942 GB, free: 5.066 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001374/0.5183, allocations: 1.639 MB / 0.4958 GB, free: 3.254 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004753/0.5231, allocations: 3.645 MB / 0.4993 GB, free: 15.61 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003024/0.5234, allocations: 45.7 kB / 0.4994 GB, free: 15.56 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00195/0.5254, allocations: 2.794 MB / 0.5021 GB, free: 12.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006941/0.5261, allocations: 0.5633 MB / 0.5027 GB, free: 12.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.5263, allocations: 108 kB / 0.5028 GB, free: 12.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003166/0.5267, allocations: 0.5375 MB / 0.5033 GB, free: 11.51 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002821/0.5295, allocations: 1.935 MB / 0.5052 GB, free: 9.566 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004912/0.5344, allocations: 5.357 MB / 0.5104 GB, free: 2.477 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004218/0.5386, allocations: 3.158 MB / 0.5135 GB, free: 15.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.174e-05/0.5387, allocations: 36 kB / 0.5135 GB, free: 15.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01989/0.5586, allocations: 8.857 MB / 0.5222 GB, free: 6.406 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.109e-05/0.5587, allocations: 56 kB / 0.5222 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01057/0.5693, allocations: 3.57 MB / 0.5257 GB, free: 2.762 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01067/0.58, allocations: 2.351 MB / 0.528 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.203/0.7831, allocations: 1.244 MB / 0.5292 GB, free: 138.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01073/0.7938, allocations: 7.26 MB / 0.5363 GB, free: 136.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005155/0.799, allocations: 392.3 kB / 0.5367 GB, free: 136.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007291/0.7998, allocations: 344 kB / 0.537 GB, free: 136.1 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 (672): * Single equations (assignments): 663 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003299/0.8031, allocations: 1.847 MB / 0.5388 GB, free: 135.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005592/0.8036, allocations: 305.2 kB / 0.5391 GB, free: 135.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007603/0.8044, allocations: 404 kB / 0.5395 GB, free: 135.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005012/0.8094, allocations: 2.382 MB / 0.5418 GB, free: 134.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.516e-05/0.8094, allocations: 2.875 kB / 0.5418 GB, free: 134.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.251e-05/0.8095, allocations: 7.438 kB / 0.5418 GB, free: 134.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01392/0.8234, allocations: 7.867 MB / 0.5495 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/0.8235, allocations: 3.875 kB / 0.5495 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.8245, allocations: 234.2 kB / 0.5497 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0028/0.8273, allocations: 1.055 MB / 0.5508 GB, free: 131.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/0.8275, allocations: 33.23 kB / 0.5508 GB, free: 131.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00451/0.832, allocations: 5.058 MB / 0.5557 GB, free: 127.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007236/0.8328, allocations: 1.49 MB / 0.5572 GB, free: 126.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006808/0.8396, allocations: 5.131 MB / 0.5622 GB, free: 124.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/0.8408, allocations: 373.8 kB / 0.5626 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003823/0.8412, allocations: 31.22 kB / 0.5626 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/0.8426, allocations: 142.2 kB / 0.5627 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002461/0.8428, allocations: 83.91 kB / 0.5628 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.8429, allocations: 43.8 kB / 0.5628 GB, free: 124.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003125/0.8461, allocations: 2.263 MB / 0.5651 GB, free: 123.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.8461, allocations: 0 / 0.5651 GB, free: 123.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004795/0.8509, allocations: 0.9911 MB / 0.566 GB, free: 123.2 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 (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004729/0.8514, allocations: 169.2 kB / 0.5662 GB, free: 123.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008256/0.8596, allocations: 5.252 MB / 0.5713 GB, free: 118.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.8597, allocations: 3.938 kB / 0.5713 GB, free: 118.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003172/0.8628, allocations: 2.02 MB / 0.5733 GB, free: 116.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/0.8648, allocations: 371.2 kB / 0.5736 GB, free: 116.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/0.8768, allocations: 9.949 MB / 0.5834 GB, free: 106.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002287/0.8792, allocations: 2.983 MB / 0.5863 GB, free: 103.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003533/0.8827, allocations: 1.693 MB / 0.5879 GB, free: 101.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004966/0.8832, allocations: 215.4 kB / 0.5881 GB, free: 101.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.884e-06/0.8832, allocations: 0 / 0.5881 GB, free: 101.4 MB / 446.1 MB Notification: Performance of Templates: time 0.04981/0.9331, allocations: 34.28 MB / 0.6216 GB, free: 67.32 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","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches