Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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.PointGravity,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity",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.001066/0.001066, allocations: 97.12 kB / 16.94 MB, free: 6.441 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.001129/0.001129, allocations: 187.5 kB / 17.83 MB, free: 6.008 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.316/1.316, allocations: 205.4 MB / 224 MB, free: 13.18 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.0006934/0.0006935, allocations: 16 kB / 280.8 MB, free: 3.645 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1026, allocations: 47.57 MB / 328.4 MB, free: 4.004 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01141/0.1141, allocations: 11.89 MB / 340.3 MB, free: 8.074 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007815/0.122, allocations: 4.054 MB / 344.4 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00159/0.1236, allocations: 51.88 kB / 344.4 MB, free: 3.961 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.1247, allocations: 0.5405 MB / 345 MB, free: 3.418 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004905/0.1296, allocations: 1.983 MB / 346.9 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009501/0.1306, allocations: 439.2 kB / 347.4 MB, free: 1 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00289/0.1335, allocations: 1.739 MB / 349.1 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007505/0.1343, allocations: 0.5155 MB / 349.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009422/0.1352, allocations: 0.658 MB / 350.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.1364, allocations: 0.9698 MB / 351.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002073/0.1366, allocations: 84 kB / 351.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.1379, allocations: 0.7918 MB / 352.1 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008207/0.1388, allocations: 0.9819 MB / 353.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004355/0.1392, allocations: 0.4961 MB / 353.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002793/0.142, allocations: 3.02 MB / 356.6 MB, free: 7.676 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.142, allocations: 0 / 356.6 MB, free: 7.676 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1421, allocations: 0 / 356.6 MB, free: 7.676 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.72e-05/0.1421, allocations: 0 / 356.6 MB, free: 7.676 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.005432/0.1475, allocations: 2.791 MB / 359.4 MB, free: 4.824 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1476, allocations: 12.03 kB / 359.4 MB, free: 4.812 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000595/0.1482, allocations: 433.2 kB / 359.8 MB, free: 4.379 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008697/0.1569, allocations: 2.262 MB / 362.1 MB, free: 2.109 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004126/0.1611, allocations: 2.101 MB / 364.2 MB, free: 15.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.1612, allocations: 122.6 kB / 364.3 MB, free: 15.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009341/0.1621, allocations: 299.5 kB / 364.6 MB, free: 15.55 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01641/0.1786, allocations: 8.606 MB / 373.2 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.965e-05/0.1787, allocations: 39.59 kB / 373.3 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002558/0.1789, allocations: 79.89 kB / 373.3 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002255/0.1812, allocations: 1.397 MB / 374.7 MB, free: 4.863 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1919/0.3731, allocations: 9.901 MB / 384.6 MB, free: 47.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0334/0.4065, allocations: 30.71 MB / 415.4 MB, free: 24.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01087/0.4174, allocations: 4.498 MB / 419.9 MB, free: 20.96 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.4176, allocations: 14.19 kB / 419.9 MB, free: 20.95 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.4176, allocations: 50.5 kB / 419.9 MB, free: 20.89 MB / 318.1 MB Notification: Performance of pre-optimization done (n=122): time 2.976e-06/0.4176, allocations: 0 / 419.9 MB, free: 20.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=136): time 0.04277/0.4604, allocations: 18.97 MB / 438.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002209/0.4627, allocations: 3.075 MB / 442 MB, free: 14.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004684/0.4674, allocations: 3.234 MB / 445.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008013/0.4682, allocations: 43.11 kB / 445.2 MB, free: 10.9 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001674/0.4699, allocations: 2.092 MB / 447.3 MB, free: 8.816 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001176/0.4711, allocations: 0.5682 MB / 447.9 MB, free: 8.254 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003256/0.4714, allocations: 95.28 kB / 448 MB, free: 8.164 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003399/0.4717, allocations: 0.5047 MB / 448.5 MB, free: 7.652 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004249/0.476, allocations: 2.648 MB / 451.1 MB, free: 4.996 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00695/0.483, allocations: 5.571 MB / 456.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006556/0.4896, allocations: 3.705 MB / 460.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-05/0.4897, allocations: 28 kB / 460.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.0339/0.5236, allocations: 11.79 MB / 472.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.025e-05/0.5237, allocations: 59.77 kB / 472.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02363/0.5473, allocations: 7.053 MB / 479.3 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02262/0.57, allocations: 4.55 MB / 483.9 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004566/0.5746, allocations: 1.236 MB / 485.1 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01712/0.5918, allocations: 12.07 MB / 497.2 MB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005452/0.5973, allocations: 0.5744 MB / 497.8 MB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001082/0.5984, allocations: 309.2 kB / 498.1 MB, free: 3.945 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * Number of states: 0 () * Number of discrete variables: 18 (body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (584): * Single equations (assignments): 569 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002935/0.6013, allocations: 1.428 MB / 499.5 MB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001006/0.6023, allocations: 256.6 kB / 499.8 MB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009679/0.6033, allocations: 415.4 kB / 0.4884 GB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01172/0.615, allocations: 5.018 MB / 0.4933 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.033e-05/0.6151, allocations: 8 kB / 0.4934 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-05/0.6151, allocations: 3.984 kB / 0.4934 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009879/0.625, allocations: 5.384 MB / 0.4986 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.6251, allocations: 0 / 0.4986 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/0.627, allocations: 367.4 kB / 0.499 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008877/0.6359, allocations: 2.39 MB / 0.5013 GB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006858/0.6366, allocations: 48.83 kB / 0.5013 GB, free: 4.523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01024/0.6469, allocations: 9.001 MB / 0.5101 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002377/0.6493, allocations: 2.927 MB / 0.513 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01768/0.667, allocations: 8.844 MB / 0.5216 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009951/0.668, allocations: 341.5 kB / 0.522 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006527/0.6687, allocations: 37.14 kB / 0.522 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002286/0.671, allocations: 323.4 kB / 0.5223 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004373/0.6715, allocations: 103.8 kB / 0.5224 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001783/0.6716, allocations: 57.67 kB / 0.5225 GB, free: 13.99 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003407/0.6751, allocations: 2.051 MB / 0.5245 GB, free: 11.94 MB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6751, allocations: 0 / 0.5245 GB, free: 11.94 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005706/0.6808, allocations: 1.02 MB / 0.5255 GB, free: 10.92 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.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 (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01879/0.6996, allocations: 9.75 MB / 0.535 GB, free: 1.094 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.199/0.8986, allocations: 7.349 MB / 0.5421 GB, free: 148.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.8987, allocations: 1.156 kB / 0.5422 GB, free: 148.9 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007846/0.9065, allocations: 3.619 MB / 0.5457 GB, free: 147.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002383/0.909, allocations: 290.6 kB / 0.546 GB, free: 147.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08511/0.9941, allocations: 104.7 MB / 0.6482 GB, free: 50.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001748/0.9959, allocations: 2.349 MB / 0.6505 GB, free: 47.8 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004004/0.9999, allocations: 1.679 MB / 0.6522 GB, free: 46.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001733/1.002, allocations: 1.175 MB / 0.6533 GB, free: 44.94 MB / 430.1 MB Notification: Performance of SimCode: time 1.222e-06/1.002, allocations: 0 / 0.6533 GB, free: 44.94 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3199/1.322, allocations: 74.46 MB / 0.726 GB, free: 132.9 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002343/1.322, allocations: 228.7 kB / 0.7262 GB, free: 132.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.697/5.019, allocations: 4 kB / 0.7262 GB, free: 132.7 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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.PointGravity_res.mat does not exist to compare? outputFormat=mat