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.001292/0.001292, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 221.5 MB / 230.7 MB, free: 7.527 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.000838/0.0008379, allocations: 99.03 kB / 281.6 MB, free: 5.266 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.2068/0.2068, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.743e-05/1.744e-05, allocations: 7.938 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1295, allocations: 61.91 MB / 0.4948 GB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4933/0.6228, allocations: 106.6 MB / 0.5989 GB, free: 5.734 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/0.6231, allocations: 75.97 kB / 0.599 GB, free: 5.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.774/1.397, allocations: 172.3 MB / 0.7672 GB, free: 96.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.605e-06/1.397, allocations: 0 / 0.7672 GB, free: 96.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000418/1.398, allocations: 178.2 kB / 0.7674 GB, free: 96.86 MB / 0.4948 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.0271/1.425, allocations: 8.425 MB / 0.7756 GB, free: 92.99 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/1.425, allocations: 11.27 kB / 0.7756 GB, free: 92.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02022/1.445, allocations: 3.78 MB / 0.7793 GB, free: 91.25 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02478/1.47, allocations: 9.425 MB / 0.7885 GB, free: 86.31 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005499/1.47, allocations: 300.5 kB / 0.7888 GB, free: 86.24 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004458/1.475, allocations: 0.5273 MB / 0.7893 GB, free: 85.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02399/1.499, allocations: 12.33 MB / 0.8014 GB, free: 73.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04308/1.542, allocations: 17.88 MB / 0.8188 GB, free: 54.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003829/1.543, allocations: 99.05 kB / 0.8189 GB, free: 53.92 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003109/1.546, allocations: 48 kB / 0.819 GB, free: 53.87 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002711/1.548, allocations: 1.858 MB / 0.8208 GB, free: 52.02 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4812/2.03, allocations: 84.44 MB / 0.9033 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004829/2.035, allocations: 2.712 MB / 0.9059 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002419/2.037, allocations: 1.304 MB / 0.9072 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000151/2.037, allocations: 31.41 kB / 0.9072 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.042e-05/2.037, allocations: 58.61 kB / 0.9073 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=206): time 5.42e-06/2.037, allocations: 0 / 0.9073 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=218): time 0.03783/2.075, allocations: 12.06 MB / 0.919 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.19e-05/2.075, allocations: 151.9 kB / 0.9192 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01437/2.09, allocations: 5.163 MB / 0.9242 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006984/2.09, allocations: 28.64 kB / 0.9242 GB, free: 104 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.006035/2.096, allocations: 6.102 MB / 0.9302 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00139/2.098, allocations: 0.8497 MB / 0.931 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/2.099, allocations: 1.969 kB / 0.931 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001105/2.1, allocations: 0.6848 MB / 0.9317 GB, free: 99.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00425/2.104, allocations: 2.164 MB / 0.9338 GB, free: 99.88 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007126/2.111, allocations: 7.992 MB / 0.9416 GB, free: 92.25 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006464/2.118, allocations: 4.098 MB / 0.9456 GB, free: 92.22 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003346/2.118, allocations: 60.56 kB / 0.9457 GB, free: 92.22 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1171) (initialization): time 0.01982/2.138, allocations: 8.845 MB / 0.9543 GB, free: 91.35 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003235/2.139, allocations: 98.3 kB / 0.9544 GB, free: 91.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004413/2.139, allocations: 211.4 kB / 0.9546 GB, free: 91.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004548/2.139, allocations: 305.7 kB / 0.9549 GB, free: 91.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007355/2.147, allocations: 2.192 MB / 0.9571 GB, free: 91.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003689/2.147, allocations: 411.2 kB / 0.9574 GB, free: 91.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0086/2.156, allocations: 446 kB / 0.9579 GB, free: 91.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001674/2.158, allocations: 0.5541 MB / 0.9584 GB, free: 91.04 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * 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 (1147): * Single equations (assignments): 1144 * 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.00229/2.16, allocations: 0.6418 MB / 0.959 GB, free: 90.59 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005123/2.165, allocations: 2.473 MB / 0.9615 GB, free: 90.22 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001705/2.167, allocations: 0.5321 MB / 0.962 GB, free: 89.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002408/2.169, allocations: 0.6436 MB / 0.9626 GB, free: 89.86 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.581e-05/2.169, allocations: 26.81 kB / 0.9626 GB, free: 89.86 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-05/2.169, allocations: 0 / 0.9626 GB, free: 89.86 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.221e-05/2.169, allocations: 17.38 kB / 0.9626 GB, free: 89.86 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03604/2.205, allocations: 19.07 MB / 0.9813 GB, free: 82.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.732e-05/2.205, allocations: 42.53 kB / 0.9813 GB, free: 82.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001376/2.207, allocations: 411.1 kB / 0.9817 GB, free: 82.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.023e-05/2.207, allocations: 61.02 kB / 0.9818 GB, free: 82.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001439/2.207, allocations: 64.45 kB / 0.9818 GB, free: 82.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.686e-05/2.207, allocations: 82.48 kB / 0.9819 GB, free: 82.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.59e-05/2.207, allocations: 59.81 kB / 0.982 GB, free: 82.66 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006989/2.214, allocations: 10.89 MB / 0.9926 GB, free: 71.51 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002189/2.216, allocations: 0.6074 MB / 0.9932 GB, free: 71.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007772/2.217, allocations: 59.98 kB / 0.9932 GB, free: 71.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002441/2.22, allocations: 166 kB / 0.9934 GB, free: 71.07 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002922/2.22, allocations: 274.3 kB / 0.9937 GB, free: 70.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001659/2.22, allocations: 117.8 kB / 0.9938 GB, free: 70.94 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006705/2.227, allocations: 3.44 MB / 0.9971 GB, free: 69.72 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.72e-07/2.227, allocations: 2.438 kB / 0.9971 GB, free: 69.72 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01147/2.238, allocations: 1.335 MB / 0.9984 GB, free: 69.72 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (214): * Single equations (assignments): 211 * 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.00906/2.247, allocations: 19.29 MB / 1.017 GB, free: 50.95 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00899/2.256, allocations: 5.1 MB / 1.022 GB, free: 46.95 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.738e-05/2.257, allocations: 7.359 kB / 1.022 GB, free: 46.94 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001617/2.258, allocations: 1.177 MB / 1.023 GB, free: 45.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005624/2.264, allocations: 0.7867 MB / 1.024 GB, free: 45.27 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04279/2.307, allocations: 16.67 MB / 1.04 GB, free: 30.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01171/2.318, allocations: 6.213 MB / 1.047 GB, free: 25.69 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008511/2.327, allocations: 2.794 MB / 1.049 GB, free: 23.96 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007008/2.334, allocations: 4.023 MB / 1.053 GB, free: 20.22 MB / 0.5261 GB Notification: Performance of SimCode: time 9.72e-07/2.334, allocations: 0 / 1.053 GB, free: 20.22 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5061/2.84, allocations: 111.7 MB / 1.162 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001385/2.84, allocations: 142.8 kB / 1.162 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.184/9.025, allocations: 0 / 1.162 GB, free: 117.2 MB / 0.5573 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