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.001352/0.001352, allocations: 181.1 kB / 17.06 MB, free: 5.09 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.457/1.457, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 97.36 kB / 292.1 MB, free: 10.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4374/0.4374, allocations: 44.22 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.0003842, allocations: 12 kB / 460 MB, free: 1.426 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3652, allocations: 61.91 MB / 0.5096 GB, free: 38.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1403/0.5056, allocations: 106 MB / 0.6132 GB, free: 5.059 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.5059, allocations: 91.91 kB / 0.6132 GB, free: 4.973 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6159/1.122, allocations: 151.3 MB / 0.761 GB, free: 80.57 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.327e-06/1.122, allocations: 0 / 0.761 GB, free: 80.57 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005182/1.122, allocations: 143.9 kB / 0.7611 GB, free: 80.57 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: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.02264/1.145, allocations: 7.892 MB / 0.7688 GB, free: 75.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/1.145, allocations: 7.031 kB / 0.7688 GB, free: 75.39 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004715/1.15, allocations: 1.301 MB / 0.7701 GB, free: 74.49 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01761/1.167, allocations: 3.52 MB / 0.7735 GB, free: 71.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02548/1.193, allocations: 8.806 MB / 0.7821 GB, free: 62.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000708/1.194, allocations: 0.5616 MB / 0.7827 GB, free: 62.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004618/1.198, allocations: 0.7419 MB / 0.7834 GB, free: 61.31 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03794/1.236, allocations: 17.77 MB / 0.8008 GB, free: 42.08 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000525/1.237, allocations: 99.11 kB / 0.8008 GB, free: 41.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004433/1.241, allocations: 351.8 kB / 0.8012 GB, free: 41.64 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002958/1.244, allocations: 1.625 MB / 0.8028 GB, free: 40.01 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02843/1.273, allocations: 13.85 MB / 0.8163 GB, free: 26.14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4841/1.757, allocations: 74.59 MB / 0.8891 GB, free: 55.24 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01488/1.772, allocations: 5.275 MB / 0.8943 GB, free: 54.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01894/1.791, allocations: 9.969 MB / 0.904 GB, free: 51.55 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.038e-05/1.791, allocations: 56.81 kB / 0.9041 GB, free: 51.51 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=182): time 5.63e-06/1.791, allocations: 0 / 0.9041 GB, free: 51.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=206): time 0.05016/1.841, allocations: 14.31 MB / 0.918 GB, free: 46.93 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/1.841, allocations: 152.4 kB / 0.9182 GB, free: 46.77 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01923/1.861, allocations: 5.692 MB / 0.9237 GB, free: 46.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005278/1.861, allocations: 54.45 kB / 0.9238 GB, free: 46.22 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.006466/1.868, allocations: 5.301 MB / 0.929 GB, free: 43.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001531/1.869, allocations: 0.8209 MB / 0.9298 GB, free: 42.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001526/1.871, allocations: 160.5 kB / 0.9299 GB, free: 42.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001364/1.872, allocations: 0.6503 MB / 0.9306 GB, free: 42.58 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005509/1.878, allocations: 2.265 MB / 0.9328 GB, free: 42.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009942/1.888, allocations: 7.578 MB / 0.9402 GB, free: 35.61 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008524/1.896, allocations: 4.006 MB / 0.9441 GB, free: 35.58 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003892/1.897, allocations: 54.94 kB / 0.9441 GB, free: 35.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.02218/1.919, allocations: 9.504 MB / 0.9534 GB, free: 33.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003627/1.919, allocations: 83.22 kB / 0.9535 GB, free: 33.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004825/1.92, allocations: 191.3 kB / 0.9537 GB, free: 33.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004249/1.92, allocations: 282.7 kB / 0.954 GB, free: 33.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007543/1.928, allocations: 1.991 MB / 0.9559 GB, free: 33.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006233/1.929, allocations: 371.1 kB / 0.9563 GB, free: 33.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009652/1.938, allocations: 0.5701 MB / 0.9568 GB, free: 33.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001983/1.94, allocations: 0.4987 MB / 0.9573 GB, free: 33.09 MB / 0.5105 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 () * Number of clocked 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.009651/1.95, allocations: 3.398 MB / 0.9606 GB, free: 31.58 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001812/1.952, allocations: 0.5406 MB / 0.9611 GB, free: 31.28 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002682/1.954, allocations: 0.6486 MB / 0.9618 GB, free: 30.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.617e-05/1.954, allocations: 22.38 kB / 0.9618 GB, free: 30.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.465e-05/1.955, allocations: 5.828 kB / 0.9618 GB, free: 30.96 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.243e-05/1.955, allocations: 10.78 kB / 0.9618 GB, free: 30.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03366/1.988, allocations: 15.11 MB / 0.9766 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000178/1.988, allocations: 47.53 kB / 0.9766 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/1.99, allocations: 431.5 kB / 0.977 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.218e-05/1.99, allocations: 66.53 kB / 0.9771 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003459/1.99, allocations: 95.7 kB / 0.9772 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.742e-05/1.991, allocations: 89.94 kB / 0.9773 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.857e-05/1.991, allocations: 65.91 kB / 0.9773 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008322/1.999, allocations: 11.92 MB / 0.989 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003311/2.002, allocations: 0.6422 MB / 0.9896 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002363/2.005, allocations: 109.7 kB / 0.9897 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004104/2.009, allocations: 170.3 kB / 0.9899 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004984/2.009, allocations: 292.4 kB / 0.9901 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003241/2.01, allocations: 127.6 kB / 0.9903 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01132/2.021, allocations: 4.036 MB / 0.9942 GB, free: 9.207 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.81e-07/2.021, allocations: 2.406 kB / 0.9942 GB, free: 9.207 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01197/2.033, allocations: 1.356 MB / 0.9955 GB, free: 7.855 MB / 0.5105 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 () * Number of clocked 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.01456/2.048, allocations: 21.17 MB / 1.016 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01202/2.06, allocations: 5.24 MB / 1.021 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.423e-05/2.06, allocations: 12 kB / 1.021 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002326/2.062, allocations: 1.162 MB / 1.022 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007503/2.07, allocations: 0.842 MB / 1.023 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4812/2.551, allocations: 187.9 MB / 1.207 GB, free: 91.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01113/2.562, allocations: 5.4 MB / 1.212 GB, free: 90.69 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.01159/2.574, allocations: 2.578 MB / 1.215 GB, free: 90.63 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007021/2.581, allocations: 3.437 MB / 1.218 GB, free: 90.62 MB / 0.6042 GB Notification: Performance of SimCode: time 1.112e-06/2.581, allocations: 0 / 1.218 GB, free: 90.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4481/3.029, allocations: 109.2 MB / 1.325 GB, free: 152.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001668/3.029, allocations: 174.9 kB / 1.325 GB, free: 152.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.291/9.32, allocations: 0 / 1.325 GB, free: 152.1 MB / 0.6042 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