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.001575/0.001575, allocations: 114.6 kB / 17.73 MB, free: 5.203 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.001646/0.001646, allocations: 188.2 kB / 18.67 MB, free: 4.273 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.477/1.477, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001679/0.001679, allocations: 55.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.105, allocations: 46.62 MB / 374.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.2149/0.32, allocations: 10.46 MB / 385.1 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009624/0.3296, allocations: 3.82 MB / 388.9 MB, free: 5.434 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003211/0.3329, allocations: 61.53 kB / 389 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005561/0.3386, allocations: 2.312 MB / 391.3 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007075/0.3457, allocations: 1.685 MB / 393 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002447/0.3482, allocations: 0.6086 MB / 393.6 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00768/0.3559, allocations: 3.466 MB / 397.1 MB, free: 2.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005178/0.3611, allocations: 3.031 MB / 400.1 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002971/0.3641, allocations: 1.375 MB / 401.5 MB, free: 156 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003519/0.3677, allocations: 1.797 MB / 403.3 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001393/0.3691, allocations: 294.4 kB / 403.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003514/0.3726, allocations: 1.135 MB / 404.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002628/0.3753, allocations: 1.681 MB / 406.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004747/0.38, allocations: 1.967 MB / 408.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.3909, allocations: 6.273 MB / 414.6 MB, free: 7.801 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.3909, allocations: 0 / 414.6 MB, free: 7.801 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3909, allocations: 0 / 414.6 MB, free: 7.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002802/0.3912, allocations: 1.125 kB / 414.6 MB, free: 7.801 MB / 334.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.01181/0.403, allocations: 4.37 MB / 419 MB, free: 3.367 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.4031, allocations: 8.031 kB / 419 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001883/0.405, allocations: 0.6408 MB / 419.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006866/0.4119, allocations: 1.862 MB / 421.5 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005238/0.4171, allocations: 2.549 MB / 424 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001815/0.4174, allocations: 217.4 kB / 424.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001091/0.4185, allocations: 371.6 kB / 424.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01807/0.4365, allocations: 8.866 MB / 433.5 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001236/0.4367, allocations: 43.58 kB / 433.5 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004501/0.4372, allocations: 135.9 kB / 433.7 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002694/0.4399, allocations: 1.637 MB / 435.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01679/0.4567, allocations: 7.498 MB / 442.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04956/0.5063, allocations: 35.06 MB / 477.9 MB, free: 6.727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008972/0.5154, allocations: 3.452 MB / 481.3 MB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002253/0.5177, allocations: 1.444 MB / 482.8 MB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01101/0.5287, allocations: 6.793 MB / 489.5 MB, free: 10.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.598e-05/0.5288, allocations: 47.22 kB / 489.6 MB, free: 10.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 4.729e-06/0.5288, allocations: 0 / 489.6 MB, free: 10.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=139): time 0.0283/0.5571, allocations: 11.38 MB / 0.4892 GB, free: 14.97 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001573/0.5587, allocations: 1.699 MB / 0.4909 GB, free: 13.1 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005284/0.564, allocations: 3.573 MB / 0.4944 GB, free: 9.527 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003621/0.5644, allocations: 45.7 kB / 0.4944 GB, free: 9.477 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002527/0.567, allocations: 2.912 MB / 0.4973 GB, free: 6.539 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008695/0.5679, allocations: 0.5932 MB / 0.4979 GB, free: 5.941 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001654/0.5695, allocations: 1.107 MB / 0.4989 GB, free: 4.824 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.5697, allocations: 309.1 kB / 0.4992 GB, free: 4.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003136/0.5728, allocations: 1.916 MB / 0.5011 GB, free: 2.598 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006265/0.5791, allocations: 5.357 MB / 0.5063 GB, free: 11.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009982/0.5891, allocations: 7.829 MB / 0.514 GB, free: 1.961 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.781e-05/0.5892, allocations: 36 kB / 0.514 GB, free: 1.926 MB / 446.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.0207/0.6099, allocations: 8.44 MB / 0.5223 GB, free: 9.465 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.585e-05/0.6101, allocations: 60 kB / 0.5223 GB, free: 9.406 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009755/0.6198, allocations: 3.132 MB / 0.5254 GB, free: 6.262 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009537/0.6294, allocations: 1.864 MB / 0.5272 GB, free: 4.383 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004352/0.6338, allocations: 1.24 MB / 0.5284 GB, free: 3.141 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009325/0.6432, allocations: 6.044 MB / 0.5343 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004293/0.6475, allocations: 387.4 kB / 0.5347 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009591/0.6485, allocations: 340 kB / 0.535 GB, free: 12.11 MB / 478.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.00381/0.6523, allocations: 1.849 MB / 0.5368 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007699/0.6531, allocations: 325.8 kB / 0.5371 GB, free: 9.922 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005915/0.659, allocations: 2.774 MB / 0.5398 GB, free: 7.121 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004886/0.6639, allocations: 2.359 MB / 0.5421 GB, free: 4.738 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.113e-05/0.664, allocations: 4 kB / 0.5421 GB, free: 4.734 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.507e-05/0.664, allocations: 3.984 kB / 0.5421 GB, free: 4.73 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2061/0.8702, allocations: 7.848 MB / 0.5498 GB, free: 147.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/0.8702, allocations: 2.078 kB / 0.5498 GB, free: 147.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.8713, allocations: 229.1 kB / 0.55 GB, free: 147.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003075/0.8744, allocations: 1.052 MB / 0.551 GB, free: 147.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001701/0.8746, allocations: 35.83 kB / 0.5511 GB, free: 147.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005063/0.8796, allocations: 5.286 MB / 0.5562 GB, free: 144.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007545/0.8804, allocations: 1.561 MB / 0.5578 GB, free: 142.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007552/0.888, allocations: 4.972 MB / 0.5626 GB, free: 140.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009516/0.889, allocations: 379.8 kB / 0.563 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004635/0.8894, allocations: 31.47 kB / 0.563 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/0.8908, allocations: 128.3 kB / 0.5631 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000321/0.8912, allocations: 93.45 kB / 0.5632 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/0.8913, allocations: 40.52 kB / 0.5633 GB, free: 140.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003821/0.8951, allocations: 2.208 MB / 0.5654 GB, free: 139.9 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.8952, allocations: 0 / 0.5654 GB, free: 139.9 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004993/0.9002, allocations: 0.9594 MB / 0.5664 GB, free: 139.8 MB / 478.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.007773/0.9079, allocations: 5.629 MB / 0.5719 GB, free: 137.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008157/0.9161, allocations: 5.193 MB / 0.5769 GB, free: 135.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.9162, allocations: 0 / 0.5769 GB, free: 135.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003242/0.9194, allocations: 2.018 MB / 0.5789 GB, free: 134.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002625/0.9221, allocations: 393.3 kB / 0.5793 GB, free: 134.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05703/0.9791, allocations: 42.68 MB / 0.6209 GB, free: 91.35 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002639/0.9818, allocations: 2.913 MB / 0.6238 GB, free: 88.41 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003125/0.985, allocations: 1.699 MB / 0.6255 GB, free: 86.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001734/0.9867, allocations: 1.608 MB / 0.627 GB, free: 85.09 MB / 478.1 MB Notification: Performance of SimCode: time 1.002e-06/0.9867, allocations: 0 / 0.627 GB, free: 85.09 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1444/1.131, allocations: 63.12 MB / 0.6887 GB, free: 21.89 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.58/21.71, allocations: 11.64 kB / 0.6887 GB, free: 21.88 MB / 478.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches