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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001604/0.001604, allocations: 202.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.2 MB / 245 MB, free: 5.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001088/0.001088, allocations: 94.58 kB / 297.2 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3906/0.3906, allocations: 45.22 MB / 394.6 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003144/0.0003145, allocations: 12 kB / 468.5 MB, free: 7.594 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.411, allocations: 63.24 MB / 0.5193 GB, free: 37.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1503/0.5613, allocations: 104 MB / 0.6208 GB, free: 15.41 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/0.5617, allocations: 83.94 kB / 0.6209 GB, free: 15.34 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1321/0.6938, allocations: 55.12 MB / 0.6747 GB, free: 7.844 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.6939, allocations: 0 / 0.6747 GB, free: 7.844 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.138e-05/0.694, allocations: 55.94 kB / 0.6748 GB, free: 7.789 MB / 490.7 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.005766/0.6998, allocations: 2.624 MB / 0.6773 GB, free: 5.105 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.6998, allocations: 8.031 kB / 0.6773 GB, free: 5.098 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00102/0.7008, allocations: 0.5231 MB / 0.6778 GB, free: 4.566 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006638/0.7075, allocations: 1.802 MB / 0.6796 GB, free: 2.758 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004971/0.7125, allocations: 1.664 MB / 0.6812 GB, free: 1.047 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/0.7127, allocations: 213.5 kB / 0.6814 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000925/0.7136, allocations: 271.9 kB / 0.6817 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.312/1.026, allocations: 6.312 MB / 0.6878 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.216e-05/1.026, allocations: 12.78 kB / 0.6879 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003945/1.026, allocations: 127.9 kB / 0.688 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008196/1.027, allocations: 0.6352 MB / 0.6886 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009389/1.036, allocations: 5.512 MB / 0.694 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03447/1.071, allocations: 22.32 MB / 0.7158 GB, free: 92.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004609/1.076, allocations: 2.007 MB / 0.7177 GB, free: 91.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006937/1.083, allocations: 3.69 MB / 0.7213 GB, free: 90.14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/1.083, allocations: 43.86 kB / 0.7214 GB, free: 90.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 5.039e-06/1.083, allocations: 0 / 0.7214 GB, free: 90.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=78): time 0.005677/1.088, allocations: 2.233 MB / 0.7236 GB, free: 89.31 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/1.088, allocations: 57.66 kB / 0.7236 GB, free: 89.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003399/1.092, allocations: 1.744 MB / 0.7253 GB, free: 88.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.307e-05/1.092, allocations: 34.81 kB / 0.7254 GB, free: 88.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001078/1.093, allocations: 1.886 MB / 0.7272 GB, free: 87.31 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002874/1.093, allocations: 318.4 kB / 0.7275 GB, free: 87.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/1.093, allocations: 55.62 kB / 0.7276 GB, free: 87.05 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002098/1.094, allocations: 498.9 kB / 0.728 GB, free: 86.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009824/1.095, allocations: 0.8492 MB / 0.7289 GB, free: 86.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/1.096, allocations: 2.709 MB / 0.7315 GB, free: 83.61 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/1.098, allocations: 1.519 MB / 0.733 GB, free: 83.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.502e-05/1.098, allocations: 19.03 kB / 0.733 GB, free: 83.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.004253/1.102, allocations: 3.441 MB / 0.7364 GB, free: 81.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.465e-05/1.102, allocations: 35.75 kB / 0.7364 GB, free: 81.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.528e-05/1.102, allocations: 71.23 kB / 0.7365 GB, free: 81.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.675e-05/1.102, allocations: 95.19 kB / 0.7366 GB, free: 81.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/1.104, allocations: 0.6611 MB / 0.7372 GB, free: 81.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.082e-05/1.104, allocations: 133.6 kB / 0.7373 GB, free: 81.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/1.106, allocations: 409.7 kB / 0.7377 GB, free: 81.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000215/1.107, allocations: 179.6 kB / 0.7379 GB, free: 81.36 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * Number of states: 0 () * Number of discrete variables: 26 (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.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,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 (362): * Single equations (assignments): 359 * 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 prepare postOptimizeDAE: time 0.00214/1.109, allocations: 1.373 MB / 0.7392 GB, free: 80.72 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002418/1.109, allocations: 161 kB / 0.7394 GB, free: 80.63 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003691/1.109, allocations: 202.5 kB / 0.7396 GB, free: 80.53 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.802e-05/1.109, allocations: 15.77 kB / 0.7396 GB, free: 80.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.118e-05/1.109, allocations: 3.703 kB / 0.7396 GB, free: 80.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/1.109, allocations: 3.969 kB / 0.7396 GB, free: 80.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006172/1.116, allocations: 4.097 MB / 0.7436 GB, free: 78.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/1.116, allocations: 7.5 kB / 0.7436 GB, free: 78.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003855/1.116, allocations: 108.3 kB / 0.7437 GB, free: 78.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.426e-05/1.116, allocations: 13.98 kB / 0.7437 GB, free: 78.82 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.294e-05/1.116, allocations: 22.48 kB / 0.7437 GB, free: 78.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.184e-05/1.116, allocations: 18.12 kB / 0.7438 GB, free: 78.81 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/1.116, allocations: 10.09 kB / 0.7438 GB, free: 78.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/1.118, allocations: 1.728 MB / 0.7455 GB, free: 77.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004496/1.118, allocations: 255.1 kB / 0.7457 GB, free: 77.19 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/1.118, allocations: 18.38 kB / 0.7457 GB, free: 77.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000474/1.119, allocations: 32.83 kB / 0.7458 GB, free: 77.17 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.154e-05/1.119, allocations: 63.03 kB / 0.7458 GB, free: 77.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.304e-05/1.119, allocations: 26.97 kB / 0.7458 GB, free: 77.14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001789/1.121, allocations: 1.273 MB / 0.7471 GB, free: 76.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.41e-07/1.121, allocations: 0 / 0.7471 GB, free: 76.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002811/1.124, allocations: 0.7054 MB / 0.7478 GB, free: 76.48 MB / 490.7 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.002014/1.126, allocations: 4.055 MB / 0.7517 GB, free: 72.95 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003164/1.129, allocations: 1.98 MB / 0.7537 GB, free: 72.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/1.129, allocations: 2.875 kB / 0.7537 GB, free: 72.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005587/1.129, allocations: 457.1 kB / 0.7541 GB, free: 72.17 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/1.131, allocations: 232.3 kB / 0.7543 GB, free: 72.08 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03421/1.165, allocations: 60.84 MB / 0.8137 GB, free: 15.08 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002279/1.167, allocations: 2.373 MB / 0.8161 GB, free: 13.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0026/1.17, allocations: 0.9733 MB / 0.817 GB, free: 12.58 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00144/1.171, allocations: 1.069 MB / 0.8181 GB, free: 11.59 MB / 490.7 MB Notification: Performance of SimCode: time 1.824e-06/1.171, allocations: 0 / 0.8181 GB, free: 11.59 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06978/1.241, allocations: 36.79 MB / 0.854 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/1.241, allocations: 177.9 kB / 0.8541 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.22/4.462, allocations: 0 / 0.8541 GB, free: 10.91 MB / 0.5105 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