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.0009176/0.0009177, allocations: 93.91 kB / 17 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001399/0.001399, allocations: 193.3 kB / 17.9 MB, free: 5.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 246 MB, free: 10.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2194/0.2194, allocations: 45.91 MB / 344.1 MB, free: 12.01 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002938/0.0002939, allocations: 4 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1391, allocations: 63.49 MB / 481.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.03476/0.1739, allocations: 34.12 MB / 0.5037 GB, free: 3.027 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2944/0.4684, allocations: 7.25 MB / 0.5108 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008417/0.4768, allocations: 155.9 kB / 0.5109 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00757/0.4844, allocations: 1.509 MB / 0.5124 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0192/0.5037, allocations: 4.395 MB / 0.5167 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002333/0.506, allocations: 254.3 kB / 0.5169 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006099/0.5122, allocations: 2.68 MB / 0.5195 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006927/0.5191, allocations: 2.985 MB / 0.5224 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002404/0.5216, allocations: 0.6908 MB / 0.5231 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002992/0.5246, allocations: 1.028 MB / 0.5241 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000816/0.5254, allocations: 86.53 kB / 0.5242 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001977/0.5274, allocations: 0.5254 MB / 0.5247 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001768/0.5292, allocations: 0.9906 MB / 0.5257 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001352/0.5306, allocations: 0.5264 MB / 0.5262 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004584/0.5352, allocations: 3.423 MB / 0.5295 GB, free: 5.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.5352, allocations: 1.031 kB / 0.5295 GB, free: 5.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.5352, allocations: 0 / 0.5295 GB, free: 5.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002127/0.5354, allocations: 0 / 0.5295 GB, free: 5.77 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.007456/0.5429, allocations: 2.45 MB / 0.5319 GB, free: 4.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.543, allocations: 9.688 kB / 0.5319 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002037/0.545, allocations: 495.3 kB / 0.5324 GB, free: 4.027 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005568/0.5506, allocations: 1.634 MB / 0.534 GB, free: 3.238 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003132/0.5538, allocations: 1.321 MB / 0.5353 GB, free: 2.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.5539, allocations: 154.1 kB / 0.5354 GB, free: 2.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004318/0.5543, allocations: 189.9 kB / 0.5356 GB, free: 2.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01119/0.5655, allocations: 6.417 MB / 0.5419 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.18e-05/0.5657, allocations: 12.72 kB / 0.5419 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002627/0.5659, allocations: 95.03 kB / 0.542 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002016/0.568, allocations: 1.404 MB / 0.5434 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01202/0.58, allocations: 5.457 MB / 0.5487 GB, free: 12.67 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03183/0.6119, allocations: 20.6 MB / 0.5688 GB, free: 9.344 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004317/0.6162, allocations: 1.997 MB / 0.5708 GB, free: 7.215 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.6173, allocations: 0.6875 MB / 0.5714 GB, free: 6.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006154/0.6235, allocations: 3.634 MB / 0.575 GB, free: 2.773 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.6235, allocations: 39 kB / 0.575 GB, free: 2.727 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.627e-06/0.6235, allocations: 0 / 0.575 GB, free: 2.727 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005102/0.6286, allocations: 1.984 MB / 0.577 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.6287, allocations: 59.78 kB / 0.577 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002852/0.6316, allocations: 1.958 MB / 0.5789 GB, free: 14.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.949e-05/0.6317, allocations: 33.64 kB / 0.579 GB, free: 14.67 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001272/0.6329, allocations: 1.885 MB / 0.5808 GB, free: 12.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000267/0.6332, allocations: 309.3 kB / 0.5811 GB, free: 12.49 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.6333, allocations: 56 kB / 0.5811 GB, free: 12.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002971/0.6336, allocations: 0.4895 MB / 0.5816 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.6349, allocations: 0.8764 MB / 0.5825 GB, free: 11.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002389/0.6373, allocations: 2.77 MB / 0.5852 GB, free: 7.344 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001964/0.6393, allocations: 1.553 MB / 0.5867 GB, free: 5.789 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.882e-05/0.6393, allocations: 20 kB / 0.5867 GB, free: 5.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005098/0.6444, allocations: 3.528 MB / 0.5902 GB, free: 2.238 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.85e-05/0.6445, allocations: 34.19 kB / 0.5902 GB, free: 2.207 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.159e-05/0.6446, allocations: 70.08 kB / 0.5903 GB, free: 2.141 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.024e-05/0.6447, allocations: 104 kB / 0.5904 GB, free: 2.039 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/0.6464, allocations: 0.655 MB / 0.591 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001006/0.6466, allocations: 131.5 kB / 0.5911 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/0.6484, allocations: 423.3 kB / 0.5915 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002293/0.6486, allocations: 192.2 kB / 0.5917 GB, free: 0.6562 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.002189/0.6508, allocations: 1.362 MB / 0.593 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002332/0.6511, allocations: 161.8 kB / 0.5932 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003716/0.6514, allocations: 201.2 kB / 0.5934 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/0.6515, allocations: 12 kB / 0.5934 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.6515, allocations: 3.953 kB / 0.5934 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.6515, allocations: 3.984 kB / 0.5934 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006269/0.6578, allocations: 4.089 MB / 0.5974 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.6578, allocations: 8 kB / 0.5974 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003947/0.6582, allocations: 99.83 kB / 0.5975 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.429e-05/0.6582, allocations: 8 kB / 0.5975 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.038e-05/0.6583, allocations: 27.92 kB / 0.5975 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.36e-05/0.6583, allocations: 15.94 kB / 0.5976 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.327e-06/0.6583, allocations: 12.34 kB / 0.5976 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/0.6598, allocations: 1.264 MB / 0.5988 GB, free: 9.148 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004266/0.6603, allocations: 262.6 kB / 0.5991 GB, free: 8.871 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.6604, allocations: 18.89 kB / 0.5991 GB, free: 8.855 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004393/0.6609, allocations: 31.92 kB / 0.5991 GB, free: 8.824 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.643e-05/0.661, allocations: 59.78 kB / 0.5992 GB, free: 8.766 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.954e-05/0.661, allocations: 32 kB / 0.5992 GB, free: 8.734 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001803/0.6629, allocations: 1.268 MB / 0.6004 GB, free: 7.477 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6629, allocations: 0 / 0.6004 GB, free: 7.477 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002924/0.6658, allocations: 0.7069 MB / 0.6011 GB, free: 6.77 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.002028/0.6678, allocations: 1.87 MB / 0.6029 GB, free: 4.797 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003094/0.6709, allocations: 2.019 MB / 0.6049 GB, free: 2.789 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.671, allocations: 0 / 0.6049 GB, free: 2.789 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005898/0.6716, allocations: 469 kB / 0.6054 GB, free: 2.332 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.6729, allocations: 223 kB / 0.6056 GB, free: 2.113 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02676/0.6997, allocations: 15.47 MB / 0.6207 GB, free: 1.098 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002554/0.7023, allocations: 2.319 MB / 0.6229 GB, free: 14.75 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002386/0.7047, allocations: 0.9717 MB / 0.6239 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001357/0.7061, allocations: 1.062 MB / 0.6249 GB, free: 12.71 MB / 478.1 MB Notification: Performance of SimCode: time 7.51e-07/0.7061, allocations: 4 kB / 0.6249 GB, free: 12.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06459/0.7707, allocations: 36.66 MB / 0.6607 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/0.7709, allocations: 185.7 kB / 0.6609 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.847/3.617, allocations: 0 / 0.6609 GB, free: 8.02 MB / 0.4981 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