Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009048/0.0009047, allocations: 97.44 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.001004/0.001004, allocations: 207.2 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.366/1.366, allocations: 227.3 MB / 245.9 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2195/0.2195, allocations: 45.91 MB / 344 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003624, allocations: 8 kB / 418.1 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1477, allocations: 63.47 MB / 481.5 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.02972/0.1774, allocations: 32.32 MB / 0.5018 GB, free: 4.879 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2773/0.4547, allocations: 7.56 MB / 0.5092 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006752/0.4615, allocations: 152.3 kB / 0.5093 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00628/0.4678, allocations: 1.659 MB / 0.5109 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01704/0.4849, allocations: 4.714 MB / 0.5155 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002024/0.487, allocations: 216.3 kB / 0.5158 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003581/0.4906, allocations: 1.322 MB / 0.517 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004418/0.495, allocations: 2.97 MB / 0.5199 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.4963, allocations: 0.5525 MB / 0.5205 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001223/0.4975, allocations: 0.6964 MB / 0.5212 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002963/0.4978, allocations: 90.5 kB / 0.5213 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.4989, allocations: 0.5181 MB / 0.5218 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008725/0.4998, allocations: 0.9158 MB / 0.5227 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005475/0.5004, allocations: 0.5208 MB / 0.5232 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003338/0.5037, allocations: 3.421 MB / 0.5265 GB, free: 7.496 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.5037, allocations: 0 / 0.5265 GB, free: 7.496 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5037, allocations: 0 / 0.5265 GB, free: 7.496 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001158/0.5039, allocations: 1.406 kB / 0.5265 GB, free: 7.496 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.004862/0.5087, allocations: 2.503 MB / 0.5289 GB, free: 5.891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.5088, allocations: 9.5 kB / 0.529 GB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007889/0.5096, allocations: 495 kB / 0.5294 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005653/0.5152, allocations: 1.912 MB / 0.5313 GB, free: 4.879 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00328/0.5185, allocations: 1.326 MB / 0.5326 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.5187, allocations: 152.2 kB / 0.5327 GB, free: 4.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004603/0.5191, allocations: 188.3 kB / 0.5329 GB, free: 4.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00944/0.5286, allocations: 6.46 MB / 0.5392 GB, free: 2.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.146e-05/0.5287, allocations: 11.94 kB / 0.5392 GB, free: 2.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002462/0.5289, allocations: 88.72 kB / 0.5393 GB, free: 2.645 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002049/0.531, allocations: 1.405 MB / 0.5407 GB, free: 2.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009647/0.5406, allocations: 5.514 MB / 0.5461 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02833/0.569, allocations: 20.61 MB / 0.5662 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004095/0.5732, allocations: 2.077 MB / 0.5682 GB, free: 10.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006325/0.5795, allocations: 3.529 MB / 0.5717 GB, free: 7.172 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.5796, allocations: 39.84 kB / 0.5717 GB, free: 7.125 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.016e-06/0.5796, allocations: 1.75 kB / 0.5717 GB, free: 7.125 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005213/0.5848, allocations: 2.24 MB / 0.5739 GB, free: 4.816 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.5849, allocations: 55.84 kB / 0.574 GB, free: 4.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002902/0.5878, allocations: 1.956 MB / 0.5759 GB, free: 2.793 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.996e-05/0.5879, allocations: 37.7 kB / 0.5759 GB, free: 2.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001293/0.5892, allocations: 1.878 MB / 0.5777 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003403/0.5895, allocations: 323.6 kB / 0.578 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.5897, allocations: 60 kB / 0.5781 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003138/0.59, allocations: 493.3 kB / 0.5786 GB, free: 16 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001291/0.5913, allocations: 0.8764 MB / 0.5794 GB, free: 15.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002324/0.5936, allocations: 2.748 MB / 0.5821 GB, free: 11.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0019/0.5955, allocations: 1.567 MB / 0.5836 GB, free: 9.895 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.993e-05/0.5956, allocations: 24 kB / 0.5837 GB, free: 9.871 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.004851/0.6004, allocations: 3.514 MB / 0.5871 GB, free: 6.348 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.832e-05/0.6005, allocations: 36.22 kB / 0.5871 GB, free: 6.312 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.23e-05/0.6006, allocations: 68 kB / 0.5872 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.752e-05/0.6006, allocations: 100 kB / 0.5873 GB, free: 6.148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/0.6024, allocations: 0.6682 MB / 0.5879 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.324e-05/0.6025, allocations: 131.5 kB / 0.5881 GB, free: 5.352 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/0.6045, allocations: 419.8 kB / 0.5885 GB, free: 4.941 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002258/0.6048, allocations: 188 kB / 0.5886 GB, free: 4.758 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 (cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[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.002477/0.6072, allocations: 1.373 MB / 0.59 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002649/0.6075, allocations: 159.6 kB / 0.5901 GB, free: 3.219 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003364/0.6079, allocations: 197.2 kB / 0.5903 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.228e-05/0.6079, allocations: 10.89 kB / 0.5903 GB, free: 3.016 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.6079, allocations: 7.953 kB / 0.5903 GB, free: 3.008 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.6079, allocations: 3.984 kB / 0.5904 GB, free: 3.004 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00692/0.6148, allocations: 4.132 MB / 0.5944 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.6149, allocations: 8 kB / 0.5944 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/0.6153, allocations: 99.81 kB / 0.5945 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-05/0.6153, allocations: 8 kB / 0.5945 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.513e-05/0.6153, allocations: 23.95 kB / 0.5945 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.568e-06/0.6154, allocations: 12.53 kB / 0.5945 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.6154, allocations: 12 kB / 0.5945 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.617, allocations: 1.645 MB / 0.5962 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004524/0.6175, allocations: 254.7 kB / 0.5964 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/0.6176, allocations: 31.88 kB / 0.5964 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004667/0.6181, allocations: 23.89 kB / 0.5964 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.854e-05/0.6182, allocations: 57.48 kB / 0.5965 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.326e-05/0.6183, allocations: 30.66 kB / 0.5965 GB, free: 12.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001677/0.6199, allocations: 1.268 MB / 0.5978 GB, free: 10.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.62, allocations: 0 / 0.5978 GB, free: 10.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002744/0.6227, allocations: 0.7075 MB / 0.5985 GB, free: 10.28 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.002377/0.6251, allocations: 3.779 MB / 0.6021 GB, free: 6.316 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003091/0.6282, allocations: 2.013 MB / 0.6041 GB, free: 4.316 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.6282, allocations: 4 kB / 0.6041 GB, free: 4.312 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005259/0.6288, allocations: 454.9 kB / 0.6046 GB, free: 3.871 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.6298, allocations: 214.4 kB / 0.6048 GB, free: 3.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03246/0.6623, allocations: 55.35 MB / 0.6588 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002377/0.6647, allocations: 2.383 MB / 0.6611 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002284/0.667, allocations: 0.9599 MB / 0.6621 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001286/0.6683, allocations: 1.077 MB / 0.6631 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of SimCode: time 9.92e-07/0.6683, allocations: 0 / 0.6631 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06643/0.7347, allocations: 36.19 MB / 0.6985 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/0.735, allocations: 175.3 kB / 0.6986 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.496/3.231, allocations: 0 / 0.6986 GB, free: 1.938 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat does not exist to compare? outputFormat=mat