Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007774/0.0007773, allocations: 97.11 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007942/0.0007943, allocations: 188.6 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.2 MB / 241.9 MB, free: 232 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2144/0.2144, allocations: 44.24 MB / 337.2 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003717, allocations: 8.875 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1381, allocations: 61.92 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.02355/0.1617, allocations: 26.01 MB / 497.7 MB, free: 3.543 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01512/0.1768, allocations: 5.353 MB / 0.4912 GB, free: 14.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006475/0.1833, allocations: 115.8 kB / 0.4913 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004436/0.1878, allocations: 1.264 MB / 0.4926 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01084/0.1987, allocations: 3.557 MB / 0.496 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.1999, allocations: 75.92 kB / 0.4961 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004549/0.2044, allocations: 3.126 MB / 0.4992 GB, free: 6.008 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00314/0.2076, allocations: 1.965 MB / 0.5011 GB, free: 3.996 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001814/0.2094, allocations: 0.9222 MB / 0.502 GB, free: 3.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00215/0.2116, allocations: 1.452 MB / 0.5034 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004408/0.212, allocations: 120 kB / 0.5035 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009622/0.213, allocations: 387.4 kB / 0.5039 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2905/0.5036, allocations: 1.325 MB / 0.5052 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001484/0.5051, allocations: 0.7004 MB / 0.5059 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007281/0.5124, allocations: 4.203 MB / 0.51 GB, free: 13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.5124, allocations: 0 / 0.51 GB, free: 13 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5124, allocations: 3.781 kB / 0.51 GB, free: 13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002212/0.5126, allocations: 2.031 kB / 0.51 GB, free: 13 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.00734/0.52, allocations: 3.034 MB / 0.5129 GB, free: 11.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.5201, allocations: 12.5 kB / 0.5129 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001606/0.5217, allocations: 0.6801 MB / 0.5136 GB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/0.5317, allocations: 3.064 MB / 0.5166 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004682/0.5364, allocations: 1.532 MB / 0.5181 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002173/0.5367, allocations: 178.4 kB / 0.5183 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009278/0.5376, allocations: 222.8 kB / 0.5185 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01851/0.5561, allocations: 9.687 MB / 0.5279 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.978e-05/0.5562, allocations: 19.47 kB / 0.528 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003646/0.5566, allocations: 110.1 kB / 0.5281 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003544/0.5601, allocations: 2.433 MB / 0.5304 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01512/0.5753, allocations: 8.777 MB / 0.539 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04523/0.6205, allocations: 30.68 MB / 0.569 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0051/0.6257, allocations: 3.276 MB / 0.5722 GB, free: 8.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001215/0.6269, allocations: 0.9141 MB / 0.5731 GB, free: 7.742 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.051e-05/0.627, allocations: 14.64 kB / 0.5731 GB, free: 7.734 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.627, allocations: 43.56 kB / 0.5731 GB, free: 7.684 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 3.596e-06/0.6271, allocations: 0 / 0.5731 GB, free: 7.684 MB / 414.1 MB Notification: Performance of matching and sorting (n=148): time 0.007074/0.6341, allocations: 3.368 MB / 0.5764 GB, free: 4.309 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.6342, allocations: 66.75 kB / 0.5765 GB, free: 4.234 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005196/0.6394, allocations: 3.103 MB / 0.5795 GB, free: 1.117 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001981/0.6397, allocations: 41.7 kB / 0.5795 GB, free: 1.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002167/0.6418, allocations: 2.674 MB / 0.5822 GB, free: 14.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007516/0.6426, allocations: 0.5632 MB / 0.5827 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/0.6428, allocations: 99.67 kB / 0.5828 GB, free: 13.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003227/0.6431, allocations: 0.5086 MB / 0.5833 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002353/0.6455, allocations: 1.516 MB / 0.5848 GB, free: 11.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004242/0.6497, allocations: 4.432 MB / 0.5891 GB, free: 5.875 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003769/0.6535, allocations: 2.602 MB / 0.5916 GB, free: 3.367 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.181e-05/0.6536, allocations: 32 kB / 0.5917 GB, free: 3.336 MB / 430.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01026/0.6639, allocations: 5.79 MB / 0.5973 GB, free: 14.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.295e-05/0.664, allocations: 48 kB / 0.5974 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001451/0.6641, allocations: 104.8 kB / 0.5975 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001515/0.6643, allocations: 154.2 kB / 0.5976 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003042/0.6674, allocations: 1.06 MB / 0.5987 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001432/0.6675, allocations: 205.4 kB / 0.5989 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003417/0.6709, allocations: 0.6694 MB / 0.5995 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004489/0.6714, allocations: 295.9 kB / 0.5998 GB, free: 11.77 MB / 446.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.003725/0.6751, allocations: 1.943 MB / 0.6017 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004523/0.6756, allocations: 268.5 kB / 0.6019 GB, free: 9.652 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007601/0.6764, allocations: 331.8 kB / 0.6023 GB, free: 9.324 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.19e-05/0.6764, allocations: 16 kB / 0.6023 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.772e-05/0.6764, allocations: 0 / 0.6023 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.6764, allocations: 3.984 kB / 0.6023 GB, free: 9.305 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01161/0.6881, allocations: 6.879 MB / 0.609 GB, free: 2.352 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/0.6881, allocations: 7.984 kB / 0.609 GB, free: 2.344 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006717/0.6888, allocations: 180.8 kB / 0.6092 GB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.051e-05/0.6888, allocations: 15.95 kB / 0.6092 GB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.247e-05/0.6889, allocations: 24 kB / 0.6092 GB, free: 2.141 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.529e-05/0.6889, allocations: 19.67 kB / 0.6092 GB, free: 2.125 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.787e-06/0.6889, allocations: 11.19 kB / 0.6092 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002714/0.6917, allocations: 2.243 MB / 0.6114 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007668/0.6925, allocations: 357.4 kB / 0.6118 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002676/0.6927, allocations: 35.94 kB / 0.6118 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006951/0.6934, allocations: 43.95 kB / 0.6119 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.6936, allocations: 78.53 kB / 0.6119 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.6937, allocations: 55.66 kB / 0.612 GB, free: 15.21 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003288/0.697, allocations: 1.96 MB / 0.6139 GB, free: 13.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.697, allocations: 0 / 0.6139 GB, free: 13.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004693/0.7017, allocations: 1.017 MB / 0.6149 GB, free: 12.23 MB / 462.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.003265/0.705, allocations: 2.896 MB / 0.6177 GB, free: 9.246 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006/0.711, allocations: 3.526 MB / 0.6212 GB, free: 5.953 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/0.7111, allocations: 5.938 kB / 0.6212 GB, free: 5.949 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.7123, allocations: 0.9146 MB / 0.6221 GB, free: 5.035 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/0.7149, allocations: 314 kB / 0.6224 GB, free: 4.734 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05255/0.7674, allocations: 24.9 MB / 0.6467 GB, free: 9.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005047/0.7725, allocations: 3.018 MB / 0.6496 GB, free: 6.027 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0042/0.7767, allocations: 1.715 MB / 0.6513 GB, free: 4.305 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002977/0.7797, allocations: 1.542 MB / 0.6528 GB, free: 2.762 MB / 494.1 MB Notification: Performance of SimCode: time 2.545e-06/0.7798, allocations: 0 / 0.6528 GB, free: 2.762 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4204/1.2, allocations: 55.98 MB / 0.7075 GB, free: 177.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/1.2, allocations: 192.4 kB / 0.7077 GB, free: 177.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.632/4.833, allocations: 3.062 kB / 0.7077 GB, free: 177.5 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat does not exist to compare? outputFormat=mat