Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.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.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001129/0.001129, allocations: 98.7 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001401/0.001402, allocations: 205.7 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2121/0.2121, allocations: 45.92 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002877/0.0002877, allocations: 8 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1448, allocations: 63.45 MB / 481.5 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.03212/0.177, allocations: 32.33 MB / 0.5018 GB, free: 4.859 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3131/0.4902, allocations: 7.562 MB / 0.5092 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00768/0.4979, allocations: 155.5 kB / 0.5093 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007429/0.5054, allocations: 1.656 MB / 0.5109 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01762/0.523, allocations: 4.714 MB / 0.5156 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002457/0.5255, allocations: 222.2 kB / 0.5158 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004017/0.5295, allocations: 1.321 MB / 0.5171 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004318/0.5339, allocations: 2.95 MB / 0.5199 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.5349, allocations: 0.5604 MB / 0.5205 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009823/0.5359, allocations: 0.69 MB / 0.5212 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00022/0.5362, allocations: 86.62 kB / 0.5212 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.5373, allocations: 0.5215 MB / 0.5217 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008428/0.5381, allocations: 0.9222 MB / 0.5226 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005115/0.5386, allocations: 0.5238 MB / 0.5232 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003098/0.5417, allocations: 3.421 MB / 0.5265 GB, free: 7.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.5418, allocations: 0 / 0.5265 GB, free: 7.512 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5418, allocations: 3.938 kB / 0.5265 GB, free: 7.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.985e-05/0.5419, allocations: 1.688 kB / 0.5265 GB, free: 7.508 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.004824/0.5467, allocations: 2.502 MB / 0.529 GB, free: 5.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.5468, allocations: 11.53 kB / 0.529 GB, free: 5.902 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006735/0.5474, allocations: 487.8 kB / 0.5294 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005693/0.5531, allocations: 1.918 MB / 0.5313 GB, free: 4.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002997/0.5561, allocations: 1.32 MB / 0.5326 GB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.5563, allocations: 146.6 kB / 0.5327 GB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003914/0.5567, allocations: 198.1 kB / 0.5329 GB, free: 4.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008801/0.5655, allocations: 6.449 MB / 0.5392 GB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.807e-05/0.5655, allocations: 20.12 kB / 0.5392 GB, free: 2.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002438/0.5658, allocations: 89.55 kB / 0.5393 GB, free: 2.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001951/0.5678, allocations: 1.41 MB / 0.5407 GB, free: 2.352 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009196/0.577, allocations: 5.515 MB / 0.5461 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02705/0.604, allocations: 20.64 MB / 0.5662 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004051/0.6081, allocations: 1.997 MB / 0.5682 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006756/0.6149, allocations: 3.663 MB / 0.5718 GB, free: 7.121 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.615, allocations: 43 kB / 0.5718 GB, free: 7.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 4.759e-06/0.615, allocations: 0 / 0.5718 GB, free: 7.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005609/0.6206, allocations: 2.24 MB / 0.574 GB, free: 4.762 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.6207, allocations: 55.84 kB / 0.574 GB, free: 4.695 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003303/0.624, allocations: 1.958 MB / 0.576 GB, free: 2.738 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.956e-05/0.6241, allocations: 29.7 kB / 0.576 GB, free: 2.703 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001521/0.6256, allocations: 1.88 MB / 0.5778 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002966/0.6259, allocations: 317.9 kB / 0.5781 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.6261, allocations: 58.5 kB / 0.5782 GB, free: 476 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003739/0.6264, allocations: 497.3 kB / 0.5787 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.6278, allocations: 0.8864 MB / 0.5795 GB, free: 15.08 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002614/0.6304, allocations: 2.748 MB / 0.5822 GB, free: 11.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002055/0.6325, allocations: 1.56 MB / 0.5837 GB, free: 9.844 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.7e-05/0.6325, allocations: 20 kB / 0.5837 GB, free: 9.824 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005445/0.638, allocations: 3.53 MB / 0.5872 GB, free: 6.281 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.972e-05/0.6381, allocations: 35.31 kB / 0.5872 GB, free: 6.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.658e-05/0.6381, allocations: 68 kB / 0.5873 GB, free: 6.184 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.545e-05/0.6382, allocations: 100 kB / 0.5874 GB, free: 6.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/0.6401, allocations: 0.6628 MB / 0.588 GB, free: 5.422 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001017/0.6402, allocations: 131.4 kB / 0.5882 GB, free: 5.293 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/0.6422, allocations: 424.2 kB / 0.5886 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002313/0.6425, allocations: 188 kB / 0.5887 GB, free: 4.699 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (365): * Single equations (assignments): 360 * Array equations: 5 * 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.002463/0.6449, allocations: 1.365 MB / 0.5901 GB, free: 3.324 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002387/0.6452, allocations: 165.8 kB / 0.5902 GB, free: 3.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003142/0.6455, allocations: 193.2 kB / 0.5904 GB, free: 2.969 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.048e-05/0.6455, allocations: 8 kB / 0.5904 GB, free: 2.961 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.6455, allocations: 7.938 kB / 0.5904 GB, free: 2.953 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.6456, allocations: 0 / 0.5904 GB, free: 2.953 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006575/0.6521, allocations: 4.089 MB / 0.5944 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/0.6522, allocations: 8 kB / 0.5944 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003753/0.6525, allocations: 105.6 kB / 0.5945 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.526e-05/0.6526, allocations: 12 kB / 0.5945 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.326e-05/0.6526, allocations: 15.95 kB / 0.5946 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.249e-05/0.6526, allocations: 15.94 kB / 0.5946 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.6527, allocations: 11.94 kB / 0.5946 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.6544, allocations: 1.725 MB / 0.5963 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004589/0.6549, allocations: 262.6 kB / 0.5965 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/0.655, allocations: 19.94 kB / 0.5965 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004502/0.6555, allocations: 27.97 kB / 0.5966 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.664e-05/0.6556, allocations: 59.8 kB / 0.5966 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-05/0.6556, allocations: 28 kB / 0.5967 GB, free: 12.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001754/0.6574, allocations: 1.271 MB / 0.5979 GB, free: 10.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6574, allocations: 4 kB / 0.5979 GB, free: 10.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00293/0.6603, allocations: 0.702 MB / 0.5986 GB, free: 10.14 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * Array equations: 3 * 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.002763/0.6631, allocations: 4.039 MB / 0.6025 GB, free: 5.898 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003241/0.6664, allocations: 2.02 MB / 0.6045 GB, free: 3.887 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.6664, allocations: 0 / 0.6045 GB, free: 3.887 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000519/0.6669, allocations: 465 kB / 0.6049 GB, free: 3.434 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.668, allocations: 229.3 kB / 0.6052 GB, free: 3.215 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03201/0.7, allocations: 55.39 MB / 0.6593 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002666/0.7028, allocations: 2.375 MB / 0.6616 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002328/0.7051, allocations: 0.9639 MB / 0.6625 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/0.7063, allocations: 1.075 MB / 0.6636 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of SimCode: time 1.102e-06/0.7063, allocations: 0 / 0.6636 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06173/0.7681, allocations: 36.21 MB / 0.6989 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/0.7683, allocations: 173.1 kB / 0.6991 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.759/3.528, allocations: 0 / 0.6991 GB, free: 1.434 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat does not exist to compare? outputFormat=mat