Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001024/0.001024, allocations: 198.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.257/1.257, allocations: 227.2 MB / 245 MB, free: 7.629 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009773/0.0009774, allocations: 98.08 kB / 297.2 MB, free: 6.188 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002309/0.0002311, allocations: 4 kB / 358 MB, free: 9.438 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2422, allocations: 51.48 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1255/0.3678, allocations: 94.53 MB / 0.4922 GB, free: 12.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003274/0.3682, allocations: 91.95 kB / 0.4923 GB, free: 11.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8918/1.26, allocations: 195.5 MB / 0.6832 GB, free: 60.02 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.395e-06/1.26, allocations: 0 / 0.6832 GB, free: 60.02 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004543/1.261, allocations: 160.1 kB / 0.6834 GB, free: 60.02 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2889 * Number of variables: 2889 Notification: Performance of Generate backend data structure: time 0.03045/1.291, allocations: 9.058 MB / 0.6922 GB, free: 56.76 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/1.291, allocations: 12.62 kB / 0.6922 GB, free: 56.76 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005472/1.297, allocations: 1.443 MB / 0.6937 GB, free: 56.65 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0246/1.321, allocations: 4.745 MB / 0.6983 GB, free: 56.08 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02257/1.344, allocations: 11.07 MB / 0.7091 GB, free: 55.12 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006548/1.344, allocations: 0.6215 MB / 0.7097 GB, free: 55.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004182/1.349, allocations: 0.8438 MB / 0.7105 GB, free: 55.07 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06576/1.414, allocations: 27.72 MB / 0.7376 GB, free: 50.46 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005528/1.415, allocations: 128.2 kB / 0.7377 GB, free: 50.44 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002765/1.418, allocations: 397.4 kB / 0.7381 GB, free: 50.44 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003218/1.421, allocations: 2.102 MB / 0.7402 GB, free: 50.42 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05963/1.481, allocations: 29.57 MB / 0.769 GB, free: 38.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3726/1.853, allocations: 111.1 MB / 0.8775 GB, free: 31.41 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06592/1.919, allocations: 19.27 MB / 0.8964 GB, free: 30.69 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006828/1.92, allocations: 385.4 kB / 0.8967 GB, free: 30.41 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.119e-05/1.92, allocations: 67.62 kB / 0.8968 GB, free: 30.37 MB / 474.7 MB Notification: Performance of pre-optimization done (n=305): time 6.602e-06/1.92, allocations: 0 / 0.8968 GB, free: 30.37 MB / 474.7 MB Notification: Performance of matching and sorting (n=404): time 0.3855/2.306, allocations: 131 MB / 1.025 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002517/2.308, allocations: 3.142 MB / 1.028 GB, free: 6.84 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01252/2.321, allocations: 6.657 MB / 1.034 GB, free: 364 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001666/2.322, allocations: 85.7 kB / 1.034 GB, free: 272 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.2468/2.569, allocations: 5.817 MB / 1.04 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002289/2.572, allocations: 1.546 MB / 1.042 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001174/2.573, allocations: 215.3 kB / 1.042 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000447/2.573, allocations: 0.763 MB / 1.043 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01055/2.584, allocations: 7.846 MB / 1.05 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01466/2.598, allocations: 13.9 MB / 1.064 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0136/2.612, allocations: 10.05 MB / 1.074 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001179/2.612, allocations: 63.09 kB / 1.074 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1410) (initialization): time 0.08125/2.693, allocations: 34.89 MB / 1.108 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005616/2.694, allocations: 94.97 kB / 1.108 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03432/2.728, allocations: 15.03 MB / 1.122 GB, free: 103 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0477/2.776, allocations: 13.85 MB / 1.136 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01045/2.787, allocations: 2.587 MB / 1.139 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06544/2.852, allocations: 54.52 MB / 1.192 GB, free: 55.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01483/2.867, allocations: 1.441 MB / 1.193 GB, free: 54.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003462/2.871, allocations: 0.6394 MB / 1.194 GB, free: 54.13 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 975 * Number of states: 0 () * Number of discrete variables: 89 (referenceSystem.fixedTranslation5.color[3],referenceSystem.fixedTranslation5.color[2],referenceSystem.fixedTranslation5.color[1],referenceSystem.fixedTranslation4.color[3],referenceSystem.fixedTranslation4.color[2],referenceSystem.fixedTranslation4.color[1],referenceSystem.fixedTranslation3.color[3],referenceSystem.fixedTranslation3.color[2],referenceSystem.fixedTranslation3.color[1],referenceSystem.fixedTranslation2.color[3],referenceSystem.fixedTranslation2.color[2],referenceSystem.fixedTranslation2.color[1],referenceSystem.fixedTranslation1.color[3],referenceSystem.fixedTranslation1.color[2],referenceSystem.fixedTranslation1.color[1],referenceSystem.fixedTranslation.color[3],referenceSystem.fixedTranslation.color[2],referenceSystem.fixedTranslation.color[1],referenceSystem.pointMass6.sphereColor[3],referenceSystem.pointMass6.sphereColor[2],referenceSystem.pointMass6.sphereColor[1],referenceSystem.pointMass5.sphereColor[3],referenceSystem.pointMass5.sphereColor[2],referenceSystem.pointMass5.sphereColor[1],referenceSystem.pointMass4.sphereColor[3],referenceSystem.pointMass4.sphereColor[2],referenceSystem.pointMass4.sphereColor[1],referenceSystem.pointMass3.sphereColor[3],referenceSystem.pointMass3.sphereColor[2],referenceSystem.pointMass3.sphereColor[1],referenceSystem.pointMass2.sphereColor[3],referenceSystem.pointMass2.sphereColor[2],referenceSystem.pointMass2.sphereColor[1],referenceSystem.pointMass1.sphereColor[3],referenceSystem.pointMass1.sphereColor[2],referenceSystem.pointMass1.sphereColor[1],freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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],fixedTranslation5.color[3],fixedTranslation5.color[2],fixedTranslation5.color[1],fixedTranslation4.color[3],fixedTranslation4.color[2],fixedTranslation4.color[1],fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],pointMass6.sphereColor[3],pointMass6.sphereColor[2],pointMass6.sphereColor[1],pointMass5.sphereColor[3],pointMass5.sphereColor[2],pointMass5.sphereColor[1],pointMass4.sphereColor[3],pointMass4.sphereColor[2],pointMass4.sphereColor[1],pointMass3.sphereColor[3],pointMass3.sphereColor[2],pointMass3.sphereColor[1],pointMass2.sphereColor[3],pointMass2.sphereColor[2],pointMass2.sphereColor[1],pointMass1.sphereColor[3],pointMass1.sphereColor[2],pointMass1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1243): * Single equations (assignments): 1229 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,100.0%) 66,(6,100.0%) 36,(3,100.0%) 2} * Non-linear torn systems: 1 {4 7} Notification: Performance of prepare postOptimizeDAE: time 0.01015/2.881, allocations: 3.978 MB / 1.198 GB, free: 50.49 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001707/2.882, allocations: 0.6788 MB / 1.198 GB, free: 49.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00377/2.886, allocations: 1.305 MB / 1.2 GB, free: 48.49 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3473/3.234, allocations: 25.11 MB / 1.224 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001295/3.234, allocations: 25.06 kB / 1.224 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.611e-05/3.234, allocations: 19.5 kB / 1.224 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.092/3.326, allocations: 46.91 MB / 1.27 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.295e-05/3.326, allocations: 3.75 kB / 1.27 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003734/3.33, allocations: 0.7085 MB / 1.271 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04257/3.372, allocations: 13.3 MB / 1.284 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001785/3.374, allocations: 115.5 kB / 1.284 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06351/3.438, allocations: 50.99 MB / 1.334 GB, free: 80.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001537/3.439, allocations: 2.977 MB / 1.337 GB, free: 77.06 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0711/3.51, allocations: 36.31 MB / 1.372 GB, free: 41.15 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002724/3.513, allocations: 0.7125 MB / 1.373 GB, free: 40.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002266/3.515, allocations: 79.98 kB / 1.373 GB, free: 40.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007191/3.523, allocations: 0.811 MB / 1.374 GB, free: 39.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001792/3.524, allocations: 318.1 kB / 1.374 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006312/3.525, allocations: 130.2 kB / 1.374 GB, free: 39.46 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009448/3.534, allocations: 4.74 MB / 1.379 GB, free: 34.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.12e-07/3.535, allocations: 0 / 1.379 GB, free: 34.77 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01459/3.549, allocations: 2.914 MB / 1.381 GB, free: 31.87 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],referenceSystem.pointMass1.frame_a.r_0[1],referenceSystem.pointMass1.frame_a.r_0[2],referenceSystem.pointMass1.frame_a.r_0[3],referenceSystem.pointMass1.v_0[1],referenceSystem.pointMass1.v_0[2],referenceSystem.pointMass1.v_0[3],referenceSystem.pointMass6.w_a[1],referenceSystem.pointMass6.w_a[2],referenceSystem.pointMass6.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 (256): * Single equations (assignments): 247 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,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 {(6,100.0%) 36,(6,100.0%) 66} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3403/3.89, allocations: 37.56 MB / 1.418 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02824/3.918, allocations: 18.92 MB / 1.437 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/3.918, allocations: 2.375 kB / 1.437 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01044/3.928, allocations: 8.479 MB / 1.445 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005448/3.934, allocations: 0.8721 MB / 1.446 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5408/4.475, allocations: 256.6 MB / 1.696 GB, free: 67.77 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008262/4.483, allocations: 6.241 MB / 1.702 GB, free: 66.86 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.009381/4.492, allocations: 3.402 MB / 1.706 GB, free: 66.79 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008833/4.501, allocations: 4.07 MB / 1.71 GB, free: 66.78 MB / 0.5417 GB Notification: Performance of SimCode: time 1.222e-06/4.501, allocations: 0 / 1.71 GB, free: 66.78 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.563/5.064, allocations: 227.8 MB / 1.932 GB, free: 43.49 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/5.064, allocations: 246.6 kB / 1.932 GB, free: 43.25 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.96/12.02, allocations: 0 / 1.932 GB, free: 43.25 MB / 0.5417 GB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_res.mat does not exist to compare? outputFormat=mat