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.001035/0.001035, allocations: 94.5 kB / 16.98 MB, free: 5.938 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.001118/0.001118, allocations: 186 kB / 17.88 MB, free: 5.594 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.436/1.436, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2368/0.2368, allocations: 44.23 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003988/0.0003988, allocations: 10.03 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.143, allocations: 61.92 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.02331/0.1663, allocations: 24.64 MB / 496.2 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0155/0.1819, allocations: 5.6 MB / 0.49 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00489/0.1869, allocations: 115.8 kB / 0.4901 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004302/0.1912, allocations: 1.268 MB / 0.4914 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01417/0.2054, allocations: 3.639 MB / 0.4949 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.2067, allocations: 83.86 kB / 0.495 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003367/0.2101, allocations: 1.534 MB / 0.4965 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003072/0.2132, allocations: 1.962 MB / 0.4984 GB, free: 6.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/0.2144, allocations: 0.7629 MB / 0.4992 GB, free: 5.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001258/0.2156, allocations: 1.032 MB / 0.5002 GB, free: 4.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002883/0.2159, allocations: 120 kB / 0.5003 GB, free: 4.738 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008314/0.2168, allocations: 383.5 kB / 0.5006 GB, free: 4.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009758/0.2178, allocations: 1.239 MB / 0.5019 GB, free: 3.121 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006411/0.2184, allocations: 0.6947 MB / 0.5025 GB, free: 2.418 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3111/0.5295, allocations: 4.192 MB / 0.5066 GB, free: 14.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.5296, allocations: 0 / 0.5066 GB, free: 14.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.5296, allocations: 1.312 kB / 0.5066 GB, free: 14.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002437/0.5299, allocations: 0 / 0.5066 GB, free: 14.34 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.007322/0.5372, allocations: 3.039 MB / 0.5096 GB, free: 12.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.5373, allocations: 8.344 kB / 0.5096 GB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00186/0.5391, allocations: 0.682 MB / 0.5103 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01297/0.5521, allocations: 3.629 MB / 0.5138 GB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005731/0.5579, allocations: 1.531 MB / 0.5153 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000269/0.5582, allocations: 177.6 kB / 0.5155 GB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001879/0.5601, allocations: 222.1 kB / 0.5157 GB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02045/0.5805, allocations: 9.728 MB / 0.5252 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.41e-05/0.5807, allocations: 21.84 kB / 0.5252 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005667/0.5813, allocations: 112.2 kB / 0.5253 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004149/0.5854, allocations: 2.434 MB / 0.5277 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01893/0.6044, allocations: 8.834 MB / 0.5363 GB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0516/0.656, allocations: 30.72 MB / 0.5663 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005719/0.6618, allocations: 3.286 MB / 0.5695 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-05/0.6619, allocations: 20.52 kB / 0.5695 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.6619, allocations: 43.55 kB / 0.5696 GB, free: 10.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 4.93e-06/0.6619, allocations: 0 / 0.5696 GB, free: 10.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=148): time 0.008504/0.6704, allocations: 3.879 MB / 0.5734 GB, free: 6.977 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.6705, allocations: 64.41 kB / 0.5734 GB, free: 6.902 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005038/0.6756, allocations: 3.103 MB / 0.5765 GB, free: 3.785 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002063/0.6758, allocations: 44.44 kB / 0.5765 GB, free: 3.738 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001983/0.6778, allocations: 2.683 MB / 0.5791 GB, free: 1.074 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006593/0.6785, allocations: 0.566 MB / 0.5797 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.6787, allocations: 92 kB / 0.5798 GB, free: 432 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003261/0.679, allocations: 0.5125 MB / 0.5803 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00227/0.6813, allocations: 1.508 MB / 0.5817 GB, free: 14.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004185/0.6855, allocations: 4.411 MB / 0.586 GB, free: 8.566 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003539/0.689, allocations: 2.607 MB / 0.5886 GB, free: 6.055 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.792e-05/0.6891, allocations: 28 kB / 0.5886 GB, free: 6.027 MB / 430.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.009824/0.6989, allocations: 5.797 MB / 0.5943 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.228e-05/0.699, allocations: 52 kB / 0.5943 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001417/0.6992, allocations: 100 kB / 0.5944 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001415/0.6993, allocations: 152 kB / 0.5946 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003204/0.7026, allocations: 1.057 MB / 0.5956 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001485/0.7027, allocations: 205.9 kB / 0.5958 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003675/0.7064, allocations: 0.6701 MB / 0.5965 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005623/0.707, allocations: 296.2 kB / 0.5967 GB, free: 14.45 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.003552/0.7105, allocations: 1.952 MB / 0.5986 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004536/0.711, allocations: 260.5 kB / 0.5989 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005928/0.7116, allocations: 331.8 kB / 0.5992 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.704e-05/0.7116, allocations: 16.75 kB / 0.5992 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/0.7117, allocations: 3.984 kB / 0.5992 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.7117, allocations: 7.984 kB / 0.5992 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01378/0.7255, allocations: 6.875 MB / 0.606 GB, free: 4.887 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/0.7255, allocations: 12.03 kB / 0.606 GB, free: 4.875 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006993/0.7262, allocations: 177.5 kB / 0.6061 GB, free: 4.703 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.81e-05/0.7263, allocations: 14 kB / 0.6061 GB, free: 4.691 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.971e-05/0.7263, allocations: 31.95 kB / 0.6062 GB, free: 4.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-05/0.7264, allocations: 19.92 kB / 0.6062 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/0.7264, allocations: 7.938 kB / 0.6062 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003024/0.7294, allocations: 2.894 MB / 0.609 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008028/0.7302, allocations: 361.3 kB / 0.6094 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002706/0.7305, allocations: 24 kB / 0.6094 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007096/0.7312, allocations: 43.95 kB / 0.6094 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.7314, allocations: 87.77 kB / 0.6095 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/0.7315, allocations: 48 kB / 0.6096 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003734/0.7352, allocations: 1.962 MB / 0.6115 GB, free: 14.82 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7352, allocations: 0 / 0.6115 GB, free: 14.82 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004878/0.7401, allocations: 1.017 MB / 0.6125 GB, free: 13.8 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.003987/0.7441, allocations: 5.14 MB / 0.6175 GB, free: 8.449 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005583/0.7497, allocations: 3.528 MB / 0.6209 GB, free: 4.941 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/0.7498, allocations: 4 kB / 0.6209 GB, free: 4.938 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.7509, allocations: 0.9122 MB / 0.6218 GB, free: 4.023 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.7525, allocations: 310.6 kB / 0.6221 GB, free: 3.723 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.319/1.072, allocations: 95.55 MB / 0.7154 GB, free: 185.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004252/1.076, allocations: 3.088 MB / 0.7185 GB, free: 184.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004361/1.08, allocations: 1.72 MB / 0.7201 GB, free: 184.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001907/1.082, allocations: 1.544 MB / 0.7216 GB, free: 183.4 MB / 0.5294 GB Notification: Performance of SimCode: time 1.082e-06/1.082, allocations: 0 / 0.7216 GB, free: 183.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08219/1.164, allocations: 55.96 MB / 0.7763 GB, free: 133.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/1.165, allocations: 185.9 kB / 0.7765 GB, free: 133.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.398/4.562, allocations: 0 / 0.7765 GB, free: 133.3 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