Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001578/0.001578, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001683/0.001683, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.451/1.451, allocations: 227.7 MB / 247.7 MB, free: 10.31 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 68.39 kB / 307.9 MB, free: 0.5078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09881/0.1008, allocations: 50.53 MB / 358.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01288/0.1137, allocations: 10.43 MB / 368.9 MB, free: 3.473 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1597/0.2734, allocations: 3.84 MB / 372.7 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001568/0.275, allocations: 63.47 kB / 372.8 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004592/0.2797, allocations: 2.3 MB / 375.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004273/0.284, allocations: 1.651 MB / 376.7 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.2855, allocations: 0.6094 MB / 377.3 MB, free: 9.008 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004809/0.2903, allocations: 3.489 MB / 380.8 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004203/0.2945, allocations: 3.024 MB / 383.8 MB, free: 7.641 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002883/0.2975, allocations: 1.361 MB / 385.2 MB, free: 7.137 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002829/0.3003, allocations: 1.784 MB / 387 MB, free: 6.523 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001168/0.3015, allocations: 290.8 kB / 387.3 MB, free: 6.523 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002964/0.3045, allocations: 1.123 MB / 388.4 MB, free: 6.305 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002298/0.3068, allocations: 1.661 MB / 390.1 MB, free: 5.352 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003478/0.3103, allocations: 1.948 MB / 392 MB, free: 3.879 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007271/0.3176, allocations: 5.972 MB / 398 MB, free: 15.92 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.3176, allocations: 2.938 kB / 398 MB, free: 15.92 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3176, allocations: 0 / 398 MB, free: 15.92 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002497/0.3179, allocations: 2.719 kB / 398 MB, free: 15.92 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.01082/0.3287, allocations: 4.207 MB / 402.2 MB, free: 12.81 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.3288, allocations: 8.031 kB / 402.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007849/0.3367, allocations: 1.886 MB / 404.1 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005182/0.3419, allocations: 1.987 MB / 406.1 MB, free: 8.883 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002403/0.3421, allocations: 215.5 kB / 406.3 MB, free: 8.703 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001538/0.3437, allocations: 366.1 kB / 406.6 MB, free: 8.379 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01808/0.3618, allocations: 8.894 MB / 415.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001114/0.362, allocations: 39.66 kB / 415.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004426/0.3624, allocations: 143.2 kB / 415.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002743/0.3652, allocations: 1.639 MB / 417.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0162/0.3814, allocations: 7.529 MB / 424.9 MB, free: 5.633 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04748/0.4289, allocations: 35.17 MB / 460 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00946/0.4384, allocations: 3.477 MB / 463.5 MB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002265/0.4407, allocations: 1.453 MB / 465 MB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01107/0.4518, allocations: 6.875 MB / 471.8 MB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.356e-05/0.4519, allocations: 55.14 kB / 471.9 MB, free: 5.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 4.799e-06/0.4519, allocations: 0 / 471.9 MB, free: 5.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.0301/0.482, allocations: 11.16 MB / 483.1 MB, free: 9.973 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00161/0.4837, allocations: 1.714 MB / 484.8 MB, free: 8.082 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005462/0.4892, allocations: 3.519 MB / 488.3 MB, free: 4.562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003562/0.4895, allocations: 48.98 kB / 488.3 MB, free: 4.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002428/0.492, allocations: 2.789 MB / 491.1 MB, free: 1.727 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008678/0.4929, allocations: 0.5704 MB / 491.7 MB, free: 1.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001786/0.4947, allocations: 1.101 MB / 492.8 MB, free: 52 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4948, allocations: 305.1 kB / 493.1 MB, free: 15.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003351/0.4982, allocations: 1.935 MB / 495 MB, free: 13.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006561/0.5048, allocations: 5.373 MB / 0.4887 GB, free: 6.699 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01057/0.5154, allocations: 7.851 MB / 0.4963 GB, free: 13.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.27e-05/0.5155, allocations: 40 kB / 0.4964 GB, free: 13.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02258/0.5381, allocations: 8.837 MB / 0.505 GB, free: 4.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.5382, allocations: 60.25 kB / 0.5051 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01157/0.5498, allocations: 3.53 MB / 0.5085 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01107/0.5609, allocations: 2.328 MB / 0.5108 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004114/0.5651, allocations: 1.255 MB / 0.512 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/0.5762, allocations: 7.456 MB / 0.5193 GB, free: 5.301 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004493/0.5807, allocations: 379.3 kB / 0.5197 GB, free: 4.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/0.5818, allocations: 346.4 kB / 0.52 GB, free: 4.594 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.00351/0.5854, allocations: 1.838 MB / 0.5218 GB, free: 2.742 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006226/0.586, allocations: 300.2 kB / 0.5221 GB, free: 2.445 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000847/0.5868, allocations: 406.1 kB / 0.5225 GB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1637/0.7506, allocations: 2.375 MB / 0.5248 GB, free: 140.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-05/0.7506, allocations: 2.906 kB / 0.5248 GB, free: 140.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.326e-05/0.7507, allocations: 8.438 kB / 0.5248 GB, free: 140.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/0.7665, allocations: 7.855 MB / 0.5325 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/0.7666, allocations: 2.297 kB / 0.5325 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/0.7677, allocations: 233.1 kB / 0.5327 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003101/0.7709, allocations: 1.057 MB / 0.5337 GB, free: 138.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001817/0.771, allocations: 35.55 kB / 0.5338 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004853/0.7759, allocations: 5.276 MB / 0.5389 GB, free: 134.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007616/0.7767, allocations: 1.574 MB / 0.5404 GB, free: 133.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007443/0.7842, allocations: 4.994 MB / 0.5453 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000913/0.7851, allocations: 358.1 kB / 0.5457 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004096/0.7855, allocations: 33.02 kB / 0.5457 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001351/0.7869, allocations: 132.7 kB / 0.5458 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002537/0.7872, allocations: 81.44 kB / 0.5459 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.7873, allocations: 40.09 kB / 0.5459 GB, free: 131.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002922/0.7902, allocations: 2.18 MB / 0.5481 GB, free: 130.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.7902, allocations: 0 / 0.5481 GB, free: 130.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004274/0.7945, allocations: 0.9563 MB / 0.549 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.0004166/0.7949, allocations: 163.5 kB / 0.5492 GB, free: 130.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008212/0.8032, allocations: 5.742 MB / 0.5548 GB, free: 128.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.8032, allocations: 0 / 0.5548 GB, free: 128.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003312/0.8065, allocations: 2.04 MB / 0.5568 GB, free: 127.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/0.8088, allocations: 387.5 kB / 0.5571 GB, free: 127.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/0.8205, allocations: 8.915 MB / 0.5658 GB, free: 121.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002341/0.8229, allocations: 2.897 MB / 0.5687 GB, free: 118.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008178/0.8238, allocations: 251.4 kB / 0.5689 GB, free: 118.1 MB / 446.1 MB Notification: Performance of SimCode: time 9.51e-07/0.8238, allocations: 4 kB / 0.5689 GB, free: 118.1 MB / 446.1 MB Notification: Performance of Templates: time 0.09884/0.9226, allocations: 117.3 MB / 0.6834 GB, free: 0.8594 MB / 446.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches