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.001068/0.001068, allocations: 114.8 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001073/0.001073, allocations: 208.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 59.69 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08889/0.09003, allocations: 50.54 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01156/0.1016, allocations: 10.42 MB / 369.3 MB, free: 2.848 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.16/0.2616, allocations: 3.837 MB / 373.2 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002409/0.2641, allocations: 60.69 kB / 373.2 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00466/0.2688, allocations: 2.3 MB / 375.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00389/0.2727, allocations: 1.661 MB / 377.2 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.274, allocations: 0.6091 MB / 377.8 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004193/0.2782, allocations: 3.488 MB / 381.3 MB, free: 9.141 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003053/0.2813, allocations: 3.029 MB / 384.3 MB, free: 7.969 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001678/0.283, allocations: 1.359 MB / 385.7 MB, free: 7.469 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001833/0.2848, allocations: 1.784 MB / 387.5 MB, free: 6.855 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005331/0.2854, allocations: 290.5 kB / 387.7 MB, free: 6.855 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001867/0.2873, allocations: 1.125 MB / 388.9 MB, free: 6.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00116/0.2884, allocations: 1.654 MB / 390.5 MB, free: 5.527 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001417/0.2899, allocations: 1.946 MB / 392.5 MB, free: 4.059 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005048/0.2949, allocations: 6.182 MB / 398.7 MB, free: 15.94 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.295, allocations: 0 / 398.7 MB, free: 15.94 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.295, allocations: 0 / 398.7 MB, free: 15.94 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.926e-05/0.2951, allocations: 0 / 398.7 MB, free: 15.94 MB / 318.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.007321/0.3024, allocations: 4.206 MB / 402.9 MB, free: 12.58 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.3025, allocations: 12.03 kB / 402.9 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006297/0.3088, allocations: 1.889 MB / 404.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004386/0.3132, allocations: 2.021 MB / 406.8 MB, free: 8.617 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001483/0.3133, allocations: 213 kB / 407 MB, free: 8.438 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008126/0.3141, allocations: 372.2 kB / 407.4 MB, free: 8.109 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01395/0.3281, allocations: 8.89 MB / 416.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.409e-05/0.3282, allocations: 35.66 kB / 416.3 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003401/0.3286, allocations: 139.9 kB / 416.4 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002234/0.3308, allocations: 1.645 MB / 418.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01482/0.3457, allocations: 7.525 MB / 425.6 MB, free: 5.367 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03866/0.3844, allocations: 35.02 MB / 460.6 MB, free: 1.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008212/0.3926, allocations: 3.474 MB / 464.1 MB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002203/0.3949, allocations: 1.445 MB / 465.5 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01054/0.4054, allocations: 6.881 MB / 472.4 MB, free: 5.238 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.502e-05/0.4055, allocations: 51.16 kB / 472.5 MB, free: 5.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 5.039e-06/0.4055, allocations: 0 / 472.5 MB, free: 5.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.02593/0.4315, allocations: 11.17 MB / 483.6 MB, free: 9.848 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001319/0.4328, allocations: 1.714 MB / 485.3 MB, free: 7.957 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004742/0.4376, allocations: 3.519 MB / 488.9 MB, free: 4.438 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003102/0.4379, allocations: 45.73 kB / 488.9 MB, free: 4.387 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001927/0.4398, allocations: 2.795 MB / 491.7 MB, free: 1.598 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007001/0.4406, allocations: 0.5663 MB / 492.3 MB, free: 1.035 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001481/0.442, allocations: 1.106 MB / 493.4 MB, free: 15.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.998e-05/0.4421, allocations: 305.1 kB / 493.7 MB, free: 15.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002815/0.445, allocations: 1.927 MB / 495.6 MB, free: 13.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005061/0.45, allocations: 5.369 MB / 0.4892 GB, free: 6.582 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008663/0.4587, allocations: 7.853 MB / 0.4969 GB, free: 13.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.475e-05/0.4588, allocations: 36 kB / 0.4969 GB, free: 12.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02033/0.4792, allocations: 8.845 MB / 0.5056 GB, free: 4.121 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.126e-05/0.4793, allocations: 56.19 kB / 0.5056 GB, free: 4.066 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01032/0.4896, allocations: 3.519 MB / 0.509 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01017/0.4998, allocations: 2.328 MB / 0.5113 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003733/0.5036, allocations: 1.259 MB / 0.5126 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009427/0.513, allocations: 7.443 MB / 0.5198 GB, free: 5.199 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003809/0.5168, allocations: 391.3 kB / 0.5202 GB, free: 4.816 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005107/0.5174, allocations: 338.4 kB / 0.5205 GB, free: 4.488 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.002583/0.52, allocations: 1.86 MB / 0.5223 GB, free: 2.617 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004372/0.5204, allocations: 296.2 kB / 0.5226 GB, free: 2.324 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000703/0.5211, allocations: 406.1 kB / 0.523 GB, free: 1.922 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1658/0.6869, allocations: 2.37 MB / 0.5253 GB, free: 140.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2e-05/0.687, allocations: 2.906 kB / 0.5253 GB, free: 140.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.273e-05/0.687, allocations: 8.953 kB / 0.5253 GB, free: 140.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01533/0.7024, allocations: 7.856 MB / 0.533 GB, free: 138.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.7024, allocations: 1.375 kB / 0.533 GB, free: 138.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.7035, allocations: 231.2 kB / 0.5332 GB, free: 138.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002935/0.7064, allocations: 1.052 MB / 0.5343 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001661/0.7066, allocations: 34.33 kB / 0.5343 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004721/0.7113, allocations: 5.283 MB / 0.5394 GB, free: 134.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007627/0.7121, allocations: 1.57 MB / 0.541 GB, free: 133.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007107/0.7193, allocations: 4.996 MB / 0.5459 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/0.7204, allocations: 353.7 kB / 0.5462 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003465/0.7207, allocations: 38.64 kB / 0.5462 GB, free: 131.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/0.722, allocations: 127.1 kB / 0.5463 GB, free: 131.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003436/0.7224, allocations: 88.98 kB / 0.5464 GB, free: 131.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001424/0.7225, allocations: 40.08 kB / 0.5465 GB, free: 131.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004363/0.7269, allocations: 2.184 MB / 0.5486 GB, free: 130.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.7269, allocations: 0 / 0.5486 GB, free: 130.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005349/0.7323, allocations: 0.9527 MB / 0.5495 GB, free: 130.5 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.000424/0.7327, allocations: 162 kB / 0.5497 GB, free: 130.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0072/0.7399, allocations: 5.257 MB / 0.5548 GB, free: 128.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.7399, allocations: 0 / 0.5548 GB, free: 128.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00311/0.7431, allocations: 2.027 MB / 0.5568 GB, free: 127.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/0.7453, allocations: 405.5 kB / 0.5572 GB, free: 127.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/0.756, allocations: 8.418 MB / 0.5654 GB, free: 122.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002266/0.7583, allocations: 2.894 MB / 0.5682 GB, free: 119.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003059/0.7614, allocations: 1.702 MB / 0.5699 GB, free: 117.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004694/0.7619, allocations: 211.4 kB / 0.5701 GB, free: 117.4 MB / 446.1 MB Notification: Performance of SimCode: time 9.11e-07/0.7619, allocations: 0 / 0.5701 GB, free: 117.4 MB / 446.1 MB Notification: Performance of Templates: time 0.0483/0.8102, allocations: 31.14 MB / 0.6005 GB, free: 86.57 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 -s cvode -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