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.001077/0.001077, allocations: 179.6 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.453/1.453, allocations: 221.3 MB / 236 MB, free: 2.969 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.0009588/0.0009589, allocations: 80.06 kB / 287 MB, free: 260 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.1925/0.1925, allocations: 44.16 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.249e-05/4.26e-05, allocations: 224 / 451.9 MB, free: 9.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1506, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5167/0.6674, allocations: 107.3 MB / 0.6066 GB, free: 13.96 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.6678, allocations: 83.89 kB / 0.6066 GB, free: 13.88 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8322/1.5, allocations: 175.2 MB / 0.7778 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.364e-06/1.5, allocations: 0 / 0.7778 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004557/1.501, allocations: 175 kB / 0.7779 GB, free: 107.7 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: 3105 * Number of variables: 3105 Notification: Performance of Generate backend data structure: time 0.03233/1.533, allocations: 8.43 MB / 0.7862 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/1.533, allocations: 8.906 kB / 0.7862 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009278/1.542, allocations: 1.562 MB / 0.7877 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02078/1.563, allocations: 3.777 MB / 0.7914 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02701/1.59, allocations: 9.434 MB / 0.8006 GB, free: 99.89 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001326/1.591, allocations: 0.6888 MB / 0.8013 GB, free: 99.62 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006948/1.598, allocations: 0.8991 MB / 0.8022 GB, free: 99.36 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06625/1.665, allocations: 21.02 MB / 0.8227 GB, free: 80.62 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007933/1.666, allocations: 91.06 kB / 0.8228 GB, free: 80.54 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005958/1.672, allocations: 435.2 kB / 0.8232 GB, free: 80.16 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003804/1.675, allocations: 1.861 MB / 0.825 GB, free: 78.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04215/1.718, allocations: 16.23 MB / 0.8409 GB, free: 62.05 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5797/2.297, allocations: 83.64 MB / 0.9225 GB, free: 60.64 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02068/2.318, allocations: 6.357 MB / 0.9287 GB, free: 59.97 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005418/2.324, allocations: 2.314 MB / 0.931 GB, free: 59.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02787/2.352, allocations: 10.94 MB / 0.9417 GB, free: 57 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.194e-05/2.352, allocations: 58.62 kB / 0.9417 GB, free: 56.96 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=212): time 5.4e-06/2.352, allocations: 0 / 0.9417 GB, free: 56.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=236): time 0.05387/2.406, allocations: 15.77 MB / 0.9571 GB, free: 52.01 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.513e-05/2.406, allocations: 157.4 kB / 0.9573 GB, free: 51.86 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01429/2.42, allocations: 5.866 MB / 0.963 GB, free: 51.28 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004842/2.421, allocations: 59.89 kB / 0.9631 GB, free: 51.25 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004425/2.425, allocations: 6.038 MB / 0.969 GB, free: 47.95 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001147/2.426, allocations: 0.9322 MB / 0.9699 GB, free: 47.44 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005808/2.427, allocations: 176.3 kB / 0.9701 GB, free: 47.44 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004273/2.427, allocations: 0.6763 MB / 0.9707 GB, free: 47.11 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003497/2.431, allocations: 2.307 MB / 0.973 GB, free: 47.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005811/2.437, allocations: 8.053 MB / 0.9808 GB, free: 39.62 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005975/2.443, allocations: 4.25 MB / 0.985 GB, free: 39.59 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001463/2.443, allocations: 59.72 kB / 0.985 GB, free: 39.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1153) (initialization): time 0.01875/2.461, allocations: 10.01 MB / 0.9948 GB, free: 38.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001527/2.462, allocations: 95.53 kB / 0.9949 GB, free: 38.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003169/2.462, allocations: 203.2 kB / 0.9951 GB, free: 38.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003104/2.462, allocations: 298.9 kB / 0.9954 GB, free: 38.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007199/2.469, allocations: 2.168 MB / 0.9975 GB, free: 37.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000297/2.47, allocations: 397.4 kB / 0.9979 GB, free: 37.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008965/2.479, allocations: 0.5942 MB / 0.9985 GB, free: 37.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001607/2.48, allocations: 0.5464 MB / 0.999 GB, free: 37.52 MB / 0.5261 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 () * 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.001774/2.482, allocations: 0.8335 MB / 0.9998 GB, free: 36.85 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001399/2.484, allocations: 0.5837 MB / 1 GB, free: 36.52 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001916/2.486, allocations: 0.71 MB / 1.001 GB, free: 36.17 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-05/2.486, allocations: 23.12 kB / 1.001 GB, free: 36.17 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.471e-05/2.486, allocations: 1.688 kB / 1.001 GB, free: 36.17 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.878e-05/2.486, allocations: 15.06 kB / 1.001 GB, free: 36.17 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03305/2.519, allocations: 19.48 MB / 1.02 GB, free: 28.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.808e-05/2.519, allocations: 57.41 kB / 1.02 GB, free: 28.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001434/2.52, allocations: 0.5007 MB / 1.021 GB, free: 28.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.067e-05/2.52, allocations: 87.55 kB / 1.021 GB, free: 28.43 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001715/2.521, allocations: 114.4 kB / 1.021 GB, free: 28.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.268e-05/2.521, allocations: 103 kB / 1.021 GB, free: 28.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.495e-05/2.521, allocations: 86.73 kB / 1.021 GB, free: 28.36 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007221/2.528, allocations: 14.66 MB / 1.035 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001693/2.53, allocations: 0.6895 MB / 1.036 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006168/2.53, allocations: 126.9 kB / 1.036 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002307/2.533, allocations: 192.8 kB / 1.036 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003666/2.533, allocations: 361.5 kB / 1.037 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001669/2.533, allocations: 142.9 kB / 1.037 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008812/2.542, allocations: 4.089 MB / 1.041 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.71e-07/2.542, allocations: 0 / 1.041 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01292/2.555, allocations: 1.545 MB / 1.042 GB, free: 7.012 MB / 0.5261 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 () * 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.01666/2.572, allocations: 25.21 MB / 1.067 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01119/2.583, allocations: 5.566 MB / 1.072 GB, free: 7.258 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-05/2.583, allocations: 8 kB / 1.072 GB, free: 7.25 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002411/2.585, allocations: 1.327 MB / 1.074 GB, free: 6.051 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006086/2.591, allocations: 0.9724 MB / 1.075 GB, free: 5.258 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03938/2.631, allocations: 17.58 MB / 1.092 GB, free: 5.09 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01279/2.644, allocations: 6.259 MB / 1.098 GB, free: 0.5391 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0166/2.66, allocations: 3.373 MB / 1.101 GB, free: 0 / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01561/2.676, allocations: 4.616 MB / 1.106 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of SimCode: time 1.914e-06/2.676, allocations: 0 / 1.106 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5883/3.264, allocations: 122.9 MB / 1.226 GB, free: 184.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/3.265, allocations: 160.5 kB / 1.226 GB, free: 184.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.181/10.45, allocations: 3.375 kB / 1.226 GB, free: 184.3 MB / 0.6198 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