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.001029/0.00103, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008686/0.0008684, allocations: 96.48 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.201/0.201, allocations: 45.15 MB / 383.8 MB, free: 272 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.521e-05/1.523e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1055, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4139/0.5194, allocations: 97.73 MB / 0.5999 GB, free: 4.934 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/0.5197, allocations: 77.7 kB / 0.6 GB, free: 4.895 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1739/0.6936, allocations: 69.93 MB / 0.6682 GB, free: 7.113 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.6937, allocations: 0 / 0.6682 GB, free: 7.113 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000151/0.6938, allocations: 60 kB / 0.6683 GB, free: 7.055 MB / 458.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.01005/0.7039, allocations: 3.101 MB / 0.6713 GB, free: 3.895 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.704, allocations: 8.031 kB / 0.6713 GB, free: 3.887 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01464/0.7186, allocations: 3.333 MB / 0.6746 GB, free: 0.543 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006304/0.725, allocations: 2.118 MB / 0.6767 GB, free: 14.38 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002621/0.7253, allocations: 120 kB / 0.6768 GB, free: 14.26 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002/0.7273, allocations: 211.9 kB / 0.677 GB, free: 14.05 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01203/0.7393, allocations: 6.465 MB / 0.6833 GB, free: 7.586 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01915/0.7585, allocations: 8.816 MB / 0.6919 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000142/0.7587, allocations: 23.75 kB / 0.6919 GB, free: 14.26 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001498/0.7602, allocations: 16 kB / 0.6919 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001426/0.7617, allocations: 1.081 MB / 0.693 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03712/0.7988, allocations: 29.38 MB / 0.7217 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003035/0.8019, allocations: 2.792 MB / 0.7244 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009787/0.8029, allocations: 0.8371 MB / 0.7252 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.282e-05/0.8029, allocations: 12.77 kB / 0.7252 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.803, allocations: 47.3 kB / 0.7253 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=142): time 3.417e-06/0.803, allocations: 0 / 0.7253 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=142): time 0.004246/0.8072, allocations: 2.119 MB / 0.7274 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.8073, allocations: 60.19 kB / 0.7274 GB, free: 9.012 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003661/0.811, allocations: 2.38 MB / 0.7297 GB, free: 6.613 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001702/0.8112, allocations: 33.64 kB / 0.7298 GB, free: 6.574 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00206/0.8132, allocations: 2.799 MB / 0.7325 GB, free: 3.73 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000592/0.8138, allocations: 0.5361 MB / 0.733 GB, free: 3.188 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.814, allocations: 0 / 0.733 GB, free: 3.188 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003621/0.8144, allocations: 0.5649 MB / 0.7336 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001976/0.8164, allocations: 1.466 MB / 0.735 GB, free: 1.141 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004085/0.8205, allocations: 4.59 MB / 0.7395 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003729/0.8242, allocations: 2.646 MB / 0.7421 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-05/0.8243, allocations: 32 kB / 0.7421 GB, free: 8.281 MB / 0.5261 GB Notification: Performance of matching and sorting (n=679) (initialization): time 0.008246/0.8325, allocations: 5.36 MB / 0.7473 GB, free: 2.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.768e-05/0.8326, allocations: 52 kB / 0.7474 GB, free: 2.859 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000108/0.8327, allocations: 112.9 kB / 0.7475 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001511/0.8329, allocations: 171.9 kB / 0.7477 GB, free: 2.582 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003193/0.8361, allocations: 1.142 MB / 0.7488 GB, free: 1.438 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000143/0.8362, allocations: 223.1 kB / 0.749 GB, free: 1.215 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002903/0.8392, allocations: 0.5711 MB / 0.7496 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003943/0.8396, allocations: 316 kB / 0.7499 GB, free: 336 kB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * 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 (631): * Single equations (assignments): 625 * 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.3138/1.153, allocations: 377.2 kB / 0.7502 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002939/1.156, allocations: 1.724 MB / 0.7519 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003001/1.157, allocations: 230.5 kB / 0.7521 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009798/1.158, allocations: 293.4 kB / 0.7524 GB, free: 147.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.711e-05/1.158, allocations: 16.59 kB / 0.7524 GB, free: 147.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.158, allocations: 0.9688 kB / 0.7524 GB, free: 147.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/1.158, allocations: 8.75 kB / 0.7524 GB, free: 147.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009978/1.168, allocations: 5.339 MB / 0.7576 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/1.168, allocations: 4.344 kB / 0.7576 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007806/1.169, allocations: 164.4 kB / 0.7578 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.852e-05/1.169, allocations: 17.23 kB / 0.7578 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.525e-05/1.169, allocations: 11.84 kB / 0.7578 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.927e-05/1.169, allocations: 14.98 kB / 0.7578 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.197e-06/1.169, allocations: 7.172 kB / 0.7578 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002964/1.172, allocations: 2.465 MB / 0.7603 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006731/1.172, allocations: 314.9 kB / 0.7606 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000247/1.173, allocations: 9.734 kB / 0.7606 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006616/1.173, allocations: 34.7 kB / 0.7606 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/1.173, allocations: 75.89 kB / 0.7607 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/1.174, allocations: 50.05 kB / 0.7607 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002802/1.176, allocations: 1.546 MB / 0.7622 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.21e-07/1.176, allocations: 0 / 0.7622 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004767/1.181, allocations: 0.9547 MB / 0.7632 GB, free: 145.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * 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.003822/1.185, allocations: 4.46 MB / 0.7675 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006738/1.192, allocations: 3.369 MB / 0.7708 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/1.192, allocations: 0 / 0.7708 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/1.193, allocations: 0.8584 MB / 0.7716 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/1.194, allocations: 177.2 kB / 0.7718 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/1.21, allocations: 7.25 MB / 0.7789 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002903/1.213, allocations: 3.083 MB / 0.7819 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003856/1.216, allocations: 1.816 MB / 0.7837 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002429/1.219, allocations: 1.555 MB / 0.7852 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.153e-06/1.219, allocations: 0 / 0.7852 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08535/1.304, allocations: 50.09 MB / 0.8341 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001633/1.304, allocations: 139.7 kB / 0.8342 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.113/4.417, allocations: 3.234 kB / 0.8342 GB, free: 117.1 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