Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 107.5 kB / 16.92 MB, free: 6.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 191.4 kB / 17.85 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009675/0.0009676, allocations: 46.48 kB / 300.7 MB, free: 5.785 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07994/0.08092, allocations: 49.44 MB / 350.2 MB, free: 4.336 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01036/0.09132, allocations: 10.46 MB / 360.6 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007213/0.09856, allocations: 3.824 MB / 364.4 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/0.09971, allocations: 59.81 kB / 364.5 MB, free: 5.922 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003871/0.1036, allocations: 2.32 MB / 366.8 MB, free: 3.594 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00354/0.1072, allocations: 1.683 MB / 368.5 MB, free: 1.906 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.1084, allocations: 0.6161 MB / 369.1 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1635/0.2718, allocations: 3.445 MB / 372.6 MB, free: 9.773 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003639/0.2755, allocations: 3.034 MB / 375.6 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002275/0.2778, allocations: 1.37 MB / 377 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002659/0.2805, allocations: 1.793 MB / 378.8 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000725/0.2812, allocations: 290.7 kB / 379 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002236/0.2835, allocations: 1.145 MB / 380.2 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001713/0.2852, allocations: 1.676 MB / 381.9 MB, free: 8.914 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00184/0.287, allocations: 1.958 MB / 383.8 MB, free: 7.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005674/0.2927, allocations: 6.038 MB / 389.9 MB, free: 5.355 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2928, allocations: 0 / 389.9 MB, free: 5.355 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.2928, allocations: 1.312 kB / 389.9 MB, free: 5.355 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001138/0.2929, allocations: 4 kB / 389.9 MB, free: 5.352 MB / 302.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.007232/0.3001, allocations: 4.241 MB / 394.1 MB, free: 2.461 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.3002, allocations: 9.938 kB / 394.1 MB, free: 2.461 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008033/0.301, allocations: 0.6343 MB / 394.8 MB, free: 2.047 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006181/0.3072, allocations: 1.838 MB / 396.6 MB, free: 1.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003997/0.3112, allocations: 2.339 MB / 398.9 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.3114, allocations: 216.2 kB / 399.1 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000788/0.3121, allocations: 372 kB / 399.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01382/0.326, allocations: 8.862 MB / 408.4 MB, free: 6.691 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.354e-05/0.3261, allocations: 47.7 kB / 408.4 MB, free: 6.664 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003553/0.3265, allocations: 136.9 kB / 408.5 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00226/0.3287, allocations: 1.633 MB / 410.2 MB, free: 4.949 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01262/0.3414, allocations: 7.508 MB / 417.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03678/0.3782, allocations: 35.13 MB / 452.8 MB, free: 9.879 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008607/0.3868, allocations: 3.445 MB / 456.3 MB, free: 6.305 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002125/0.389, allocations: 1.444 MB / 457.7 MB, free: 4.852 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009455/0.3984, allocations: 6.784 MB / 464.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.3985, allocations: 50.62 kB / 464.5 MB, free: 13.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 3.707e-06/0.3985, allocations: 0 / 464.5 MB, free: 13.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.0254/0.4239, allocations: 11.11 MB / 475.6 MB, free: 2.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001214/0.4252, allocations: 1.701 MB / 477.4 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004232/0.4294, allocations: 3.547 MB / 480.9 MB, free: 13.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001894/0.4296, allocations: 45.73 kB / 480.9 MB, free: 13.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001584/0.4312, allocations: 2.788 MB / 483.7 MB, free: 10.24 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005422/0.4318, allocations: 0.5658 MB / 484.3 MB, free: 9.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00131/0.4331, allocations: 1.104 MB / 485.4 MB, free: 8.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.869e-05/0.4332, allocations: 305.1 kB / 485.7 MB, free: 8.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00289/0.4361, allocations: 1.916 MB / 487.6 MB, free: 6.348 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004541/0.4406, allocations: 5.35 MB / 493 MB, free: 15.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00801/0.4487, allocations: 7.83 MB / 0.4891 GB, free: 5.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.617e-05/0.4488, allocations: 36 kB / 0.4891 GB, free: 5.734 MB / 414.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.0176/0.4664, allocations: 8.441 MB / 0.4973 GB, free: 13.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.696e-05/0.4664, allocations: 56 kB / 0.4974 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009293/0.4757, allocations: 3.121 MB / 0.5004 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009365/0.4851, allocations: 1.868 MB / 0.5023 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003777/0.4889, allocations: 1.251 MB / 0.5035 GB, free: 6.953 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007972/0.4969, allocations: 6.039 MB / 0.5094 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004802/0.5018, allocations: 385.5 kB / 0.5097 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008632/0.5026, allocations: 336 kB / 0.5101 GB, free: 15.92 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 (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.002991/0.5056, allocations: 1.851 MB / 0.5119 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006989/0.5063, allocations: 300.1 kB / 0.5122 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005216/0.5116, allocations: 2.768 MB / 0.5149 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004412/0.516, allocations: 2.359 MB / 0.5172 GB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/0.516, allocations: 8 kB / 0.5172 GB, free: 8.586 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.998e-05/0.5161, allocations: 3.984 kB / 0.5172 GB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01308/0.5291, allocations: 7.841 MB / 0.5248 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.5292, allocations: 0 / 0.5248 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.5302, allocations: 231.7 kB / 0.5251 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1546/0.6849, allocations: 1.05 MB / 0.5261 GB, free: 147 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002548/0.6852, allocations: 36.17 kB / 0.5261 GB, free: 147 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005032/0.6902, allocations: 5.279 MB / 0.5313 GB, free: 144.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007078/0.6909, allocations: 1.575 MB / 0.5328 GB, free: 142.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00685/0.6978, allocations: 4.958 MB / 0.5377 GB, free: 141 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007209/0.6985, allocations: 363.2 kB / 0.538 GB, free: 140.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003445/0.6989, allocations: 28.09 kB / 0.538 GB, free: 140.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/0.7002, allocations: 126.6 kB / 0.5381 GB, free: 140.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002559/0.7005, allocations: 95.83 kB / 0.5382 GB, free: 140.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.7006, allocations: 37.44 kB / 0.5383 GB, free: 140.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003011/0.7036, allocations: 2.189 MB / 0.5404 GB, free: 140.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.7036, allocations: 1.406 kB / 0.5404 GB, free: 140.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003926/0.7076, allocations: 0.9535 MB / 0.5413 GB, free: 140 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.006838/0.7144, allocations: 5.609 MB / 0.5468 GB, free: 137.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007423/0.7218, allocations: 5.668 MB / 0.5524 GB, free: 135.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.7219, allocations: 3.469 kB / 0.5524 GB, free: 135.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003048/0.7249, allocations: 2.009 MB / 0.5543 GB, free: 134.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.7269, allocations: 399.1 kB / 0.5547 GB, free: 134.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05173/0.7787, allocations: 46.78 MB / 0.6004 GB, free: 85.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002159/0.7809, allocations: 2.911 MB / 0.6032 GB, free: 82.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003392/0.7843, allocations: 1.691 MB / 0.6049 GB, free: 80.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001484/0.7858, allocations: 1.608 MB / 0.6065 GB, free: 79.35 MB / 446.1 MB Notification: Performance of SimCode: time 6.71e-07/0.7858, allocations: 0 / 0.6065 GB, free: 79.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6712/1.457, allocations: 66.2 MB / 0.6711 GB, free: 13.51 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.84/16.3, allocations: 0.625 kB / 0.6711 GB, free: 13.51 MB / 446.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches