Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.CutForceAndTorque2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",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.00121/0.00121, allocations: 181.2 kB / 17.06 MB, free: 5.094 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.355/1.355, allocations: 223.2 MB / 241 MB, free: 10.16 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.0009508/0.0009508, allocations: 101.5 kB / 292.1 MB, free: 10.69 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.342/0.342, allocations: 44.21 MB / 387.5 MB, free: 38.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003073/0.0003074, allocations: 8 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3517, allocations: 61.91 MB / 0.5096 GB, free: 37.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1412/0.4929, allocations: 107.3 MB / 0.6145 GB, free: 3.719 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/0.4933, allocations: 83.92 kB / 0.6146 GB, free: 3.641 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7401/1.233, allocations: 175.1 MB / 0.7855 GB, free: 59.55 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.785e-06/1.233, allocations: 0 / 0.7855 GB, free: 59.55 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006556/1.234, allocations: 179.9 kB / 0.7857 GB, free: 59.38 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: 3105 * Number of variables: 3105 Notification: Performance of Generate backend data structure: time 0.03457/1.269, allocations: 8.986 MB / 0.7945 GB, free: 50.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/1.269, allocations: 12.02 kB / 0.7945 GB, free: 50.29 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009836/1.279, allocations: 1.56 MB / 0.796 GB, free: 48.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02078/1.299, allocations: 3.775 MB / 0.7997 GB, free: 44.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03959/1.339, allocations: 9.472 MB / 0.8089 GB, free: 35.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001331/1.34, allocations: 0.686 MB / 0.8096 GB, free: 34.69 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006968/1.347, allocations: 0.9058 MB / 0.8105 GB, free: 33.78 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08104/1.429, allocations: 21.31 MB / 0.8313 GB, free: 10.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007509/1.429, allocations: 87.22 kB / 0.8314 GB, free: 10.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0058/1.435, allocations: 427.8 kB / 0.8318 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004417/1.44, allocations: 1.862 MB / 0.8336 GB, free: 8.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.054/1.494, allocations: 16.71 MB / 0.8499 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8221/2.316, allocations: 83.65 MB / 0.9316 GB, free: 29.74 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01799/2.334, allocations: 6.402 MB / 0.9379 GB, free: 29.05 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02186/2.356, allocations: 10.94 MB / 0.9485 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.231e-05/2.356, allocations: 58.5 kB / 0.9486 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=212): time 6.282e-06/2.356, allocations: 0 / 0.9486 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=236): time 0.05604/2.412, allocations: 17.11 MB / 0.9653 GB, free: 20.51 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.916e-05/2.412, allocations: 156.4 kB / 0.9655 GB, free: 20.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01313/2.425, allocations: 6.054 MB / 0.9714 GB, free: 19.83 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005482/2.426, allocations: 58.67 kB / 0.9714 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.006393/2.432, allocations: 6.04 MB / 0.9773 GB, free: 16.49 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001471/2.434, allocations: 0.9259 MB / 0.9782 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009447/2.435, allocations: 181.5 kB / 0.9784 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001016/2.436, allocations: 0.6797 MB / 0.9791 GB, free: 31.66 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00489/2.441, allocations: 2.488 MB / 0.9815 GB, free: 31.63 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008149/2.449, allocations: 8.233 MB / 0.9895 GB, free: 24.15 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008015/2.457, allocations: 4.379 MB / 0.9938 GB, free: 22.8 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004006/2.457, allocations: 59.72 kB / 0.9939 GB, free: 22.8 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1153) (initialization): time 0.031/2.488, allocations: 10.37 MB / 1.004 GB, free: 19.52 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004681/2.489, allocations: 93.56 kB / 1.004 GB, free: 19.52 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005941/2.49, allocations: 207.1 kB / 1.004 GB, free: 19.52 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004906/2.49, allocations: 298.2 kB / 1.005 GB, free: 19.52 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008347/2.498, allocations: 2.162 MB / 1.007 GB, free: 19.25 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006925/2.499, allocations: 404.4 kB / 1.007 GB, free: 19.16 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01007/2.509, allocations: 0.5963 MB / 1.008 GB, free: 19 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002454/2.512, allocations: 0.5453 MB / 1.008 GB, free: 18.93 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 939 * Number of states: 0 () * Number of discrete variables: 88 (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],cutForce2b.torqueArrow.arrowLine.twoHeadedArrow,cutForce2b.torqueArrow.headAtOrigin,cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[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],cutForce1b.torqueArrow.arrowLine.twoHeadedArrow,cutForce1b.torqueArrow.headAtOrigin,cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[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],cutForce2a.torqueArrow.arrowLine.twoHeadedArrow,cutForce2a.torqueArrow.headAtOrigin,cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.torqueArrow.arrowLine.twoHeadedArrow,cutForce1a.torqueArrow.headAtOrigin,cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1129): * Single equations (assignments): 1126 * 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.01393/2.526, allocations: 3.959 MB / 1.012 GB, free: 17.17 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002528/2.528, allocations: 0.5789 MB / 1.013 GB, free: 16.85 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003391/2.532, allocations: 0.7044 MB / 1.013 GB, free: 16.5 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.129e-05/2.532, allocations: 25.84 kB / 1.013 GB, free: 16.5 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.209e-05/2.532, allocations: 0 / 1.013 GB, free: 16.5 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.865e-05/2.532, allocations: 14.62 kB / 1.013 GB, free: 16.5 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0427/2.575, allocations: 19.5 MB / 1.032 GB, free: 5.703 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001813/2.575, allocations: 56 kB / 1.032 GB, free: 5.648 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001903/2.577, allocations: 0.5006 MB / 1.033 GB, free: 5.207 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001056/2.577, allocations: 80 kB / 1.033 GB, free: 5.129 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004579/2.577, allocations: 118.1 kB / 1.033 GB, free: 5.02 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.111e-05/2.577, allocations: 106.5 kB / 1.033 GB, free: 4.926 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.985e-05/2.578, allocations: 87 kB / 1.033 GB, free: 4.844 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01357/2.591, allocations: 14.69 MB / 1.048 GB, free: 4.422 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003645/2.595, allocations: 0.6925 MB / 1.048 GB, free: 3.738 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002585/2.597, allocations: 125.4 kB / 1.048 GB, free: 3.629 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00432/2.602, allocations: 198.6 kB / 1.049 GB, free: 3.473 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007631/2.603, allocations: 357.5 kB / 1.049 GB, free: 3.188 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004608/2.603, allocations: 150.2 kB / 1.049 GB, free: 3.047 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01244/2.615, allocations: 4.266 MB / 1.053 GB, free: 15.6 MB / 0.5574 GB Notification: Performance of sort global known variables: time 6.42e-07/2.616, allocations: 0 / 1.053 GB, free: 15.6 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01279/2.628, allocations: 1.551 MB / 1.055 GB, free: 14.05 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 245 * 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 (272): * Single equations (assignments): 269 * 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.01732/2.646, allocations: 25.24 MB / 1.079 GB, free: 3.355 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.3134/2.959, allocations: 5.775 MB / 1.085 GB, free: 146.7 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.082e-05/2.959, allocations: 8.125 kB / 1.085 GB, free: 146.7 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002416/2.962, allocations: 1.335 MB / 1.086 GB, free: 146.7 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007297/2.969, allocations: 0.983 MB / 1.087 GB, free: 146.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1721/3.141, allocations: 204.8 MB / 1.287 GB, free: 16.57 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01779/3.159, allocations: 6.251 MB / 1.293 GB, free: 15.65 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.011/3.17, allocations: 2.785 MB / 1.296 GB, free: 15.4 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00935/3.179, allocations: 4.048 MB / 1.3 GB, free: 14.38 MB / 0.6199 GB Notification: Performance of SimCode: time 1.833e-06/3.179, allocations: 0 / 1.3 GB, free: 14.38 MB / 0.6199 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4914/3.671, allocations: 122 MB / 1.419 GB, free: 181.6 MB / 0.6199 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002086/3.671, allocations: 175.8 kB / 1.419 GB, free: 181.4 MB / 0.6199 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.736/10.41, allocations: 0 / 1.419 GB, free: 181.4 MB / 0.6199 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat does not exist to compare? outputFormat=mat