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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001226/0.001226, allocations: 117.9 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001258/0.001258, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.269/1.269, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 58.56 kB / 306.6 MB, free: 0.8438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08224/0.08339, allocations: 50.53 MB / 357.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.1822/0.2656, allocations: 38.18 MB / 395.3 MB, free: 14.53 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01796/0.2836, allocations: 8.345 MB / 403.6 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007389/0.291, allocations: 165.4 kB / 403.8 MB, free: 8.938 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004521/0.2956, allocations: 2.208 MB / 406 MB, free: 7.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004245/0.2998, allocations: 1.545 MB / 407.5 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001442/0.3013, allocations: 0.5748 MB / 408.1 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004299/0.3056, allocations: 3.517 MB / 411.6 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00394/0.3095, allocations: 3.199 MB / 414.8 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002311/0.3119, allocations: 1.386 MB / 416.2 MB, free: 392 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003053/0.3149, allocations: 1.998 MB / 418.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008633/0.3158, allocations: 288 kB / 418.5 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002512/0.3183, allocations: 1.139 MB / 419.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002017/0.3204, allocations: 1.683 MB / 421.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002926/0.3233, allocations: 1.973 MB / 423.3 MB, free: 9.281 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007573/0.3309, allocations: 6.024 MB / 429.3 MB, free: 3.238 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3309, allocations: 4 kB / 429.3 MB, free: 3.234 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3309, allocations: 4 kB / 429.3 MB, free: 3.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002274/0.3312, allocations: 0 / 429.3 MB, free: 3.23 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.009781/0.341, allocations: 4.209 MB / 433.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.341, allocations: 16.02 kB / 433.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008783/0.3419, allocations: 0.6408 MB / 434.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006088/0.348, allocations: 1.895 MB / 436.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003537/0.3515, allocations: 2.232 MB / 438.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.3517, allocations: 209.4 kB / 438.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006922/0.3524, allocations: 371.7 kB / 438.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01171/0.3641, allocations: 8.897 MB / 447.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-05/0.3642, allocations: 39.62 kB / 447.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003131/0.3645, allocations: 135.9 kB / 447.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002141/0.3667, allocations: 1.637 MB / 449.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01257/0.3793, allocations: 7.524 MB / 457.1 MB, free: 6.648 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04003/0.4193, allocations: 35.16 MB / 492.2 MB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008009/0.4273, allocations: 3.472 MB / 495.7 MB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001776/0.4291, allocations: 1.451 MB / 497.2 MB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009026/0.4382, allocations: 6.844 MB / 0.4922 GB, free: 6.191 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.4382, allocations: 55.08 kB / 0.4923 GB, free: 6.129 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 2.785e-06/0.4383, allocations: 0 / 0.4923 GB, free: 6.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=139): time 0.02567/0.4639, allocations: 11.17 MB / 0.5032 GB, free: 10.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001167/0.4651, allocations: 1.703 MB / 0.5048 GB, free: 8.914 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005067/0.4702, allocations: 3.531 MB / 0.5083 GB, free: 5.383 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000125/0.4704, allocations: 49.69 kB / 0.5083 GB, free: 5.328 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001819/0.4722, allocations: 2.79 MB / 0.511 GB, free: 2.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005472/0.4727, allocations: 0.5633 MB / 0.5116 GB, free: 1.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001584/0.4743, allocations: 1.103 MB / 0.5127 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.375e-05/0.4744, allocations: 305.1 kB / 0.513 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002716/0.4772, allocations: 1.92 MB / 0.5148 GB, free: 14.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004629/0.4818, allocations: 5.368 MB / 0.5201 GB, free: 7.484 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1706/0.6524, allocations: 7.839 MB / 0.5277 GB, free: 139.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.487e-05/0.6525, allocations: 35.22 kB / 0.5278 GB, free: 139.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01711/0.6696, allocations: 8.523 MB / 0.5361 GB, free: 137.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.583e-05/0.6697, allocations: 56.28 kB / 0.5361 GB, free: 137.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009083/0.6788, allocations: 3.22 MB / 0.5393 GB, free: 136.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00855/0.6874, allocations: 1.946 MB / 0.5412 GB, free: 136.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003815/0.6912, allocations: 1.249 MB / 0.5424 GB, free: 136.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006724/0.698, allocations: 6.073 MB / 0.5483 GB, free: 132.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003783/0.7018, allocations: 380.6 kB / 0.5487 GB, free: 132.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004285/0.7022, allocations: 344 kB / 0.549 GB, free: 132.5 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.001964/0.7042, allocations: 1.863 MB / 0.5508 GB, free: 131.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003447/0.7045, allocations: 307.3 kB / 0.5511 GB, free: 131.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005445/0.7051, allocations: 400.6 kB / 0.5515 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003762/0.7088, allocations: 2.378 MB / 0.5538 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.7089, allocations: 3.938 kB / 0.5539 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.7089, allocations: 7.703 kB / 0.5539 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009783/0.7187, allocations: 7.848 MB / 0.5615 GB, free: 126.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.7187, allocations: 0 / 0.5615 GB, free: 126.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009105/0.7196, allocations: 238.1 kB / 0.5617 GB, free: 126.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002554/0.7222, allocations: 1.059 MB / 0.5628 GB, free: 125.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.7223, allocations: 39.53 kB / 0.5628 GB, free: 125.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003934/0.7262, allocations: 5.279 MB / 0.568 GB, free: 120.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006233/0.7269, allocations: 1.562 MB / 0.5695 GB, free: 118.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005874/0.7328, allocations: 4.998 MB / 0.5744 GB, free: 113.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005754/0.7333, allocations: 357.1 kB / 0.5747 GB, free: 113.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002983/0.7337, allocations: 31.98 kB / 0.5748 GB, free: 113.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.7348, allocations: 131.6 kB / 0.5749 GB, free: 112.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002083/0.735, allocations: 92.41 kB / 0.575 GB, free: 112.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.313e-05/0.7351, allocations: 43.97 kB / 0.575 GB, free: 112.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002189/0.7373, allocations: 2.179 MB / 0.5771 GB, free: 110.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7373, allocations: 0 / 0.5771 GB, free: 110.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003443/0.7408, allocations: 0.9369 MB / 0.5781 GB, free: 109.7 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.005991/0.7468, allocations: 5.637 MB / 0.5836 GB, free: 104 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007534/0.7543, allocations: 5.688 MB / 0.5891 GB, free: 98.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.7544, allocations: 4.25 kB / 0.5891 GB, free: 98.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002882/0.7572, allocations: 2.031 MB / 0.5911 GB, free: 96.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001946/0.7592, allocations: 391.8 kB / 0.5915 GB, free: 95.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0527/0.8119, allocations: 48.5 MB / 0.6388 GB, free: 40.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002015/0.814, allocations: 2.901 MB / 0.6417 GB, free: 37.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00315/0.8171, allocations: 1.695 MB / 0.6433 GB, free: 35.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001396/0.8185, allocations: 1.597 MB / 0.6449 GB, free: 34.25 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.8185, allocations: 7.938 kB / 0.6449 GB, free: 34.24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4958/1.314, allocations: 66.16 MB / 0.7095 GB, free: 154.5 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001472/1.315, allocations: 239 kB / 0.7097 GB, free: 154.3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.96/5.274, allocations: 6.203 kB / 0.7097 GB, free: 154.3 MB / 462.1 MB (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 --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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches