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.002168/0.002169, allocations: 117.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002142/0.002142, allocations: 208.6 kB / 18.74 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 59.91 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3672, allocations: 50.53 MB / 408.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01296/0.3802, allocations: 10.44 MB / 419.2 MB, free: 7.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01069/0.3909, allocations: 3.832 MB / 423 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003007/0.394, allocations: 59.81 kB / 423.1 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004725/0.3988, allocations: 2.305 MB / 425.4 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005303/0.4041, allocations: 1.661 MB / 427 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001889/0.4061, allocations: 0.6083 MB / 427.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006086/0.4122, allocations: 3.483 MB / 431.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004626/0.4169, allocations: 3.03 MB / 434.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002618/0.4195, allocations: 1.347 MB / 435.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003636/0.4232, allocations: 1.795 MB / 437.3 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001087/0.4243, allocations: 292 kB / 437.6 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003052/0.4273, allocations: 1.123 MB / 438.7 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002573/0.4299, allocations: 1.679 MB / 440.4 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003197/0.4331, allocations: 1.953 MB / 442.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00816/0.4414, allocations: 6.19 MB / 448.5 MB, free: 9.559 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.4414, allocations: 4 kB / 448.5 MB, free: 9.555 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.4414, allocations: 4 kB / 448.5 MB, free: 9.551 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002381/0.4417, allocations: 0 / 448.5 MB, free: 9.551 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.01146/0.4531, allocations: 4.215 MB / 452.8 MB, free: 5.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.4532, allocations: 11.97 kB / 452.8 MB, free: 5.258 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002031/0.4552, allocations: 0.633 MB / 453.4 MB, free: 4.613 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007603/0.4629, allocations: 1.903 MB / 455.3 MB, free: 2.703 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005194/0.4681, allocations: 2.271 MB / 457.6 MB, free: 380 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001967/0.4683, allocations: 213.4 kB / 457.8 MB, free: 164 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002019/0.4703, allocations: 367.7 kB / 458.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01773/0.4881, allocations: 8.901 MB / 467.1 MB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004249/0.4886, allocations: 35.69 kB / 467.1 MB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008741/0.4895, allocations: 135.9 kB / 467.2 MB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002831/0.4924, allocations: 1.641 MB / 468.9 MB, free: 4.453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01669/0.5091, allocations: 7.529 MB / 476.4 MB, free: 12.92 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04681/0.5559, allocations: 34.98 MB / 0.4994 GB, free: 8.891 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009158/0.5652, allocations: 3.478 MB / 0.5028 GB, free: 5.266 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001875/0.5671, allocations: 1.447 MB / 0.5042 GB, free: 3.809 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01093/0.578, allocations: 6.855 MB / 0.5109 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.5781, allocations: 51.2 kB / 0.5109 GB, free: 12.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 4.599e-06/0.5781, allocations: 0 / 0.5109 GB, free: 12.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.03075/0.6088, allocations: 11.16 MB / 0.5218 GB, free: 1.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00128/0.6102, allocations: 1.703 MB / 0.5235 GB, free: 15.34 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006252/0.6164, allocations: 3.531 MB / 0.5269 GB, free: 11.81 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000625/0.6172, allocations: 53.73 kB / 0.527 GB, free: 11.75 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002007/0.6192, allocations: 2.782 MB / 0.5297 GB, free: 8.934 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001057/0.6203, allocations: 0.5672 MB / 0.5303 GB, free: 8.359 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001796/0.6221, allocations: 1.099 MB / 0.5313 GB, free: 7.25 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.735e-05/0.6222, allocations: 309.1 kB / 0.5316 GB, free: 6.945 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003192/0.6254, allocations: 1.924 MB / 0.5335 GB, free: 5.016 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2453/0.8707, allocations: 5.366 MB / 0.5388 GB, free: 119.6 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00922/0.88, allocations: 7.852 MB / 0.5464 GB, free: 113.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001218/0.8801, allocations: 39.47 kB / 0.5465 GB, free: 113.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01866/0.8988, allocations: 8.515 MB / 0.5548 GB, free: 110.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.283e-05/0.8989, allocations: 60.97 kB / 0.5548 GB, free: 110.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008851/0.9078, allocations: 3.205 MB / 0.558 GB, free: 110 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008831/0.9167, allocations: 1.945 MB / 0.5599 GB, free: 109 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003689/0.9204, allocations: 1.252 MB / 0.5611 GB, free: 107.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006322/0.9267, allocations: 6.07 MB / 0.567 GB, free: 101.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004384/0.9312, allocations: 383.2 kB / 0.5674 GB, free: 101.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001135/0.9323, allocations: 340 kB / 0.5677 GB, free: 100.8 MB / 462.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.002039/0.9344, allocations: 1.867 MB / 0.5695 GB, free: 98.95 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005139/0.9349, allocations: 297.6 kB / 0.5698 GB, free: 98.81 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.936, allocations: 406.2 kB / 0.5702 GB, free: 98.41 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003697/0.9397, allocations: 2.386 MB / 0.5725 GB, free: 96.01 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-05/0.9398, allocations: 4 kB / 0.5725 GB, free: 96 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.066e-05/0.9399, allocations: 5.734 kB / 0.5725 GB, free: 96 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/0.9508, allocations: 7.84 MB / 0.5802 GB, free: 88.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-05/0.9509, allocations: 8.094 kB / 0.5802 GB, free: 88.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/0.9521, allocations: 227.6 kB / 0.5804 GB, free: 87.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002585/0.9547, allocations: 1.058 MB / 0.5815 GB, free: 86.81 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001359/0.9548, allocations: 39.8 kB / 0.5815 GB, free: 86.78 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004437/0.9593, allocations: 5.273 MB / 0.5866 GB, free: 81.26 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000663/0.96, allocations: 1.567 MB / 0.5882 GB, free: 79.55 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006625/0.9666, allocations: 5.007 MB / 0.5931 GB, free: 74.65 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007563/0.9674, allocations: 357.1 kB / 0.5934 GB, free: 74.28 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00038/0.9678, allocations: 24 kB / 0.5934 GB, free: 74.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.9691, allocations: 139.3 kB / 0.5936 GB, free: 74.12 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002137/0.9693, allocations: 80.47 kB / 0.5936 GB, free: 74.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.284e-05/0.9694, allocations: 39.98 kB / 0.5937 GB, free: 74 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002879/0.9723, allocations: 2.187 MB / 0.5958 GB, free: 71.83 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9723, allocations: 4 kB / 0.5958 GB, free: 71.82 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004583/0.9769, allocations: 0.9363 MB / 0.5967 GB, free: 70.89 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.00705/0.9839, allocations: 5.636 MB / 0.6022 GB, free: 65.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007955/0.9919, allocations: 5.209 MB / 0.6073 GB, free: 59.96 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.992, allocations: 0 / 0.6073 GB, free: 59.96 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003398/0.9954, allocations: 2.03 MB / 0.6093 GB, free: 57.86 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002785/0.9982, allocations: 407.1 kB / 0.6097 GB, free: 57.47 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06191/1.06, allocations: 42.54 MB / 0.6512 GB, free: 9.641 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00245/1.063, allocations: 2.897 MB / 0.6541 GB, free: 6.711 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003637/1.066, allocations: 1.695 MB / 0.6557 GB, free: 5.012 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002009/1.068, allocations: 1.601 MB / 0.6573 GB, free: 3.41 MB / 462.1 MB Notification: Performance of SimCode: time 9.42e-07/1.068, allocations: 4 kB / 0.6573 GB, free: 3.406 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2459/1.314, allocations: 63.74 MB / 0.7195 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.6/22.92, allocations: 3.938 kB / 0.7195 GB, free: 4.031 MB / 0.5137 GB (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