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.0009915/0.0009917, allocations: 99.69 kB / 16.95 MB, free: 6.453 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.001268/0.001268, allocations: 185.7 kB / 17.84 MB, free: 6.004 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.583/1.583, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004605/0.0004607, allocations: 16 kB / 280.9 MB, free: 3.633 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09642/0.09689, allocations: 47.57 MB / 328.5 MB, free: 3.988 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.03183/0.1288, allocations: 34.76 MB / 363.2 MB, free: 1.121 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01863/0.1474, allocations: 8.054 MB / 371.3 MB, free: 9.043 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006025/0.1535, allocations: 163.6 kB / 371.4 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00476/0.1583, allocations: 1.769 MB / 373.2 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01497/0.1733, allocations: 5.354 MB / 378.6 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002749/0.176, allocations: 0.5071 MB / 379.1 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2124/0.3884, allocations: 3.96 MB / 383 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006283/0.3948, allocations: 3.723 MB / 386.7 MB, free: 10.37 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002792/0.3976, allocations: 1.116 MB / 387.9 MB, free: 10.37 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003366/0.401, allocations: 1.656 MB / 389.5 MB, free: 10.37 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006165/0.4016, allocations: 121.9 kB / 389.6 MB, free: 10.37 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002258/0.4039, allocations: 0.8825 MB / 390.5 MB, free: 10.37 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001749/0.4057, allocations: 1.475 MB / 392 MB, free: 10.37 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001175/0.4069, allocations: 0.7396 MB / 392.7 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006276/0.4131, allocations: 4.788 MB / 397.5 MB, free: 9.996 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4132, allocations: 2.938 kB / 397.5 MB, free: 9.996 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4132, allocations: 0 / 397.5 MB, free: 9.996 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002254/0.4134, allocations: 0 / 397.5 MB, free: 9.996 MB / 318.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.007765/0.4212, allocations: 3.538 MB / 401.1 MB, free: 7.805 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.4213, allocations: 9.781 kB / 401.1 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001314/0.4226, allocations: 0.6319 MB / 401.7 MB, free: 7.613 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005954/0.4285, allocations: 1.895 MB / 403.6 MB, free: 6.707 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004666/0.4332, allocations: 2.461 MB / 406.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001775/0.4334, allocations: 215.9 kB / 406.3 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001139/0.4346, allocations: 364.6 kB / 406.6 MB, free: 5.844 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01476/0.4494, allocations: 8.864 MB / 415.5 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.895e-05/0.4495, allocations: 36.39 kB / 415.5 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003595/0.4499, allocations: 140 kB / 415.7 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002022/0.4519, allocations: 1.646 MB / 417.3 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01485/0.4668, allocations: 7.468 MB / 424.8 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04771/0.5145, allocations: 35.13 MB / 459.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008676/0.5232, allocations: 3.436 MB / 463.3 MB, free: 8.945 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002065/0.5253, allocations: 1.437 MB / 464.8 MB, free: 7.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01087/0.5362, allocations: 6.787 MB / 471.6 MB, free: 464 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.5363, allocations: 50.41 kB / 471.6 MB, free: 408 kB / 366.1 MB Notification: Performance of pre-optimization done (n=132): time 3.667e-06/0.5363, allocations: 0 / 471.6 MB, free: 408 kB / 366.1 MB Notification: Performance of matching and sorting (n=139): time 0.02755/0.5639, allocations: 11.18 MB / 482.8 MB, free: 5.086 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001395/0.5653, allocations: 1.609 MB / 484.4 MB, free: 3.312 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005555/0.5709, allocations: 3.548 MB / 487.9 MB, free: 15.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003628/0.5713, allocations: 42.8 kB / 488 MB, free: 15.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002576/0.5739, allocations: 2.8 MB / 490.8 MB, free: 12.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008855/0.5748, allocations: 0.569 MB / 491.3 MB, free: 12.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002611/0.575, allocations: 105.2 kB / 491.5 MB, free: 12.28 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003561/0.5754, allocations: 0.5334 MB / 492 MB, free: 11.74 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003029/0.5784, allocations: 1.896 MB / 493.9 MB, free: 9.836 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006029/0.5845, allocations: 5.334 MB / 499.2 MB, free: 2.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00507/0.5896, allocations: 3.107 MB / 0.4905 GB, free: 15.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-05/0.5897, allocations: 32 kB / 0.4906 GB, free: 15.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.02032/0.61, allocations: 8.399 MB / 0.4988 GB, free: 7.582 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.549e-05/0.6101, allocations: 59.12 kB / 0.4988 GB, free: 7.527 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009092/0.6192, allocations: 3.119 MB / 0.5019 GB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008077/0.6274, allocations: 1.876 MB / 0.5037 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004087/0.6315, allocations: 1.244 MB / 0.5049 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007711/0.6392, allocations: 5.728 MB / 0.5105 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004885/0.6441, allocations: 376.6 kB / 0.5109 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001034/0.6452, allocations: 344.5 kB / 0.5112 GB, free: 10.56 MB / 430.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 (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004599/0.6498, allocations: 1.863 MB / 0.513 GB, free: 8.688 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008685/0.6507, allocations: 300.1 kB / 0.5133 GB, free: 8.391 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006224/0.6569, allocations: 2.769 MB / 0.516 GB, free: 5.605 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004465/0.6614, allocations: 2.355 MB / 0.5183 GB, free: 3.227 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.116e-05/0.6615, allocations: 8 kB / 0.5183 GB, free: 3.219 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-05/0.6615, allocations: 3.984 kB / 0.5183 GB, free: 3.215 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01873/0.6803, allocations: 7.845 MB / 0.526 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/0.6803, allocations: 4 kB / 0.526 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.6814, allocations: 227.6 kB / 0.5262 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002809/0.6842, allocations: 1.053 MB / 0.5272 GB, free: 9.992 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001375/0.6844, allocations: 35.81 kB / 0.5273 GB, free: 9.961 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005321/0.6897, allocations: 4.961 MB / 0.5321 GB, free: 4.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001013/0.6907, allocations: 1.476 MB / 0.5336 GB, free: 3.113 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.188/0.8788, allocations: 4.947 MB / 0.5384 GB, free: 158.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009371/0.8797, allocations: 368.9 kB / 0.5387 GB, free: 158 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004355/0.8802, allocations: 31.81 kB / 0.5388 GB, free: 158 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/0.8816, allocations: 126.1 kB / 0.5389 GB, free: 158 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002494/0.8818, allocations: 86.66 kB / 0.539 GB, free: 158 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/0.882, allocations: 45.19 kB / 0.539 GB, free: 158 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003585/0.8855, allocations: 2.188 MB / 0.5412 GB, free: 157.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.8856, allocations: 0 / 0.5412 GB, free: 157.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005053/0.8906, allocations: 0.9635 MB / 0.5421 GB, free: 157.9 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 (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008065/0.8987, allocations: 5.592 MB / 0.5476 GB, free: 155.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008573/0.9073, allocations: 5.185 MB / 0.5526 GB, free: 154 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.9074, allocations: 0 / 0.5526 GB, free: 154 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003175/0.9106, allocations: 2.008 MB / 0.5546 GB, free: 153.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002463/0.913, allocations: 392.2 kB / 0.555 GB, free: 153 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05303/0.9661, allocations: 31.19 MB / 0.5854 GB, free: 127.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002916/0.9691, allocations: 2.905 MB / 0.5883 GB, free: 125.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003839/0.9729, allocations: 1.707 MB / 0.5899 GB, free: 124.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001885/0.9748, allocations: 1.604 MB / 0.5915 GB, free: 122.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.353e-06/0.9748, allocations: 6.297 kB / 0.5915 GB, free: 122.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09148/1.066, allocations: 69.64 MB / 0.6595 GB, free: 52.81 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001432/1.066, allocations: 229.3 kB / 0.6597 GB, free: 52.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.829/4.896, allocations: 0 / 0.6597 GB, free: 52.57 MB / 446.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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat does not exist to compare? outputFormat=mat