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.001274/0.001274, allocations: 176.5 kB / 17.06 MB, free: 5.098 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.628/1.628, 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.000883/0.0008828, allocations: 99.14 kB / 292.1 MB, free: 10.7 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.4571/0.4571, allocations: 44.22 MB / 387.5 MB, free: 38.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.000327, allocations: 8 kB / 460 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4232/0.4235, allocations: 61.9 MB / 0.5096 GB, free: 37.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1515/0.5751, allocations: 107.4 MB / 0.6145 GB, free: 3.73 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/0.5755, allocations: 87.92 kB / 0.6146 GB, free: 3.648 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6885/1.264, allocations: 176.3 MB / 0.7868 GB, free: 56.97 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.663e-06/1.264, allocations: 0 / 0.7868 GB, free: 56.97 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007366/1.265, allocations: 176 kB / 0.7869 GB, free: 56.8 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.0285/1.293, allocations: 8.978 MB / 0.7957 GB, free: 47.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.294e-05/1.293, allocations: 8.031 kB / 0.7957 GB, free: 47.72 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006911/1.3, allocations: 1.56 MB / 0.7972 GB, free: 46.15 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01888/1.319, allocations: 3.779 MB / 0.8009 GB, free: 42.35 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02465/1.344, allocations: 9.482 MB / 0.8102 GB, free: 32.79 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008695/1.345, allocations: 0.6938 MB / 0.8109 GB, free: 32.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00534/1.35, allocations: 0.9059 MB / 0.8118 GB, free: 31.19 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05703/1.407, allocations: 21.3 MB / 0.8326 GB, free: 8.387 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006957/1.408, allocations: 87.2 kB / 0.8326 GB, free: 8.301 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004713/1.413, allocations: 431.8 kB / 0.833 GB, free: 7.879 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00303/1.416, allocations: 1.862 MB / 0.8349 GB, free: 6.012 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04204/1.458, allocations: 16.72 MB / 0.8512 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5291/1.987, allocations: 83.63 MB / 0.9329 GB, free: 30.62 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02023/2.007, allocations: 6.339 MB / 0.9391 GB, free: 29.94 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02696/2.034, allocations: 10.94 MB / 0.9497 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.589e-05/2.034, allocations: 58.06 kB / 0.9498 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=212): time 7.925e-06/2.035, allocations: 0 / 0.9498 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=236): time 0.05819/2.093, allocations: 17.1 MB / 0.9665 GB, free: 21.38 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/2.093, allocations: 161.6 kB / 0.9666 GB, free: 21.22 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01743/2.11, allocations: 6.054 MB / 0.9726 GB, free: 20.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005678/2.111, allocations: 65.3 kB / 0.9726 GB, free: 20.67 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.006308/2.117, allocations: 6.05 MB / 0.9785 GB, free: 17.36 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001718/2.119, allocations: 0.9322 MB / 0.9794 GB, free: 16.85 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001435/2.121, allocations: 179.2 kB / 0.9796 GB, free: 16.85 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.00174/2.122, allocations: 0.673 MB / 0.9803 GB, free: 32.53 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005839/2.128, allocations: 2.491 MB / 0.9827 GB, free: 32.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0093/2.138, allocations: 8.232 MB / 0.9907 GB, free: 24.24 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008413/2.146, allocations: 4.377 MB / 0.995 GB, free: 22.86 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003942/2.146, allocations: 60.03 kB / 0.9951 GB, free: 22.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1153) (initialization): time 0.02453/2.171, allocations: 10.37 MB / 1.005 GB, free: 19.63 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000422/2.171, allocations: 92.5 kB / 1.005 GB, free: 19.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005844/2.172, allocations: 208.2 kB / 1.005 GB, free: 19.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006421/2.173, allocations: 297.7 kB / 1.006 GB, free: 19.63 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0079/2.181, allocations: 2.156 MB / 1.008 GB, free: 19.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005396/2.181, allocations: 405.7 kB / 1.008 GB, free: 19.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009409/2.191, allocations: 0.6002 MB / 1.009 GB, free: 19.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002354/2.193, allocations: 0.548 MB / 1.009 GB, free: 19.04 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 () * 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.01108/2.204, allocations: 3.951 MB / 1.013 GB, free: 17.28 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001818/2.206, allocations: 0.5768 MB / 1.014 GB, free: 16.96 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002994/2.209, allocations: 0.7091 MB / 1.014 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-05/2.209, allocations: 31.5 kB / 1.015 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-05/2.209, allocations: 3.125 kB / 1.015 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.803e-05/2.209, allocations: 13.09 kB / 1.015 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04671/2.256, allocations: 22.7 MB / 1.037 GB, free: 3.297 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002027/2.256, allocations: 45 kB / 1.037 GB, free: 3.254 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001985/2.258, allocations: 446.3 kB / 1.037 GB, free: 2.875 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-05/2.258, allocations: 68 kB / 1.037 GB, free: 2.809 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000527/2.259, allocations: 102.9 kB / 1.037 GB, free: 2.715 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.606e-05/2.259, allocations: 88.78 kB / 1.037 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.156e-05/2.259, allocations: 71.69 kB / 1.037 GB, free: 2.566 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01213/2.271, allocations: 12.78 MB / 1.05 GB, free: 4.422 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002882/2.274, allocations: 0.6721 MB / 1.051 GB, free: 3.754 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002158/2.276, allocations: 114.9 kB / 1.051 GB, free: 3.652 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004563/2.281, allocations: 195.4 kB / 1.051 GB, free: 3.504 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007277/2.282, allocations: 306.1 kB / 1.051 GB, free: 3.262 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003968/2.282, allocations: 123.6 kB / 1.051 GB, free: 3.145 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01399/2.296, allocations: 4.376 MB / 1.056 GB, free: 0 / 0.5417 GB Notification: Performance of sort global known variables: time 7.41e-07/2.296, allocations: 336 / 1.056 GB, free: 0 / 0.5417 GB Notification: Performance of remove unused functions: time 0.02118/2.317, allocations: 2.281 MB / 1.058 GB, free: 0 / 0.5417 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 () * Number of clocked 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.02085/2.338, allocations: 21.73 MB / 1.079 GB, free: 9.141 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01227/2.35, allocations: 5.784 MB / 1.085 GB, free: 4.109 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.465e-05/2.351, allocations: 8.875 kB / 1.085 GB, free: 4.102 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00235/2.353, allocations: 1.333 MB / 1.086 GB, free: 2.949 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006757/2.36, allocations: 0.939 MB / 1.087 GB, free: 2.184 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5627/2.922, allocations: 204.5 MB / 1.287 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01928/2.942, allocations: 6.233 MB / 1.293 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.01173/2.953, allocations: 2.775 MB / 1.295 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00975/2.963, allocations: 4.054 MB / 1.299 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of SimCode: time 1.543e-06/2.963, allocations: 0 / 1.299 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.592/3.555, allocations: 121 MB / 1.418 GB, free: 179.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/3.556, allocations: 189.6 kB / 1.418 GB, free: 179.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.478/11.03, allocations: 0 / 1.418 GB, free: 179.4 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