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.002039/0.002039, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002486/0.002486, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002517/0.002517, allocations: 63.89 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3363, allocations: 50.55 MB / 408.8 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01269/0.349, allocations: 10.42 MB / 419.3 MB, free: 7.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007949/0.357, allocations: 3.836 MB / 423.1 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002182/0.3592, allocations: 63.81 kB / 423.2 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005068/0.3643, allocations: 2.305 MB / 425.5 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00579/0.3702, allocations: 1.654 MB / 427.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.372, allocations: 0.6122 MB / 427.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00648/0.3785, allocations: 3.49 MB / 431.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004433/0.383, allocations: 3.02 MB / 434.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002705/0.3858, allocations: 1.359 MB / 435.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003275/0.3891, allocations: 1.787 MB / 437.4 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001011/0.3901, allocations: 292 kB / 437.7 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002778/0.3929, allocations: 1.12 MB / 438.8 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002271/0.3952, allocations: 1.652 MB / 440.4 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00275/0.3979, allocations: 1.95 MB / 442.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008515/0.4065, allocations: 6.221 MB / 448.6 MB, free: 9.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.515e-06/0.4065, allocations: 0 / 448.6 MB, free: 9.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4065, allocations: 0 / 448.6 MB, free: 9.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001902/0.4067, allocations: 0 / 448.6 MB, free: 9.52 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.01009/0.4168, allocations: 4.329 MB / 452.9 MB, free: 5.117 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.4169, allocations: 8.031 kB / 452.9 MB, free: 5.109 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001077/0.418, allocations: 0.633 MB / 453.6 MB, free: 4.465 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007067/0.4251, allocations: 1.925 MB / 455.5 MB, free: 2.535 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005078/0.4302, allocations: 2.279 MB / 457.8 MB, free: 200 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002318/0.4304, allocations: 209.5 kB / 458 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001213/0.4317, allocations: 375.6 kB / 458.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01772/0.4494, allocations: 8.897 MB / 467.3 MB, free: 6.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001167/0.4496, allocations: 43.62 kB / 467.3 MB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005095/0.4501, allocations: 135.9 kB / 467.4 MB, free: 5.914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002792/0.4529, allocations: 1.645 MB / 469.1 MB, free: 4.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01731/0.4702, allocations: 7.521 MB / 476.6 MB, free: 12.74 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04924/0.5195, allocations: 35.04 MB / 0.4996 GB, free: 8.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009054/0.5286, allocations: 3.483 MB / 0.503 GB, free: 5.027 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002157/0.5308, allocations: 1.448 MB / 0.5045 GB, free: 3.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01043/0.5412, allocations: 6.864 MB / 0.5112 GB, free: 12.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/0.5413, allocations: 43.22 kB / 0.5112 GB, free: 12.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 5.1e-06/0.5414, allocations: 0 / 0.5112 GB, free: 12.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.02997/0.5713, allocations: 11.36 MB / 0.5223 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001679/0.5731, allocations: 1.707 MB / 0.524 GB, free: 14.92 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005459/0.5785, allocations: 3.544 MB / 0.5274 GB, free: 11.38 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003251/0.5789, allocations: 45.7 kB / 0.5275 GB, free: 11.33 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0024/0.5813, allocations: 2.896 MB / 0.5303 GB, free: 8.406 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007881/0.5821, allocations: 0.5894 MB / 0.5309 GB, free: 7.812 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001636/0.5838, allocations: 1.111 MB / 0.532 GB, free: 6.691 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.5839, allocations: 305.4 kB / 0.5323 GB, free: 6.391 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003101/0.587, allocations: 1.924 MB / 0.5341 GB, free: 4.461 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2541/0.8412, allocations: 5.368 MB / 0.5394 GB, free: 119.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01108/0.8523, allocations: 7.85 MB / 0.547 GB, free: 113.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003169/0.8527, allocations: 31.5 kB / 0.5471 GB, free: 113.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.02145/0.8741, allocations: 8.542 MB / 0.5554 GB, free: 110.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002393/0.8744, allocations: 64.2 kB / 0.5555 GB, free: 110.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009578/0.884, allocations: 3.208 MB / 0.5586 GB, free: 109.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008949/0.893, allocations: 1.953 MB / 0.5605 GB, free: 108.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00438/0.8974, allocations: 1.244 MB / 0.5617 GB, free: 107.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007343/0.9048, allocations: 6.072 MB / 0.5677 GB, free: 101.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004776/0.9096, allocations: 388.2 kB / 0.568 GB, free: 100.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0011/0.9108, allocations: 340 kB / 0.5684 GB, free: 100.6 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.003572/0.9144, allocations: 1.853 MB / 0.5702 GB, free: 98.78 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006922/0.9151, allocations: 324.3 kB / 0.5705 GB, free: 98.64 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000964/0.916, allocations: 406.2 kB / 0.5709 GB, free: 98.24 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004081/0.9201, allocations: 2.382 MB / 0.5732 GB, free: 95.84 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/0.9202, allocations: 4 kB / 0.5732 GB, free: 95.84 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/0.9202, allocations: 7.984 kB / 0.5732 GB, free: 95.83 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01318/0.9334, allocations: 7.85 MB / 0.5809 GB, free: 87.95 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/0.9334, allocations: 0 / 0.5809 GB, free: 87.95 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.9344, allocations: 231.6 kB / 0.5811 GB, free: 87.72 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002754/0.9372, allocations: 1.057 MB / 0.5821 GB, free: 86.65 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002093/0.9374, allocations: 31.98 kB / 0.5821 GB, free: 86.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004607/0.942, allocations: 5.278 MB / 0.5873 GB, free: 81.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008993/0.943, allocations: 1.566 MB / 0.5888 GB, free: 79.39 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006948/0.9499, allocations: 5.019 MB / 0.5937 GB, free: 74.47 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008072/0.9508, allocations: 370 kB / 0.5941 GB, free: 74.09 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006038/0.9514, allocations: 32.97 kB / 0.5941 GB, free: 74.06 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001634/0.9531, allocations: 127.8 kB / 0.5942 GB, free: 73.94 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002551/0.9533, allocations: 91.66 kB / 0.5943 GB, free: 73.85 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.9534, allocations: 43.98 kB / 0.5944 GB, free: 73.81 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002601/0.956, allocations: 2.183 MB / 0.5965 GB, free: 71.64 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.9561, allocations: 0 / 0.5965 GB, free: 71.64 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003905/0.96, allocations: 0.9406 MB / 0.5974 GB, free: 70.7 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.006238/0.9662, allocations: 5.65 MB / 0.6029 GB, free: 65 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007727/0.974, allocations: 5.222 MB / 0.608 GB, free: 59.75 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.974, allocations: 4 kB / 0.608 GB, free: 59.74 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003488/0.9775, allocations: 2.031 MB / 0.61 GB, free: 57.64 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004008/0.9816, allocations: 390 kB / 0.6104 GB, free: 57.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06309/1.045, allocations: 42.7 MB / 0.6521 GB, free: 9.285 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002283/1.047, allocations: 2.901 MB / 0.6549 GB, free: 6.352 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003145/1.05, allocations: 1.691 MB / 0.6566 GB, free: 4.656 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001639/1.052, allocations: 1.608 MB / 0.6581 GB, free: 3.047 MB / 462.1 MB Notification: Performance of SimCode: time 1.113e-06/1.052, allocations: 0 / 0.6581 GB, free: 3.047 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1365/1.188, allocations: 62.78 MB / 0.7195 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.96/22.15, allocations: 10.28 kB / 0.7195 GB, free: 4.629 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.1.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