Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",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.001091/0.001091, allocations: 177 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.353/1.353, allocations: 223.2 MB / 241 MB, free: 11.9 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.0008456/0.0008454, allocations: 99.98 kB / 292.1 MB, free: 10.93 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.3593/0.3593, allocations: 44.21 MB / 387.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003203, allocations: 8 kB / 460 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3473, allocations: 61.9 MB / 0.5096 GB, free: 38.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1494/0.4968, allocations: 105.2 MB / 0.6124 GB, free: 5.918 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/0.4972, allocations: 91.91 kB / 0.6124 GB, free: 5.832 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1458/0.6429, allocations: 60.86 MB / 0.6719 GB, free: 8.625 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.643, allocations: 0 / 0.6719 GB, free: 8.625 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001305/0.6431, allocations: 63.94 kB / 0.6719 GB, free: 8.562 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: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.008738/0.6519, allocations: 2.99 MB / 0.6749 GB, free: 5.508 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.6519, allocations: 8.031 kB / 0.6749 GB, free: 5.5 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002086/0.654, allocations: 0.6174 MB / 0.6755 GB, free: 4.871 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008226/0.6623, allocations: 1.879 MB / 0.6773 GB, free: 2.984 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006799/0.6691, allocations: 1.895 MB / 0.6792 GB, free: 1.039 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003846/0.6696, allocations: 250.7 kB / 0.6794 GB, free: 0.793 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002182/0.6718, allocations: 339.9 kB / 0.6797 GB, free: 472 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3345/1.006, allocations: 7.323 MB / 0.6869 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.872e-05/1.006, allocations: 18.69 kB / 0.6869 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004713/1.007, allocations: 147.7 kB / 0.687 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00105/1.008, allocations: 0.707 MB / 0.6877 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01149/1.019, allocations: 6.274 MB / 0.6938 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0323/1.052, allocations: 25.05 MB / 0.7183 GB, free: 86.37 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005112/1.057, allocations: 2.2 MB / 0.7205 GB, free: 85.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008068/1.065, allocations: 3.929 MB / 0.7243 GB, free: 83.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/1.065, allocations: 38.88 kB / 0.7243 GB, free: 83.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=87): time 3.326e-06/1.065, allocations: 0 / 0.7243 GB, free: 83.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=87): time 0.006233/1.071, allocations: 2.507 MB / 0.7268 GB, free: 82.56 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/1.071, allocations: 66.22 kB / 0.7268 GB, free: 82.49 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003186/1.075, allocations: 1.86 MB / 0.7287 GB, free: 81.79 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.624e-05/1.075, allocations: 36.36 kB / 0.7287 GB, free: 81.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001236/1.076, allocations: 2.118 MB / 0.7308 GB, free: 80.29 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002431/1.076, allocations: 350 kB / 0.7311 GB, free: 80.05 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/1.076, allocations: 64.59 kB / 0.7312 GB, free: 80 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001943/1.077, allocations: 442.7 kB / 0.7316 GB, free: 79.64 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/1.078, allocations: 0.9002 MB / 0.7325 GB, free: 79.37 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001876/1.08, allocations: 2.842 MB / 0.7352 GB, free: 76.45 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/1.081, allocations: 1.608 MB / 0.7368 GB, free: 75.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.453e-05/1.081, allocations: 21.19 kB / 0.7368 GB, free: 75.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.004061/1.085, allocations: 3.644 MB / 0.7404 GB, free: 74.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.371e-05/1.085, allocations: 37.72 kB / 0.7404 GB, free: 74.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-05/1.085, allocations: 69.03 kB / 0.7405 GB, free: 74.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.378e-05/1.086, allocations: 102.7 kB / 0.7406 GB, free: 74.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/1.087, allocations: 0.7018 MB / 0.7413 GB, free: 74.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001036/1.087, allocations: 140 kB / 0.7414 GB, free: 74.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/1.089, allocations: 430.2 kB / 0.7418 GB, free: 74.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002318/1.09, allocations: 192.5 kB / 0.742 GB, free: 74.11 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 316 * Number of states: 0 () * Number of discrete variables: 34 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[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 (385): * Single equations (assignments): 382 * 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.002726/1.092, allocations: 1.559 MB / 0.7435 GB, free: 73.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002442/1.093, allocations: 179.8 kB / 0.7437 GB, free: 73.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004182/1.093, allocations: 216.2 kB / 0.7439 GB, free: 73.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/1.093, allocations: 9.938 kB / 0.7439 GB, free: 73.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.92e-05/1.093, allocations: 6.812 kB / 0.7439 GB, free: 73.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/1.093, allocations: 3.281 kB / 0.7439 GB, free: 73.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007673/1.101, allocations: 5.081 MB / 0.7489 GB, free: 71.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/1.101, allocations: 15 kB / 0.7489 GB, free: 71.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003858/1.101, allocations: 116.6 kB / 0.749 GB, free: 71.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.618e-05/1.101, allocations: 11.53 kB / 0.749 GB, free: 71.13 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.451e-05/1.101, allocations: 18.19 kB / 0.749 GB, free: 71.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.417e-05/1.101, allocations: 18.27 kB / 0.7491 GB, free: 71.12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/1.101, allocations: 10.84 kB / 0.7491 GB, free: 71.12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/1.103, allocations: 2.003 MB / 0.751 GB, free: 69.46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004482/1.103, allocations: 293.8 kB / 0.7513 GB, free: 69.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/1.103, allocations: 19.66 kB / 0.7513 GB, free: 69.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004975/1.104, allocations: 33.2 kB / 0.7513 GB, free: 69.22 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.911e-05/1.104, allocations: 68.66 kB / 0.7514 GB, free: 69.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-05/1.104, allocations: 36.31 kB / 0.7514 GB, free: 69.19 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001563/1.106, allocations: 1.462 MB / 0.7529 GB, free: 68.65 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.242e-06/1.106, allocations: 0 / 0.7529 GB, free: 68.65 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002634/1.108, allocations: 0.8229 MB / 0.7537 GB, free: 68.39 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.002008/1.11, allocations: 4.691 MB / 0.7583 GB, free: 64.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00258/1.113, allocations: 2.11 MB / 0.7603 GB, free: 63.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.113, allocations: 0 / 0.7603 GB, free: 63.57 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00046/1.113, allocations: 0.5007 MB / 0.7608 GB, free: 63.42 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000959/1.114, allocations: 262 kB / 0.7611 GB, free: 63.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03642/1.151, allocations: 65.23 MB / 0.8248 GB, free: 3.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002709/1.153, allocations: 2.673 MB / 0.8274 GB, free: 1.578 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002301/1.156, allocations: 1.04 MB / 0.8284 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00199/1.158, allocations: 1.329 MB / 0.8297 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of SimCode: time 8.92e-07/1.158, allocations: 4 kB / 0.8297 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07021/1.228, allocations: 41.95 MB / 0.8707 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/1.228, allocations: 179.2 kB / 0.8708 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.229/4.457, allocations: 0 / 0.8708 GB, free: 12.31 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat does not exist to compare? outputFormat=mat