Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 183 kB / 17.91 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.16/1.16, allocations: 205.1 MB / 223.8 MB, free: 8.496 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008831/0.000883, allocations: 96.7 kB / 271.2 MB, free: 8.469 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007959/0.000796, allocations: 43.94 kB / 327.2 MB, free: 344 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1809, allocations: 46.61 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.02296/0.2039, allocations: 38.42 MB / 412.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01368/0.2176, allocations: 8.528 MB / 420.8 MB, free: 2.422 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005041/0.2228, allocations: 163.6 kB / 420.9 MB, free: 2.262 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003061/0.2258, allocations: 2.306 MB / 423.2 MB, free: 15.95 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003169/0.229, allocations: 1.573 MB / 424.8 MB, free: 14.37 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.2302, allocations: 0.55 MB / 425.4 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005088/0.2353, allocations: 5.03 MB / 430.4 MB, free: 8.777 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003513/0.2388, allocations: 2.992 MB / 433.4 MB, free: 5.738 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00177/0.2406, allocations: 1.214 MB / 434.6 MB, free: 4.52 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002361/0.243, allocations: 1.927 MB / 436.5 MB, free: 2.586 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00065/0.2436, allocations: 200 kB / 436.7 MB, free: 2.391 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002055/0.2457, allocations: 1.096 MB / 437.8 MB, free: 1.293 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001648/0.2473, allocations: 1.621 MB / 439.4 MB, free: 15.67 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0024/0.2497, allocations: 1.887 MB / 441.3 MB, free: 13.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005438/0.2552, allocations: 5.973 MB / 447.3 MB, free: 7.773 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2552, allocations: 0 / 447.3 MB, free: 7.773 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.2552, allocations: 0 / 447.3 MB, free: 7.773 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001812/0.2554, allocations: 0 / 447.3 MB, free: 7.773 MB / 330.7 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.007236/0.2627, allocations: 4.226 MB / 451.5 MB, free: 3.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.2627, allocations: 11.97 kB / 451.5 MB, free: 3.469 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005586/0.2683, allocations: 1.832 MB / 453.4 MB, free: 1.629 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003346/0.2716, allocations: 2.072 MB / 455.4 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.2718, allocations: 217.4 kB / 455.7 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006225/0.2724, allocations: 367.7 kB / 456 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01115/0.2836, allocations: 8.87 MB / 464.9 MB, free: 5.422 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.726e-05/0.2837, allocations: 39.73 kB / 464.9 MB, free: 5.383 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003313/0.284, allocations: 139.9 kB / 465.1 MB, free: 5.246 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002169/0.2862, allocations: 1.637 MB / 466.7 MB, free: 3.609 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01151/0.2977, allocations: 7.498 MB / 474.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1787/0.4764, allocations: 35.18 MB / 0.4974 GB, free: 87.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00747/0.4839, allocations: 3.447 MB / 0.5008 GB, free: 86.85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001595/0.4855, allocations: 1.44 MB / 0.5022 GB, free: 86.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008412/0.494, allocations: 6.807 MB / 0.5089 GB, free: 82.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.494, allocations: 52.16 kB / 0.5089 GB, free: 82.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=132): time 3.026e-06/0.494, allocations: 3.375 kB / 0.5089 GB, free: 82.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=139): time 0.02161/0.5156, allocations: 11.12 MB / 0.5198 GB, free: 76.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008516/0.5165, allocations: 1.618 MB / 0.5213 GB, free: 75.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003706/0.5202, allocations: 3.552 MB / 0.5248 GB, free: 72.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.137e-05/0.5203, allocations: 48.83 kB / 0.5249 GB, free: 72.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001016/0.5214, allocations: 2.786 MB / 0.5276 GB, free: 69.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003553/0.5217, allocations: 0.5664 MB / 0.5281 GB, free: 68.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001089/0.5228, allocations: 1.107 MB / 0.5292 GB, free: 67.63 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.047e-05/0.5229, allocations: 307.5 kB / 0.5295 GB, free: 67.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001992/0.5249, allocations: 1.916 MB / 0.5314 GB, free: 65.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003502/0.5284, allocations: 5.367 MB / 0.5366 GB, free: 58.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005516/0.5339, allocations: 7.831 MB / 0.5443 GB, free: 49.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.598e-05/0.534, allocations: 35.69 kB / 0.5443 GB, free: 49 MB / 378.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01548/0.5495, allocations: 8.764 MB / 0.5529 GB, free: 40.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.375e-05/0.5496, allocations: 56 kB / 0.5529 GB, free: 40.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009107/0.5587, allocations: 3.441 MB / 0.5563 GB, free: 36.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009553/0.5683, allocations: 2.235 MB / 0.5585 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002974/0.5712, allocations: 1.255 MB / 0.5597 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007102/0.5784, allocations: 6.807 MB / 0.5663 GB, free: 26.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003396/0.5818, allocations: 391.3 kB / 0.5667 GB, free: 25.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004704/0.5823, allocations: 340.7 kB / 0.567 GB, free: 25.41 MB / 378.7 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.002087/0.5844, allocations: 1.853 MB / 0.5688 GB, free: 23.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004522/0.5848, allocations: 300.1 kB / 0.5691 GB, free: 23.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00452/0.5893, allocations: 2.771 MB / 0.5718 GB, free: 20.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003636/0.593, allocations: 2.355 MB / 0.5741 GB, free: 18.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.593, allocations: 4 kB / 0.5741 GB, free: 18.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.593, allocations: 7.969 kB / 0.5741 GB, free: 18.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/0.6045, allocations: 7.852 MB / 0.5818 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.6046, allocations: 8.406 kB / 0.5818 GB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009015/0.6055, allocations: 219.7 kB / 0.582 GB, free: 9.918 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00267/0.6081, allocations: 1.057 MB / 0.5831 GB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001156/0.6083, allocations: 35.97 kB / 0.5831 GB, free: 8.812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003918/0.6122, allocations: 4.941 MB / 0.5879 GB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006401/0.6129, allocations: 1.49 MB / 0.5894 GB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0537/0.6666, allocations: 31.72 MB / 0.6203 GB, free: 1.895 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006492/0.6673, allocations: 365.1 kB / 0.6207 GB, free: 1.516 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003946/0.6677, allocations: 31.5 kB / 0.6207 GB, free: 1.488 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/0.669, allocations: 127.8 kB / 0.6208 GB, free: 1.363 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000253/0.6693, allocations: 84.41 kB / 0.6209 GB, free: 1.281 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/0.6694, allocations: 52.03 kB / 0.621 GB, free: 1.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003229/0.6726, allocations: 2.199 MB / 0.6231 GB, free: 15.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.6727, allocations: 0 / 0.6231 GB, free: 15.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005/0.6777, allocations: 1.319 MB / 0.6244 GB, free: 13.73 MB / 426.7 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.0003861/0.6781, allocations: 179.7 kB / 0.6246 GB, free: 13.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009288/0.6874, allocations: 5.206 MB / 0.6297 GB, free: 8.305 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.6874, allocations: 4 kB / 0.6297 GB, free: 8.301 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003597/0.691, allocations: 2.008 MB / 0.6316 GB, free: 6.219 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/0.6929, allocations: 374.8 kB / 0.632 GB, free: 5.855 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01711/0.71, allocations: 12.39 MB / 0.6441 GB, free: 9.336 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003173/0.7132, allocations: 2.953 MB / 0.647 GB, free: 6.355 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003947/0.7171, allocations: 1.73 MB / 0.6487 GB, free: 4.621 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008938/0.718, allocations: 219.4 kB / 0.6489 GB, free: 4.406 MB / 442.7 MB Notification: Performance of SimCode: time 1.082e-06/0.718, allocations: 3.938 kB / 0.6489 GB, free: 4.402 MB / 442.7 MB Notification: Performance of Templates: time 0.1854/0.9034, allocations: 44.45 MB / 0.6923 GB, free: 132.5 MB / 442.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches