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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001149/0.001149, allocations: 93.88 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001299/0.001299, allocations: 195.3 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.4 MB / 246 MB, free: 10.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2264/0.2264, allocations: 45.92 MB / 344.1 MB, free: 12.02 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003047/0.0003048, allocations: 11.94 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1311, allocations: 63.47 MB / 481.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.02771/0.1588, allocations: 26.03 MB / 0.4958 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01376/0.1726, allocations: 5.411 MB / 0.501 GB, free: 5.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004653/0.1773, allocations: 115.8 kB / 0.5012 GB, free: 5.621 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003875/0.1812, allocations: 1.256 MB / 0.5024 GB, free: 4.359 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009471/0.1907, allocations: 3.557 MB / 0.5059 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008888/0.1916, allocations: 83.84 kB / 0.5059 GB, free: 0.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3273/0.5189, allocations: 3.114 MB / 0.509 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00464/0.5236, allocations: 1.982 MB / 0.5109 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002395/0.526, allocations: 0.9283 MB / 0.5118 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003152/0.5292, allocations: 1.448 MB / 0.5132 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006897/0.5299, allocations: 119.5 kB / 0.5133 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001529/0.5314, allocations: 388.1 kB / 0.5137 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002017/0.5335, allocations: 1.331 MB / 0.515 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009901/0.5345, allocations: 0.7036 MB / 0.5157 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005864/0.5403, allocations: 4.203 MB / 0.5198 GB, free: 10.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.5404, allocations: 0 / 0.5198 GB, free: 10.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.5404, allocations: 0 / 0.5198 GB, free: 10.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00021/0.5406, allocations: 1.156 kB / 0.5198 GB, free: 10.81 MB / 382.1 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.00623/0.5468, allocations: 3.04 MB / 0.5228 GB, free: 9.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.5469, allocations: 10.19 kB / 0.5228 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00115/0.548, allocations: 0.6756 MB / 0.5234 GB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009447/0.5575, allocations: 3.063 MB / 0.5264 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004007/0.5615, allocations: 1.541 MB / 0.5279 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002011/0.5618, allocations: 173.5 kB / 0.5281 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006247/0.5624, allocations: 226 kB / 0.5283 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01635/0.5787, allocations: 9.678 MB / 0.5378 GB, free: 4.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.117e-05/0.5788, allocations: 22.09 kB / 0.5378 GB, free: 4.863 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003398/0.5792, allocations: 109.2 kB / 0.5379 GB, free: 4.863 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004064/0.5833, allocations: 2.44 MB / 0.5403 GB, free: 4.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01989/0.6032, allocations: 8.772 MB / 0.5489 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04902/0.6522, allocations: 30.69 MB / 0.5788 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005611/0.6579, allocations: 3.261 MB / 0.582 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/0.6592, allocations: 0.9187 MB / 0.5829 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.607e-05/0.6593, allocations: 18 kB / 0.5829 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.6594, allocations: 47.5 kB / 0.583 GB, free: 11.51 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 5.651e-06/0.6594, allocations: 3.984 kB / 0.583 GB, free: 11.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.007513/0.6669, allocations: 3.361 MB / 0.5863 GB, free: 8.141 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.667, allocations: 60.41 kB / 0.5863 GB, free: 8.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005176/0.6722, allocations: 3.103 MB / 0.5893 GB, free: 4.953 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002022/0.6724, allocations: 37.7 kB / 0.5894 GB, free: 4.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002225/0.6746, allocations: 2.682 MB / 0.592 GB, free: 2.242 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007489/0.6754, allocations: 0.5644 MB / 0.5925 GB, free: 1.684 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/0.6756, allocations: 92 kB / 0.5926 GB, free: 1.594 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003487/0.676, allocations: 0.5125 MB / 0.5931 GB, free: 1.074 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00245/0.6784, allocations: 1.52 MB / 0.5946 GB, free: 15.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004454/0.6829, allocations: 4.431 MB / 0.5989 GB, free: 9.664 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003822/0.6867, allocations: 2.605 MB / 0.6015 GB, free: 7.062 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.068e-05/0.6868, allocations: 28 kB / 0.6015 GB, free: 7.035 MB / 446.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.00988/0.6967, allocations: 5.795 MB / 0.6072 GB, free: 1.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.458e-05/0.6968, allocations: 51.94 kB / 0.6072 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001203/0.6969, allocations: 106.6 kB / 0.6073 GB, free: 1.078 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001602/0.6971, allocations: 148 kB / 0.6075 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003212/0.7003, allocations: 1.061 MB / 0.6085 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001681/0.7005, allocations: 203.2 kB / 0.6087 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00348/0.704, allocations: 0.67 MB / 0.6094 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005109/0.7045, allocations: 296 kB / 0.6096 GB, free: 14.71 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 470 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (588): * Single equations (assignments): 582 * 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.004051/0.7086, allocations: 1.95 MB / 0.6115 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004673/0.709, allocations: 260.5 kB / 0.6118 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007667/0.7098, allocations: 331.8 kB / 0.6121 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.058e-05/0.7099, allocations: 18.66 kB / 0.6121 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/0.7099, allocations: 4 kB / 0.6121 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.7099, allocations: 3.984 kB / 0.6121 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01191/0.7218, allocations: 6.877 MB / 0.6188 GB, free: 5.125 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/0.7219, allocations: 4 kB / 0.6188 GB, free: 5.121 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000725/0.7226, allocations: 179.7 kB / 0.619 GB, free: 4.945 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.119e-05/0.7226, allocations: 12 kB / 0.619 GB, free: 4.934 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.495e-05/0.7227, allocations: 30.66 kB / 0.6191 GB, free: 4.906 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.879e-05/0.7227, allocations: 20.55 kB / 0.6191 GB, free: 4.887 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.27e-05/0.7228, allocations: 15.94 kB / 0.6191 GB, free: 4.871 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003177/0.7259, allocations: 2.242 MB / 0.6213 GB, free: 2.516 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008582/0.7268, allocations: 361.2 kB / 0.6216 GB, free: 2.141 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002672/0.7271, allocations: 27.98 kB / 0.6217 GB, free: 2.113 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006744/0.7278, allocations: 43.95 kB / 0.6217 GB, free: 2.07 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.7279, allocations: 80.47 kB / 0.6218 GB, free: 1.992 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.728, allocations: 52.92 kB / 0.6218 GB, free: 1.941 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003461/0.7315, allocations: 1.952 MB / 0.6237 GB, free: 15.99 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.733e-06/0.7315, allocations: 0 / 0.6237 GB, free: 15.99 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004616/0.7361, allocations: 1.02 MB / 0.6247 GB, free: 14.97 MB / 478.1 MB 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 () * Number of clocked 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.003355/0.7395, allocations: 2.888 MB / 0.6275 GB, free: 11.98 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005913/0.7454, allocations: 3.535 MB / 0.631 GB, free: 8.473 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.964e-06/0.7455, allocations: 0 / 0.631 GB, free: 8.473 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.7467, allocations: 0.9214 MB / 0.6319 GB, free: 7.555 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/0.7486, allocations: 302.3 kB / 0.6322 GB, free: 7.262 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05127/0.7999, allocations: 24.91 MB / 0.6565 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004184/0.8041, allocations: 3.02 MB / 0.6595 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004141/0.8083, allocations: 1.714 MB / 0.6611 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002773/0.8111, allocations: 1.546 MB / 0.6626 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of SimCode: time 3.958e-06/0.8111, allocations: 0 / 0.6626 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3727/1.184, allocations: 55.97 MB / 0.7173 GB, free: 181.6 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000148/1.184, allocations: 195.2 kB / 0.7175 GB, free: 181.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.433/4.617, allocations: 0 / 0.7175 GB, free: 181.3 MB / 0.545 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