Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001107/0.001107, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.212/1.212, allocations: 225.4 MB / 240.1 MB, free: 15.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008729/0.0008729, allocations: 91.56 kB / 292.1 MB, free: 5.992 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1678/0.1678, allocations: 45.14 MB / 389.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.178e-05/2.181e-05, allocations: 0 / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08302/0.08306, allocations: 63.25 MB / 0.5115 GB, free: 6.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3271/0.4102, allocations: 98.38 MB / 0.6075 GB, free: 11.53 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001687/0.4104, allocations: 77.52 kB / 0.6076 GB, free: 11.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1571/0.5675, allocations: 71.4 MB / 0.6773 GB, free: 12.13 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5675, allocations: 4 kB / 0.6773 GB, free: 12.12 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.5e-05/0.5676, allocations: 63.94 kB / 0.6774 GB, free: 12.06 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1477 * Number of variables: 1477 Notification: Performance of Generate backend data structure: time 0.004244/0.5719, allocations: 3.104 MB / 0.6804 GB, free: 8.898 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.5719, allocations: 11.97 kB / 0.6804 GB, free: 8.887 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009544/0.5729, allocations: 0.742 MB / 0.6812 GB, free: 8.133 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01247/0.5854, allocations: 3.344 MB / 0.6844 GB, free: 4.777 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005405/0.5908, allocations: 2.11 MB / 0.6865 GB, free: 2.621 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002206/0.591, allocations: 283.3 kB / 0.6868 GB, free: 2.344 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001303/0.5924, allocations: 359.9 kB / 0.6871 GB, free: 1.992 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01393/0.6063, allocations: 9.342 MB / 0.6962 GB, free: 8.145 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.265e-05/0.6064, allocations: 23.81 kB / 0.6962 GB, free: 8.121 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004697/0.6069, allocations: 171.9 kB / 0.6964 GB, free: 7.953 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001179/0.6081, allocations: 1.073 MB / 0.6975 GB, free: 6.879 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01249/0.6206, allocations: 8.686 MB / 0.7059 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03605/0.6566, allocations: 32.57 MB / 0.7377 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004729/0.6614, allocations: 3.256 MB / 0.7409 GB, free: 9.227 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.6626, allocations: 0.9102 MB / 0.7418 GB, free: 8.316 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.712e-05/0.6626, allocations: 20.91 kB / 0.7418 GB, free: 8.301 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.6627, allocations: 43.56 kB / 0.7419 GB, free: 8.25 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=148): time 3.236e-06/0.6627, allocations: 3.938 kB / 0.7419 GB, free: 8.246 MB / 0.5261 GB Notification: Performance of matching and sorting (n=148): time 0.005706/0.6684, allocations: 2.576 MB / 0.7444 GB, free: 5.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.6685, allocations: 64.41 kB / 0.7445 GB, free: 5.582 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003562/0.672, allocations: 2.762 MB / 0.7472 GB, free: 2.805 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.552e-05/0.6721, allocations: 45.69 kB / 0.7472 GB, free: 2.754 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001548/0.6737, allocations: 2.665 MB / 0.7498 GB, free: 48 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.2277/0.9013, allocations: 0.5603 MB / 0.7503 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004621/0.9018, allocations: 94.38 kB / 0.7504 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003021/0.9022, allocations: 0.5123 MB / 0.7509 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002348/0.9045, allocations: 1.476 MB / 0.7524 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002851/0.9074, allocations: 4.377 MB / 0.7567 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003131/0.9105, allocations: 2.6 MB / 0.7592 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.233e-05/0.9106, allocations: 29.38 kB / 0.7592 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=635) (initialization): time 0.00792/0.9185, allocations: 5.721 MB / 0.7648 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-05/0.9187, allocations: 49.94 kB / 0.7649 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001108/0.9188, allocations: 104.3 kB / 0.765 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001804/0.919, allocations: 152.1 kB / 0.7651 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002753/0.9217, allocations: 1.059 MB / 0.7661 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001994/0.9219, allocations: 205 kB / 0.7663 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002794/0.9247, allocations: 0.6748 MB / 0.767 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004319/0.9252, allocations: 295.5 kB / 0.7673 GB, free: 143.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * Number of states: 0 () * Number of discrete variables: 29 (arrow.arrowLine.twoHeadedArrow,arrow.headAtOrigin,arrow.color[3],arrow.color[2],arrow.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (587): * Single equations (assignments): 581 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005284/0.9257, allocations: 476.9 kB / 0.7677 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003087/0.926, allocations: 254.3 kB / 0.768 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006934/0.9267, allocations: 329.5 kB / 0.7683 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.802e-05/0.9268, allocations: 18.97 kB / 0.7683 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.9268, allocations: 3.5 kB / 0.7683 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.9268, allocations: 5.297 kB / 0.7683 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/0.9371, allocations: 6.892 MB / 0.775 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/0.9372, allocations: 14.8 kB / 0.7751 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006718/0.9379, allocations: 176.4 kB / 0.7752 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.478e-05/0.9379, allocations: 10.66 kB / 0.7752 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.182e-05/0.938, allocations: 31.25 kB / 0.7753 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-05/0.938, allocations: 15.3 kB / 0.7753 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.938, allocations: 11.03 kB / 0.7753 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002316/0.9403, allocations: 2.874 MB / 0.7781 GB, free: 141 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006237/0.9409, allocations: 362.5 kB / 0.7784 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002453/0.9412, allocations: 31.48 kB / 0.7785 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007012/0.9419, allocations: 50.16 kB / 0.7785 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.942, allocations: 75.38 kB / 0.7786 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.64e-05/0.9421, allocations: 51.67 kB / 0.7786 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002383/0.9445, allocations: 1.933 MB / 0.7805 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9445, allocations: 3.906 kB / 0.7805 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003564/0.9481, allocations: 1.017 MB / 0.7815 GB, free: 140.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 94 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002719/0.9508, allocations: 5.131 MB / 0.7865 GB, free: 137 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004148/0.955, allocations: 3.483 MB / 0.7899 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.955, allocations: 3.656 kB / 0.7899 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008001/0.9558, allocations: 0.9182 MB / 0.7908 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.9569, allocations: 303.9 kB / 0.7911 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/0.9686, allocations: 7.501 MB / 0.7985 GB, free: 133 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002342/0.9709, allocations: 3.092 MB / 0.8015 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003305/0.9742, allocations: 1.718 MB / 0.8031 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001594/0.9759, allocations: 1.553 MB / 0.8047 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.153e-06/0.9759, allocations: 2.844 kB / 0.8047 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06687/1.043, allocations: 56.45 MB / 0.8598 GB, free: 90.45 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001349/1.043, allocations: 155.2 kB / 0.8599 GB, free: 90.22 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.028/4.071, allocations: 0 / 0.8599 GB, free: 90.22 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedTranslation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat does not exist to compare? outputFormat=mat