Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001732/0.001732, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002016/0.002016, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.239/0.239, allocations: 46.11 MB / 344.2 MB, free: 11.52 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 76.91 kB / 417.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.131, allocations: 62.45 MB / 480.2 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01208/0.1431, allocations: 10.11 MB / 490.3 MB, free: 11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007412/0.1506, allocations: 3.079 MB / 493.4 MB, free: 7.918 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001849/0.1525, allocations: 59.81 kB / 493.5 MB, free: 7.859 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004984/0.1575, allocations: 2.598 MB / 496.1 MB, free: 5.254 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003183/0.1607, allocations: 1.187 MB / 497.2 MB, free: 4.062 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.1618, allocations: 347.4 kB / 497.6 MB, free: 3.723 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003807/0.1656, allocations: 2.536 MB / 0.4884 GB, free: 1.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003449/0.1691, allocations: 2.995 MB / 0.4913 GB, free: 14.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001408/0.1705, allocations: 1.063 MB / 0.4924 GB, free: 13.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001662/0.1722, allocations: 1.363 MB / 0.4937 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004135/0.1726, allocations: 252 kB / 0.4939 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.174, allocations: 0.7607 MB / 0.4947 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001213/0.1752, allocations: 1.325 MB / 0.496 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001491/0.1767, allocations: 1.553 MB / 0.4975 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005001/0.1818, allocations: 4.934 MB / 0.5023 GB, free: 2.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1818, allocations: 0 / 0.5023 GB, free: 2.867 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1818, allocations: 0 / 0.5023 GB, free: 2.867 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.977e-05/0.1819, allocations: 0 / 0.5023 GB, free: 2.867 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.2306/0.4125, allocations: 3.267 MB / 0.5055 GB, free: 39.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/0.4126, allocations: 9.406 kB / 0.5055 GB, free: 39.94 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001567/0.4142, allocations: 0.5464 MB / 0.506 GB, free: 39.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005849/0.4201, allocations: 1.606 MB / 0.5076 GB, free: 39.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003438/0.4235, allocations: 1.482 MB / 0.509 GB, free: 38.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000168/0.4237, allocations: 180 kB / 0.5092 GB, free: 38.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006292/0.4244, allocations: 229.1 kB / 0.5094 GB, free: 38.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01287/0.4372, allocations: 7.118 MB / 0.5164 GB, free: 35.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.947e-05/0.4374, allocations: 16.91 kB / 0.5164 GB, free: 35.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006955/0.4381, allocations: 114.2 kB / 0.5165 GB, free: 35.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002507/0.4406, allocations: 1.439 MB / 0.5179 GB, free: 35.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01234/0.453, allocations: 5.95 MB / 0.5237 GB, free: 33.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02819/0.4812, allocations: 22.45 MB / 0.5457 GB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004085/0.4853, allocations: 2.199 MB / 0.5478 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008845/0.4863, allocations: 0.772 MB / 0.5486 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005654/0.4919, allocations: 3.851 MB / 0.5523 GB, free: 4.145 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.492, allocations: 35.12 kB / 0.5523 GB, free: 4.102 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 4.448e-06/0.492, allocations: 0 / 0.5523 GB, free: 4.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=87): time 0.005433/0.4974, allocations: 2.252 MB / 0.5545 GB, free: 1.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.4975, allocations: 59.97 kB / 0.5546 GB, free: 1.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002925/0.5004, allocations: 2.056 MB / 0.5566 GB, free: 15.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.551e-05/0.5005, allocations: 37.7 kB / 0.5566 GB, free: 15.67 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001765/0.5023, allocations: 2.019 MB / 0.5586 GB, free: 13.62 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004209/0.5027, allocations: 351.6 kB / 0.559 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009591/0.5037, allocations: 0.6468 MB / 0.5596 GB, free: 12.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002226/0.5039, allocations: 365.9 kB / 0.5599 GB, free: 12.26 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001541/0.5055, allocations: 0.9352 MB / 0.5608 GB, free: 11.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00331/0.5088, allocations: 2.869 MB / 0.5637 GB, free: 7.488 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005413/0.5142, allocations: 4.152 MB / 0.5677 GB, free: 2.379 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.601e-05/0.5143, allocations: 20 kB / 0.5677 GB, free: 2.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.007047/0.5214, allocations: 3.702 MB / 0.5713 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.081e-05/0.5215, allocations: 34.34 kB / 0.5714 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001191/0.5216, allocations: 72 kB / 0.5714 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001136/0.5218, allocations: 91.94 kB / 0.5715 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002208/0.524, allocations: 0.6901 MB / 0.5722 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001361/0.5241, allocations: 131.5 kB / 0.5723 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/0.5263, allocations: 435.2 kB / 0.5727 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003555/0.5267, allocations: 200 kB / 0.5729 GB, free: 13.01 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,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.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],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 (382): * Single equations (assignments): 377 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002728/0.5294, allocations: 1.507 MB / 0.5744 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003448/0.5298, allocations: 169.8 kB / 0.5746 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004657/0.5303, allocations: 210.2 kB / 0.5748 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.616e-05/0.5303, allocations: 8 kB / 0.5748 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.5303, allocations: 0 / 0.5748 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.5303, allocations: 3.984 kB / 0.5748 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/0.5407, allocations: 4.941 MB / 0.5796 GB, free: 5.996 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.77e-05/0.5408, allocations: 8 kB / 0.5796 GB, free: 5.988 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005145/0.5413, allocations: 115.8 kB / 0.5797 GB, free: 5.875 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.137e-05/0.5413, allocations: 15.94 kB / 0.5797 GB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-05/0.5414, allocations: 23.98 kB / 0.5798 GB, free: 5.836 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.83e-05/0.5414, allocations: 15.94 kB / 0.5798 GB, free: 5.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.209e-05/0.5414, allocations: 15.88 kB / 0.5798 GB, free: 5.805 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/0.5435, allocations: 1.407 MB / 0.5812 GB, free: 4.273 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006266/0.5442, allocations: 278.4 kB / 0.5814 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003516/0.5445, allocations: 27.92 kB / 0.5815 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007214/0.5453, allocations: 39.88 kB / 0.5815 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.5454, allocations: 63.75 kB / 0.5816 GB, free: 3.852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.561e-05/0.5455, allocations: 43.92 kB / 0.5816 GB, free: 3.809 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002759/0.5483, allocations: 1.452 MB / 0.583 GB, free: 2.336 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5483, allocations: 0 / 0.583 GB, free: 2.336 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00319/0.5515, allocations: 0.7684 MB / 0.5838 GB, free: 1.566 MB / 414.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002623/0.5541, allocations: 2.016 MB / 0.5857 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004116/0.5582, allocations: 2.376 MB / 0.5881 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.405e-06/0.5583, allocations: 0 / 0.5881 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007212/0.559, allocations: 0.5102 MB / 0.5886 GB, free: 12.56 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/0.5607, allocations: 275.3 kB / 0.5888 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0417/0.6024, allocations: 24.78 MB / 0.613 GB, free: 180 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003887/0.6063, allocations: 2.514 MB / 0.6155 GB, free: 13.63 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002762/0.6091, allocations: 1.023 MB / 0.6165 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00192/0.611, allocations: 1.206 MB / 0.6176 GB, free: 11.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.192e-06/0.6111, allocations: 0 / 0.6176 GB, free: 11.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08347/0.6945, allocations: 36.04 MB / 0.6528 GB, free: 7.504 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.92/9.615, allocations: 1.734 kB / 0.6528 GB, free: 7.504 MB / 494.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1)