Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00106/0.00106, allocations: 94.34 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001282, allocations: 205.5 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2027/0.2027, allocations: 45.92 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000286/0.0002865, allocations: 8 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1221, allocations: 63.47 MB / 481.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.02958/0.1518, allocations: 32.32 MB / 0.5018 GB, free: 4.855 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2276/0.3794, allocations: 7.561 MB / 0.5092 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006122/0.3855, allocations: 152 kB / 0.5093 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0075/0.3931, allocations: 1.658 MB / 0.5109 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01733/0.4105, allocations: 4.713 MB / 0.5155 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002079/0.4126, allocations: 216.7 kB / 0.5158 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003351/0.4159, allocations: 1.322 MB / 0.517 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004995/0.4209, allocations: 2.962 MB / 0.5199 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009474/0.4219, allocations: 0.5542 MB / 0.5205 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000947/0.4229, allocations: 0.6938 MB / 0.5212 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002162/0.4231, allocations: 87.28 kB / 0.5212 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.4243, allocations: 0.5219 MB / 0.5218 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001021/0.4253, allocations: 0.922 MB / 0.5227 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004948/0.4258, allocations: 0.521 MB / 0.5232 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003088/0.4289, allocations: 3.417 MB / 0.5265 GB, free: 7.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.4289, allocations: 0 / 0.5265 GB, free: 7.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4289, allocations: 0 / 0.5265 GB, free: 7.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.126e-05/0.429, allocations: 1.375 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.00457/0.4336, allocations: 2.5 MB / 0.5289 GB, free: 5.906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.4337, allocations: 10.09 kB / 0.5289 GB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006797/0.4343, allocations: 497.4 kB / 0.5294 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007799/0.4422, allocations: 1.915 MB / 0.5313 GB, free: 4.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005146/0.4473, allocations: 1.323 MB / 0.5326 GB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002381/0.4476, allocations: 151 kB / 0.5327 GB, free: 4.355 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001366/0.449, allocations: 193.5 kB / 0.5329 GB, free: 4.352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01693/0.466, allocations: 6.453 MB / 0.5392 GB, free: 2.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-05/0.4661, allocations: 18.06 kB / 0.5392 GB, free: 2.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004086/0.4665, allocations: 88.72 kB / 0.5393 GB, free: 2.656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003187/0.4697, allocations: 1.41 MB / 0.5407 GB, free: 2.348 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0162/0.4859, allocations: 5.512 MB / 0.5461 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04138/0.5274, allocations: 20.64 MB / 0.5662 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006471/0.5339, allocations: 1.997 MB / 0.5682 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01003/0.5439, allocations: 3.662 MB / 0.5718 GB, free: 7.125 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.937e-05/0.5441, allocations: 39 kB / 0.5718 GB, free: 7.078 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 5.37e-06/0.5441, allocations: 0 / 0.5718 GB, free: 7.078 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.008954/0.5531, allocations: 2.24 MB / 0.574 GB, free: 4.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.5532, allocations: 55.84 kB / 0.574 GB, free: 4.703 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003945/0.5571, allocations: 1.958 MB / 0.5759 GB, free: 2.746 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.103e-05/0.5572, allocations: 36.75 kB / 0.576 GB, free: 2.707 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001786/0.559, allocations: 1.88 MB / 0.5778 GB, free: 0.832 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003807/0.5594, allocations: 310 kB / 0.5781 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.5596, allocations: 60 kB / 0.5782 GB, free: 484 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0004263/0.56, allocations: 497.3 kB / 0.5786 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00199/0.562, allocations: 0.8825 MB / 0.5795 GB, free: 15.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003767/0.5658, allocations: 2.755 MB / 0.5822 GB, free: 11.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003221/0.5691, allocations: 1.556 MB / 0.5837 GB, free: 9.852 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.677e-05/0.5691, allocations: 20 kB / 0.5837 GB, free: 9.832 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.008757/0.5779, allocations: 3.532 MB / 0.5872 GB, free: 6.289 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.814e-05/0.578, allocations: 32.97 kB / 0.5872 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001241/0.5782, allocations: 68 kB / 0.5873 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/0.5783, allocations: 100 kB / 0.5874 GB, free: 6.094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003126/0.5815, allocations: 0.6589 MB / 0.588 GB, free: 5.434 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001646/0.5817, allocations: 139.4 kB / 0.5882 GB, free: 5.297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003464/0.5851, allocations: 420.8 kB / 0.5886 GB, free: 4.887 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005276/0.5857, allocations: 184 kB / 0.5887 GB, free: 4.707 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.003702/0.5894, allocations: 1.372 MB / 0.5901 GB, free: 3.328 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004371/0.5898, allocations: 161.8 kB / 0.5902 GB, free: 3.168 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004937/0.5903, allocations: 201.2 kB / 0.5904 GB, free: 2.969 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-05/0.5904, allocations: 8 kB / 0.5904 GB, free: 2.961 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/0.5904, allocations: 3.953 kB / 0.5904 GB, free: 2.957 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.5904, allocations: 3.984 kB / 0.5904 GB, free: 2.953 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009863/0.6003, allocations: 4.089 MB / 0.5944 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/0.6004, allocations: 8 kB / 0.5944 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004073/0.6008, allocations: 97.58 kB / 0.5945 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.606e-05/0.6008, allocations: 12 kB / 0.5945 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.855e-05/0.6009, allocations: 23.94 kB / 0.5946 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.281e-05/0.6009, allocations: 15.94 kB / 0.5946 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.287e-06/0.6009, allocations: 11.94 kB / 0.5946 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/0.6028, allocations: 1.727 MB / 0.5963 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005604/0.6033, allocations: 258.6 kB / 0.5965 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.6035, allocations: 20 kB / 0.5965 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004678/0.604, allocations: 23.98 kB / 0.5966 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.6041, allocations: 62.44 kB / 0.5966 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.039e-05/0.6042, allocations: 28 kB / 0.5967 GB, free: 12.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001803/0.606, allocations: 1.275 MB / 0.5979 GB, free: 10.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.606, allocations: 4 kB / 0.5979 GB, free: 10.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002809/0.6088, allocations: 0.6995 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.002812/0.6116, allocations: 4.041 MB / 0.6025 GB, free: 5.898 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003053/0.6147, 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.047e-06/0.6147, allocations: 0 / 0.6045 GB, free: 3.887 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005389/0.6153, 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.0009974/0.6163, allocations: 228.5 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.0301/0.6464, allocations: 55.39 MB / 0.6593 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002561/0.649, allocations: 2.379 MB / 0.6616 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00232/0.6513, allocations: 0.9601 MB / 0.6625 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001438/0.6528, allocations: 1.071 MB / 0.6636 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.6528, allocations: 0 / 0.6636 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06268/0.7155, allocations: 36.21 MB / 0.6989 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/0.7157, allocations: 173.1 kB / 0.6991 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.796/3.512, allocations: 0 / 0.6991 GB, free: 1.438 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat does not exist to compare? outputFormat=mat