Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001721/0.001721, allocations: 122.7 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002172/0.002172, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 67.89 kB / 373.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1157, allocations: 53.32 MB / 426.7 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.1929/0.3086, allocations: 10.47 MB / 437.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007021/0.3156, allocations: 3.859 MB / 441 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001693/0.3173, allocations: 62.09 kB / 441.1 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004333/0.3217, allocations: 2.33 MB / 443.4 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00506/0.3267, allocations: 1.692 MB / 445.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002043/0.3288, allocations: 0.612 MB / 445.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006172/0.3349, allocations: 3.493 MB / 449.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00392/0.3389, allocations: 2.556 MB / 451.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002958/0.3418, allocations: 1.364 MB / 453.1 MB, free: 15 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003441/0.3453, allocations: 1.944 MB / 455 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008401/0.3461, allocations: 295.5 kB / 455.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002672/0.3488, allocations: 1.163 MB / 456.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002173/0.3509, allocations: 1.721 MB / 458.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002963/0.3539, allocations: 1.947 MB / 460.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009367/0.3633, allocations: 6.224 MB / 466.4 MB, free: 6.863 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3633, allocations: 4 kB / 466.4 MB, free: 6.859 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3633, allocations: 0 / 466.4 MB, free: 6.859 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002441/0.3635, allocations: 0 / 466.4 MB, free: 6.859 MB / 366.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.01155/0.3751, allocations: 4.325 MB / 470.7 MB, free: 3.781 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.3751, allocations: 9.688 kB / 470.7 MB, free: 3.781 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001335/0.3765, allocations: 0.6415 MB / 471.4 MB, free: 3.328 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007023/0.3835, allocations: 1.923 MB / 473.3 MB, free: 2.301 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006621/0.3901, allocations: 2.276 MB / 475.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002267/0.3903, allocations: 213.4 kB / 475.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001528/0.3919, allocations: 367 kB / 476.1 MB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01822/0.4101, allocations: 8.901 MB / 485 MB, free: 5.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001124/0.4102, allocations: 39.64 kB / 485.1 MB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004639/0.4107, allocations: 135.9 kB / 485.2 MB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002607/0.4133, allocations: 1.645 MB / 486.9 MB, free: 4.039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01627/0.4295, allocations: 7.53 MB / 494.4 MB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05277/0.4823, allocations: 35.04 MB / 0.517 GB, free: 8.461 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009123/0.4914, allocations: 3.378 MB / 0.5203 GB, free: 4.941 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002263/0.4937, allocations: 1.381 MB / 0.5217 GB, free: 3.551 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01287/0.5066, allocations: 6.88 MB / 0.5284 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.193e-05/0.5066, allocations: 51.22 kB / 0.5284 GB, free: 12.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 6.362e-06/0.5066, allocations: 1.828 kB / 0.5284 GB, free: 12.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.02997/0.5366, allocations: 11.35 MB / 0.5395 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001629/0.5382, allocations: 1.709 MB / 0.5412 GB, free: 14.89 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006555/0.5448, allocations: 3.54 MB / 0.5446 GB, free: 11.35 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003269/0.5451, allocations: 45.73 kB / 0.5447 GB, free: 11.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002608/0.5477, allocations: 2.896 MB / 0.5475 GB, free: 8.379 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009574/0.5487, allocations: 0.5932 MB / 0.5481 GB, free: 7.781 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002403/0.5511, allocations: 1.115 MB / 0.5492 GB, free: 6.656 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.5512, allocations: 301.1 kB / 0.5495 GB, free: 6.359 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00338/0.5546, allocations: 1.924 MB / 0.5513 GB, free: 4.43 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006392/0.561, allocations: 5.369 MB / 0.5566 GB, free: 13.33 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/0.5715, allocations: 7.838 MB / 0.5642 GB, free: 3.773 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001167/0.5716, allocations: 39.94 kB / 0.5643 GB, free: 3.734 MB / 478.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.02172/0.5933, allocations: 8.535 MB / 0.5726 GB, free: 11.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001501/0.5934, allocations: 56.19 kB / 0.5727 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01041/0.6039, allocations: 3.203 MB / 0.5758 GB, free: 7.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009515/0.6134, allocations: 1.953 MB / 0.5777 GB, free: 5.941 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004363/0.6177, allocations: 1.248 MB / 0.5789 GB, free: 4.691 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009292/0.627, allocations: 6.084 MB / 0.5849 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004213/0.6312, allocations: 379.5 kB / 0.5852 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008441/0.6321, allocations: 344 kB / 0.5856 GB, free: 13.62 MB / 0.4981 GB 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.003565/0.6356, allocations: 1.842 MB / 0.5874 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006423/0.6363, allocations: 321.8 kB / 0.5877 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009198/0.6372, allocations: 410.1 kB / 0.5881 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005109/0.6423, allocations: 2.367 MB / 0.5904 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.6423, allocations: 4 kB / 0.5904 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.6423, allocations: 3.984 kB / 0.5904 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01644/0.6588, allocations: 7.86 MB / 0.598 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.6588, allocations: 0 / 0.598 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/0.6599, allocations: 227.7 kB / 0.5983 GB, free: 460 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003219/0.6631, allocations: 1.061 MB / 0.5993 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000163/0.6633, allocations: 33.11 kB / 0.5993 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006452/0.6698, allocations: 5.287 MB / 0.6045 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001264/0.671, allocations: 1.565 MB / 0.606 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008745/0.6798, allocations: 4.991 MB / 0.6109 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009908/0.6808, allocations: 374.8 kB / 0.6113 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005675/0.6813, allocations: 31.98 kB / 0.6113 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001544/0.6829, allocations: 131.8 kB / 0.6114 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002562/0.6831, allocations: 80.47 kB / 0.6115 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/0.6833, allocations: 47.97 kB / 0.6115 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004081/0.6873, allocations: 2.183 MB / 0.6137 GB, free: 192 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.6873, allocations: 0 / 0.6137 GB, free: 192 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.2219/0.9092, allocations: 0.9353 MB / 0.6146 GB, free: 163.2 MB / 0.5137 GB 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.008143/0.9174, allocations: 5.647 MB / 0.6201 GB, free: 162.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01053/0.9279, allocations: 5.031 MB / 0.625 GB, free: 160.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.9279, allocations: 0 / 0.625 GB, free: 160.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00374/0.9316, allocations: 1.95 MB / 0.6269 GB, free: 159.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/0.9342, allocations: 390.5 kB / 0.6273 GB, free: 159.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06331/0.9975, allocations: 42.7 MB / 0.669 GB, free: 128.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002825/1, allocations: 2.898 MB / 0.6718 GB, free: 126 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003395/1.004, allocations: 1.698 MB / 0.6735 GB, free: 124.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001798/1.006, allocations: 1.601 MB / 0.675 GB, free: 122.7 MB / 0.5137 GB Notification: Performance of SimCode: time 1.644e-06/1.006, allocations: 0 / 0.675 GB, free: 122.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.107/1.112, allocations: 63.24 MB / 0.7368 GB, free: 59.81 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.98/28.09, allocations: 8.062 kB / 0.7368 GB, free: 59.8 MB / 0.5137 GB " [Timeout remaining time 631] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 32.814683315809816]