Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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.CutForceAndTorque1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",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.001012/0.001012, 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.477/1.477, allocations: 221.3 MB / 236 MB, free: 2.996 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.0009468/0.0009468, allocations: 95.67 kB / 287 MB, free: 248 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.2265/0.2265, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.594e-05/3.616e-05, allocations: 4.219 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.139, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4602/0.5992, allocations: 107.3 MB / 0.6066 GB, free: 13.96 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.5996, allocations: 79.95 kB / 0.6066 GB, free: 13.88 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8418/1.441, allocations: 176.6 MB / 0.779 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.445e-06/1.441, allocations: 3.594 kB / 0.779 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0008224/1.442, allocations: 177.6 kB / 0.7792 GB, free: 103.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.0352/1.478, allocations: 8.427 MB / 0.7874 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001093/1.478, allocations: 7.188 kB / 0.7875 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01088/1.489, allocations: 1.557 MB / 0.789 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02278/1.511, allocations: 3.78 MB / 0.7927 GB, free: 99.71 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02705/1.539, allocations: 9.439 MB / 0.8019 GB, free: 96.96 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001086/1.54, allocations: 0.6868 MB / 0.8026 GB, free: 96.68 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0055/1.545, allocations: 0.9005 MB / 0.8034 GB, free: 96.42 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05594/1.601, allocations: 21.02 MB / 0.824 GB, free: 76.71 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005268/1.602, allocations: 91.12 kB / 0.824 GB, free: 76.62 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005232/1.607, allocations: 434.8 kB / 0.8245 GB, free: 76.24 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00315/1.61, allocations: 1.861 MB / 0.8263 GB, free: 74.38 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03755/1.648, allocations: 16.23 MB / 0.8421 GB, free: 58.14 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5927/2.241, allocations: 83.64 MB / 0.9238 GB, free: 56.76 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02001/2.261, allocations: 6.305 MB / 0.93 GB, free: 56.09 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005514/2.266, allocations: 2.303 MB / 0.9322 GB, free: 56.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02861/2.295, allocations: 10.93 MB / 0.9429 GB, free: 53.12 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/2.295, allocations: 56.5 kB / 0.9429 GB, free: 53.07 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=212): time 4.518e-06/2.295, allocations: 2.406 kB / 0.9429 GB, free: 53.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=236): time 0.05021/2.345, allocations: 15.75 MB / 0.9583 GB, free: 48.11 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.308e-05/2.345, allocations: 155.7 kB / 0.9585 GB, free: 47.96 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01244/2.358, allocations: 5.872 MB / 0.9642 GB, free: 47.42 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006427/2.358, allocations: 60.36 kB / 0.9643 GB, free: 47.39 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.006097/2.365, allocations: 6.055 MB / 0.9702 GB, free: 44.09 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001663/2.366, allocations: 0.9273 MB / 0.9711 GB, free: 43.59 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009202/2.367, allocations: 178.2 kB / 0.9713 GB, free: 43.59 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005086/2.368, allocations: 0.6789 MB / 0.9719 GB, free: 43.26 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004026/2.372, allocations: 2.308 MB / 0.9742 GB, free: 43.24 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007734/2.379, allocations: 8.047 MB / 0.982 GB, free: 35.77 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007728/2.387, allocations: 4.251 MB / 0.9862 GB, free: 35.73 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002886/2.388, allocations: 59.44 kB / 0.9862 GB, free: 35.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1153) (initialization): time 0.02331/2.411, allocations: 10 MB / 0.996 GB, free: 35.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.00063/2.412, allocations: 97.22 kB / 0.9961 GB, free: 35.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007001/2.412, allocations: 204.2 kB / 0.9963 GB, free: 35.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000564/2.413, allocations: 306.4 kB / 0.9966 GB, free: 35.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008252/2.421, allocations: 2.161 MB / 0.9987 GB, free: 34.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008678/2.422, allocations: 403.2 kB / 0.9991 GB, free: 34.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01035/2.432, allocations: 0.6017 MB / 0.9997 GB, free: 34.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002917/2.435, allocations: 0.5417 MB / 1 GB, free: 34.5 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 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.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],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],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],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.004118/2.44, allocations: 0.8356 MB / 1.001 GB, free: 33.83 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001992/2.442, allocations: 0.5836 MB / 1.002 GB, free: 33.51 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003041/2.445, allocations: 0.7035 MB / 1.002 GB, free: 33.16 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.726e-05/2.445, allocations: 30.73 kB / 1.002 GB, free: 33.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.162e-05/2.445, allocations: 2.5 kB / 1.002 GB, free: 33.16 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-05/2.445, allocations: 11.95 kB / 1.002 GB, free: 33.16 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04421/2.489, allocations: 22.67 MB / 1.024 GB, free: 24.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.604e-05/2.489, allocations: 46.03 kB / 1.024 GB, free: 24.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001483/2.491, allocations: 451.9 kB / 1.025 GB, free: 24.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-05/2.491, allocations: 65.47 kB / 1.025 GB, free: 24.41 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000168/2.491, allocations: 97.34 kB / 1.025 GB, free: 24.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.256e-05/2.491, allocations: 92.2 kB / 1.025 GB, free: 24.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.924e-05/2.491, allocations: 71.16 kB / 1.025 GB, free: 24.34 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007272/2.498, allocations: 12.76 MB / 1.038 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002151/2.5, allocations: 0.6658 MB / 1.038 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008657/2.501, allocations: 106.7 kB / 1.038 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002711/2.504, allocations: 200 kB / 1.039 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003419/2.504, allocations: 305.1 kB / 1.039 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001808/2.505, allocations: 128.3 kB / 1.039 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00866/2.513, allocations: 4.084 MB / 1.043 GB, free: 6.777 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.52e-07/2.513, allocations: 0 / 1.043 GB, free: 6.777 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01176/2.525, allocations: 1.554 MB / 1.045 GB, free: 5.23 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (232): * Single equations (assignments): 229 * 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.01341/2.539, allocations: 21.68 MB / 1.066 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01148/2.55, allocations: 5.593 MB / 1.071 GB, free: 9.332 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.876e-05/2.55, allocations: 8 kB / 1.071 GB, free: 9.324 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002384/2.553, allocations: 1.312 MB / 1.072 GB, free: 8.164 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006537/2.559, allocations: 0.9489 MB / 1.073 GB, free: 7.387 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06646/2.626, allocations: 18.45 MB / 1.091 GB, free: 9.934 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0137/2.639, allocations: 6.234 MB / 1.098 GB, free: 5.406 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01014/2.65, allocations: 2.772 MB / 1.1 GB, free: 3.676 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009732/2.659, allocations: 4.102 MB / 1.104 GB, free: 15.99 MB / 0.5886 GB Notification: Performance of SimCode: time 2.084e-06/2.659, allocations: 0 / 1.104 GB, free: 15.99 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5979/3.257, allocations: 121.7 MB / 1.223 GB, free: 180.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/3.258, allocations: 159.6 kB / 1.223 GB, free: 180.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.416/10.67, allocations: 0 / 1.223 GB, free: 180.6 MB / 0.6198 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat does not exist to compare? outputFormat=mat