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.001186/0.001186, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.567/1.567, allocations: 225.6 MB / 234.8 MB, free: 3.312 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009025/0.0009025, allocations: 93.22 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.495e-05/2.462e-05, allocations: 4 kB / 343.8 MB, free: 8.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1321, allocations: 51.48 MB / 395.3 MB, free: 4.695 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4172/0.5494, allocations: 93.79 MB / 489.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/0.5497, allocations: 92.52 kB / 489.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8249/1.375, allocations: 192 MB / 0.6652 GB, free: 63.05 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.136e-06/1.375, allocations: 4 kB / 0.6652 GB, free: 63.05 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0007511/1.375, allocations: 161 kB / 0.6653 GB, free: 63.05 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.04238/1.418, allocations: 8.394 MB / 0.6735 GB, free: 57.79 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.892e-05/1.418, allocations: 13.83 kB / 0.6735 GB, free: 57.79 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02888/1.447, allocations: 4.749 MB / 0.6782 GB, free: 55.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02851/1.475, allocations: 11.01 MB / 0.6889 GB, free: 49.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000739/1.476, allocations: 267.8 kB / 0.6892 GB, free: 49.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005851/1.482, allocations: 0.5114 MB / 0.6897 GB, free: 49.55 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03198/1.514, allocations: 17.73 MB / 0.707 GB, free: 31.84 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05417/1.568, allocations: 23.19 MB / 0.7296 GB, free: 6.961 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009949/1.569, allocations: 126.9 kB / 0.7298 GB, free: 6.836 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005012/1.574, allocations: 57.19 kB / 0.7298 GB, free: 6.781 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004091/1.579, allocations: 2.1 MB / 0.7319 GB, free: 4.684 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5164/2.095, allocations: 108.7 MB / 0.838 GB, free: 32.21 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01355/2.109, allocations: 10.27 MB / 0.848 GB, free: 27.38 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01243/2.121, allocations: 9.199 MB / 0.857 GB, free: 23.31 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007566/2.122, allocations: 383.3 kB / 0.8574 GB, free: 23.01 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.106e-05/2.122, allocations: 61.12 kB / 0.8574 GB, free: 22.95 MB / 474.7 MB Notification: Performance of pre-optimization done (n=305): time 7.584e-06/2.122, allocations: 0.9375 kB / 0.8574 GB, free: 22.95 MB / 474.7 MB Notification: Performance of matching and sorting (n=403): time 0.6461/2.768, allocations: 105.7 MB / 0.9607 GB, free: 102.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/2.768, allocations: 195.4 kB / 0.9609 GB, free: 102.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0123/2.78, allocations: 5.432 MB / 0.9662 GB, free: 101.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001634/2.782, allocations: 26.86 kB / 0.9662 GB, free: 101.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00506/2.787, allocations: 5.825 MB / 0.9719 GB, free: 98.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00363/2.791, allocations: 1.501 MB / 0.9734 GB, free: 97.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00175/2.793, allocations: 0 / 0.9734 GB, free: 97.41 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0009049/2.794, allocations: 0.7647 MB / 0.9741 GB, free: 97.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01317/2.807, allocations: 7.367 MB / 0.9813 GB, free: 94.56 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01798/2.825, allocations: 13.49 MB / 0.9945 GB, free: 83.45 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01561/2.84, allocations: 9.617 MB / 1.004 GB, free: 80.08 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003934/2.841, allocations: 60 kB / 1.004 GB, free: 80.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=1430) (initialization): time 0.0922/2.933, allocations: 32.87 MB / 1.036 GB, free: 69.81 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004548/2.934, allocations: 101.7 kB / 1.036 GB, free: 69.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03496/2.969, allocations: 14.8 MB / 1.051 GB, free: 58.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04742/3.016, allocations: 13.65 MB / 1.064 GB, free: 47.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01053/3.027, allocations: 2.628 MB / 1.066 GB, free: 44.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4038/3.431, allocations: 49.01 MB / 1.114 GB, free: 90.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01484/3.445, allocations: 1.229 MB / 1.116 GB, free: 90.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003739/3.449, allocations: 0.6503 MB / 1.116 GB, free: 90.29 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 996 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1263): * Single equations (assignments): 1249 * 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.005557/3.455, allocations: 0.6798 MB / 1.117 GB, free: 90.17 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.07466/3.53, allocations: 25.74 MB / 1.142 GB, free: 87.14 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003331/3.533, allocations: 0.6152 MB / 1.143 GB, free: 87.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004418/3.537, allocations: 1.212 MB / 1.144 GB, free: 86.27 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05937/3.597, allocations: 24.73 MB / 1.168 GB, free: 80.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.751e-05/3.597, allocations: 27.34 kB / 1.168 GB, free: 80.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001343/3.597, allocations: 20.17 kB / 1.168 GB, free: 80.16 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1042/3.701, allocations: 45.51 MB / 1.212 GB, free: 57.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.526e-05/3.701, allocations: 4 kB / 1.212 GB, free: 57.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003951/3.705, allocations: 0.7051 MB / 1.213 GB, free: 56.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04422/3.75, allocations: 13.12 MB / 1.226 GB, free: 43.28 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001463/3.751, allocations: 59.88 kB / 1.226 GB, free: 43.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3546/4.106, allocations: 45.95 MB / 1.271 GB, free: 88.27 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001772/4.108, allocations: 2.832 MB / 1.274 GB, free: 85.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08559/4.193, allocations: 35.64 MB / 1.308 GB, free: 84.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002586/4.196, allocations: 0.6342 MB / 1.309 GB, free: 84.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003368/4.199, allocations: 19.89 kB / 1.309 GB, free: 84.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009322/4.209, allocations: 0.7579 MB / 1.31 GB, free: 84.21 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002872/4.211, allocations: 315.5 kB / 1.31 GB, free: 84.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001613/4.213, allocations: 127.6 kB / 1.31 GB, free: 84.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01055/4.224, allocations: 3.653 MB / 1.314 GB, free: 83.99 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/4.224, allocations: 0 / 1.314 GB, free: 83.99 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01628/4.24, allocations: 2.655 MB / 1.316 GB, free: 83.99 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 24 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.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],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (255): * Single equations (assignments): 246 * 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.0823/4.322, allocations: 36.9 MB / 1.352 GB, free: 72.63 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02644/4.349, allocations: 17.87 MB / 1.37 GB, free: 65.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/4.349, allocations: 0 / 1.37 GB, free: 65.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01205/4.361, allocations: 8.201 MB / 1.378 GB, free: 58.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006119/4.367, allocations: 0.6741 MB / 1.378 GB, free: 58.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06846/4.436, allocations: 25.01 MB / 1.403 GB, free: 37.67 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01004/4.446, allocations: 6.237 MB / 1.409 GB, free: 33.12 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00941/4.455, allocations: 3.39 MB / 1.412 GB, free: 30.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006977/4.462, allocations: 3.99 MB / 1.416 GB, free: 26.81 MB / 490.7 MB Notification: Performance of SimCode: time 7.52e-07/4.462, allocations: 0 / 1.416 GB, free: 26.81 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9523/5.414, allocations: 212 MB / 1.623 GB, free: 67.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/5.415, allocations: 173.7 kB / 1.623 GB, free: 67.31 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.048/13.46, allocations: 0 / 1.623 GB, free: 67.31 MB / 0.5105 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