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/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 3.2.3+maint.om/package.mo", uses=false) 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 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_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_3_2_3_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.0009622/0.0009622, allocations: 94.98 kB / 17.3 MB, free: 6.391 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.0009467/0.0009467, allocations: 174.1 kB / 18.2 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.191/1.191, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004206/0.0004207, allocations: 12 kB / 281.5 MB, free: 3.309 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08137/0.0818, allocations: 47.59 MB / 329.1 MB, free: 3.656 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.03157/0.1134, allocations: 37.34 MB / 366.4 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01716/0.1306, allocations: 8.47 MB / 374.9 MB, free: 5.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005479/0.1361, allocations: 167.6 kB / 375 MB, free: 5.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.1373, allocations: 382.1 kB / 375.4 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003618/0.1409, allocations: 1.584 MB / 377 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.1421, allocations: 0.5539 MB / 377.6 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.17/0.3121, allocations: 4.987 MB / 382.5 MB, free: 9.762 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004898/0.317, allocations: 4.086 MB / 386.6 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001488/0.3185, allocations: 1.021 MB / 387.6 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001746/0.3203, allocations: 1.674 MB / 389.3 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002713/0.3206, allocations: 121.1 kB / 389.4 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.322, allocations: 1.022 MB / 390.5 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009733/0.323, allocations: 1.506 MB / 392 MB, free: 9.055 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.3241, allocations: 1.772 MB / 393.7 MB, free: 8.324 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003972/0.3281, allocations: 5.827 MB / 399.6 MB, free: 6.648 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3281, allocations: 0 / 399.6 MB, free: 6.648 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3281, allocations: 2.531 kB / 399.6 MB, free: 6.648 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.751e-05/0.3281, allocations: 0 / 399.6 MB, free: 6.648 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.004575/0.3327, allocations: 3.488 MB / 403.1 MB, free: 4.438 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3328, allocations: 9.406 kB / 403.1 MB, free: 4.438 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005608/0.3333, allocations: 0.6394 MB / 403.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005534/0.3389, allocations: 1.89 MB / 405.6 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002911/0.3418, allocations: 2.493 MB / 408.1 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.3419, allocations: 218.4 kB / 408.3 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006584/0.3426, allocations: 370.5 kB / 408.7 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01001/0.3526, allocations: 8.875 MB / 417.5 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.929e-05/0.3527, allocations: 51.47 kB / 417.6 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003174/0.353, allocations: 131.9 kB / 417.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00218/0.3552, allocations: 1.643 MB / 419.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01174/0.3669, allocations: 7.51 MB / 426.9 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03515/0.4021, allocations: 35.14 MB / 462 MB, free: 0.793 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007797/0.4099, allocations: 3.443 MB / 465.5 MB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001688/0.4116, allocations: 1.451 MB / 466.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008381/0.42, allocations: 6.779 MB / 473.7 MB, free: 4.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.4201, allocations: 55.16 kB / 473.7 MB, free: 4.652 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 4.96e-06/0.4201, allocations: 3.984 kB / 473.7 MB, free: 4.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.02409/0.4442, allocations: 11.18 MB / 484.9 MB, free: 9.316 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001092/0.4453, allocations: 1.62 MB / 486.5 MB, free: 7.535 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004177/0.4495, allocations: 3.563 MB / 490.1 MB, free: 3.977 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001626/0.4497, allocations: 48.05 kB / 490.2 MB, free: 3.926 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001567/0.4513, allocations: 2.792 MB / 492.9 MB, free: 1.137 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004715/0.4517, allocations: 0.5754 MB / 493.5 MB, free: 0.5664 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005064/0.4523, allocations: 469.9 kB / 494 MB, free: 104 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.927e-05/0.4523, allocations: 301.1 kB / 494.3 MB, free: 15.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002384/0.4547, allocations: 1.916 MB / 496.2 MB, free: 13.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004246/0.459, allocations: 5.354 MB / 0.4898 GB, free: 6.852 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007311/0.4663, allocations: 7.837 MB / 0.4974 GB, free: 13.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.443e-05/0.4664, allocations: 32 kB / 0.4975 GB, free: 13.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01818/0.4846, allocations: 8.438 MB / 0.5057 GB, free: 6.043 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.474e-05/0.4847, allocations: 56 kB / 0.5058 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009659/0.4944, allocations: 3.123 MB / 0.5088 GB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009333/0.5037, allocations: 1.859 MB / 0.5106 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003672/0.5074, allocations: 1.246 MB / 0.5118 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00746/0.5149, allocations: 5.689 MB / 0.5174 GB, free: 9.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004069/0.519, allocations: 375.3 kB / 0.5178 GB, free: 9.473 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006569/0.5197, allocations: 340 kB / 0.5181 GB, free: 9.141 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.002937/0.5226, allocations: 1.86 MB / 0.5199 GB, free: 7.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005023/0.5231, allocations: 311.9 kB / 0.5202 GB, free: 6.961 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005227/0.5284, allocations: 2.766 MB / 0.5229 GB, free: 4.172 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004289/0.5327, allocations: 2.363 MB / 0.5252 GB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.5327, allocations: 4 kB / 0.5252 GB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/0.5327, allocations: 3.984 kB / 0.5252 GB, free: 1.777 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01298/0.5457, allocations: 7.849 MB / 0.5329 GB, free: 9.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.5457, allocations: 4 kB / 0.5329 GB, free: 9.836 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.5468, allocations: 223.6 kB / 0.5331 GB, free: 9.617 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003028/0.5498, allocations: 1.057 MB / 0.5341 GB, free: 8.547 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001353/0.5499, allocations: 34.88 kB / 0.5342 GB, free: 8.516 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00538/0.5553, allocations: 4.972 MB / 0.539 GB, free: 3.281 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009918/0.5563, allocations: 1.47 MB / 0.5405 GB, free: 1.672 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1595/0.7159, allocations: 4.961 MB / 0.5453 GB, free: 174.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008182/0.7167, allocations: 372.7 kB / 0.5457 GB, free: 174.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000324/0.7171, allocations: 31.11 kB / 0.5457 GB, free: 174.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.7183, allocations: 129.4 kB / 0.5458 GB, free: 174.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000231/0.7186, allocations: 87.11 kB / 0.5459 GB, free: 174.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.7187, allocations: 47.69 kB / 0.5459 GB, free: 174.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003199/0.7219, allocations: 2.209 MB / 0.5481 GB, free: 174.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7219, allocations: 0 / 0.5481 GB, free: 174.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004231/0.7262, allocations: 0.9513 MB / 0.549 GB, free: 174.3 MB / 462.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.007701/0.7339, allocations: 5.616 MB / 0.5545 GB, free: 171.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007945/0.7418, allocations: 5.15 MB / 0.5595 GB, free: 170.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.7419, allocations: 0 / 0.5595 GB, free: 170.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003324/0.7452, allocations: 2.009 MB / 0.5615 GB, free: 169.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003022/0.7482, allocations: 374.9 kB / 0.5619 GB, free: 169 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06221/0.8105, allocations: 48.72 MB / 0.6094 GB, free: 122.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002255/0.8128, allocations: 2.906 MB / 0.6123 GB, free: 119.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003401/0.8162, allocations: 1.707 MB / 0.6139 GB, free: 117.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001432/0.8176, allocations: 1.608 MB / 0.6155 GB, free: 115.9 MB / 462.1 MB Notification: Performance of SimCode: time 9.92e-07/0.8176, allocations: 0 / 0.6155 GB, free: 115.9 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9536/1.771, allocations: 64.47 MB / 0.6785 GB, free: 51.38 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/1.771, allocations: 242.3 kB / 0.6787 GB, free: 51.13 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.248/5.019, allocations: 0 / 0.6787 GB, free: 51.13 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/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