Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001878/0.001879, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 221.3 MB / 236 MB, free: 2.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009587/0.0009587, allocations: 89.86 kB / 287 MB, free: 176 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2438/0.2438, allocations: 44.16 MB / 382 MB, free: 14.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.425e-05/4.427e-05, allocations: 4 kB / 451.9 MB, free: 9.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1365, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4571/0.5937, allocations: 105.9 MB / 0.6052 GB, free: 15.27 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/0.5941, allocations: 75.97 kB / 0.6053 GB, free: 15.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7294/1.323, allocations: 151.4 MB / 0.7532 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.665e-06/1.324, allocations: 0 / 0.7532 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003856/1.324, allocations: 151.5 kB / 0.7533 GB, free: 110.1 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.02176/1.346, allocations: 7.364 MB / 0.7605 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.29e-05/1.346, allocations: 7.5 kB / 0.7605 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006062/1.352, allocations: 1.3 MB / 0.7618 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01854/1.37, allocations: 3.522 MB / 0.7652 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02417/1.395, allocations: 8.773 MB / 0.7738 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008656/1.396, allocations: 0.558 MB / 0.7744 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004673/1.4, allocations: 0.7441 MB / 0.7751 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04604/1.446, allocations: 17.51 MB / 0.7922 GB, free: 98.32 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004801/1.447, allocations: 82.16 kB / 0.7923 GB, free: 98.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003506/1.45, allocations: 364.5 kB / 0.7926 GB, free: 98.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002809/1.453, allocations: 1.621 MB / 0.7942 GB, free: 97.82 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0311/1.484, allocations: 13.4 MB / 0.8073 GB, free: 91.12 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09441/1.579, allocations: 74.59 MB / 0.8801 GB, free: 18.94 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01458/1.593, allocations: 5.25 MB / 0.8852 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003163/1.597, allocations: 2.069 MB / 0.8873 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01721/1.614, allocations: 9.981 MB / 0.897 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/1.614, allocations: 51.81 kB / 0.8971 GB, free: 1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=182): time 5.62e-06/1.614, allocations: 0 / 0.8971 GB, free: 1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=206): time 0.04107/1.655, allocations: 13.11 MB / 0.9099 GB, free: 3.863 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/1.655, allocations: 153.8 kB / 0.91 GB, free: 3.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3564/2.012, allocations: 5.497 MB / 0.9154 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004992/2.012, allocations: 54.8 kB / 0.9154 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005699/2.018, allocations: 5.301 MB / 0.9206 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001484/2.02, allocations: 0.8208 MB / 0.9214 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009493/2.02, allocations: 161.8 kB / 0.9216 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005294/2.021, allocations: 0.649 MB / 0.9222 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004246/2.025, allocations: 2.086 MB / 0.9242 GB, free: 112 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007106/2.032, allocations: 7.408 MB / 0.9315 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007465/2.04, allocations: 3.877 MB / 0.9353 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003031/2.04, allocations: 56.48 kB / 0.9353 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.02413/2.064, allocations: 9.155 MB / 0.9443 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002967/2.065, allocations: 85.69 kB / 0.9443 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004261/2.065, allocations: 193.4 kB / 0.9445 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003693/2.066, allocations: 275 kB / 0.9448 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007555/2.073, allocations: 1.987 MB / 0.9467 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003698/2.074, allocations: 375.2 kB / 0.9471 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009162/2.083, allocations: 0.5717 MB / 0.9476 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001948/2.085, allocations: 0.5022 MB / 0.9481 GB, free: 103.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * Number of states: 0 () * Number of discrete variables: 68 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1a.torqueArrow.headAtOrigin,cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1031): * Single equations (assignments): 1028 * 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.002837/2.088, allocations: 0.7587 MB / 0.9489 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001465/2.089, allocations: 0.5396 MB / 0.9494 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00222/2.091, allocations: 0.6508 MB / 0.95 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-05/2.091, allocations: 26.38 kB / 0.9501 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.875e-05/2.091, allocations: 0 / 0.9501 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.761e-05/2.091, allocations: 11.02 kB / 0.9501 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02824/2.12, allocations: 15.1 MB / 0.9648 GB, free: 98.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001482/2.12, allocations: 44.59 kB / 0.9649 GB, free: 98.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001496/2.121, allocations: 429.4 kB / 0.9653 GB, free: 98.94 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.467e-05/2.121, allocations: 64.47 kB / 0.9653 GB, free: 98.94 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002728/2.122, allocations: 100.3 kB / 0.9654 GB, free: 98.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.325e-05/2.122, allocations: 83.91 kB / 0.9655 GB, free: 98.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.322e-05/2.122, allocations: 71.28 kB / 0.9656 GB, free: 98.87 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006784/2.129, allocations: 11.89 MB / 0.9772 GB, free: 86.61 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002255/2.131, allocations: 0.6337 MB / 0.9778 GB, free: 86.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001566/2.132, allocations: 110.7 kB / 0.9779 GB, free: 86.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003214/2.136, allocations: 166.6 kB / 0.9781 GB, free: 86.11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002853/2.136, allocations: 297.5 kB / 0.9783 GB, free: 85.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001879/2.136, allocations: 120.5 kB / 0.9785 GB, free: 85.97 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00665/2.143, allocations: 3.854 MB / 0.9822 GB, free: 84.67 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/2.143, allocations: 2.078 kB / 0.9822 GB, free: 84.67 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008558/2.151, allocations: 1.36 MB / 0.9836 GB, free: 84.51 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 203 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 227 * 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.007358/2.159, allocations: 21.14 MB / 1.004 GB, free: 63.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008428/2.167, allocations: 5.028 MB / 1.009 GB, free: 62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.532e-05/2.167, allocations: 5.656 kB / 1.009 GB, free: 62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0017/2.169, allocations: 1.156 MB / 1.01 GB, free: 61.59 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006419/2.175, allocations: 0.8534 MB / 1.011 GB, free: 61.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04331/2.219, allocations: 15.04 MB / 1.026 GB, free: 54.73 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01118/2.23, allocations: 5.402 MB / 1.031 GB, free: 53.01 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007797/2.238, allocations: 2.58 MB / 1.034 GB, free: 52.77 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005307/2.243, allocations: 3.432 MB / 1.037 GB, free: 49.91 MB / 0.5261 GB Notification: Performance of SimCode: time 1.573e-06/2.243, allocations: 4 kB / 1.037 GB, free: 49.91 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5402/2.783, allocations: 109.6 MB / 1.144 GB, free: 109.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/2.784, allocations: 153.8 kB / 1.144 GB, free: 109.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.59/9.373, allocations: 0 / 1.144 GB, free: 109.5 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat does not exist to compare? outputFormat=mat