Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce.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.CutForce,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001337/0.001337, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001392/0.001392, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 247 MB, free: 10.41 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.2217/0.2217, allocations: 46.12 MB / 344.3 MB, free: 11.46 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.002354/0.002355, allocations: 79.86 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3233, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.0176/0.341, allocations: 15 MB / 0.5453 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01199/0.353, allocations: 5.04 MB / 0.5502 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003027/0.3561, allocations: 119.7 kB / 0.5503 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0113/0.3674, allocations: 5.97 MB / 0.5561 GB, free: 7.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0079/0.3754, allocations: 2.735 MB / 0.5588 GB, free: 4.773 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003767/0.3792, allocations: 1.583 MB / 0.5603 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01161/0.3908, allocations: 7.777 MB / 0.5679 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01008/0.4009, allocations: 7.385 MB / 0.5751 GB, free: 3.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005257/0.4062, allocations: 2.968 MB / 0.578 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006199/0.4125, allocations: 3.774 MB / 0.5817 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00191/0.4144, allocations: 0.5742 MB / 0.5823 GB, free: 12.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003715/0.4182, allocations: 1.389 MB / 0.5836 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004502/0.4227, allocations: 3.456 MB / 0.587 GB, free: 7.719 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006124/0.4288, allocations: 3.849 MB / 0.5908 GB, free: 3.848 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01508/0.4439, allocations: 11.67 MB / 0.6022 GB, free: 8.129 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.444, allocations: 0 / 0.6022 GB, free: 8.129 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.444, allocations: 0 / 0.6022 GB, free: 8.129 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003641/0.4444, allocations: 0 / 0.6022 GB, free: 8.129 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.02017/0.4645, allocations: 8.728 MB / 0.6107 GB, free: 15.3 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.4646, allocations: 12.03 kB / 0.6107 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002709/0.4673, allocations: 1.166 MB / 0.6118 GB, free: 14.12 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01079/0.4781, allocations: 2.566 MB / 0.6144 GB, free: 11.54 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01069/0.4889, allocations: 5.424 MB / 0.6196 GB, free: 6.043 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004067/0.4893, allocations: 430.6 kB / 0.6201 GB, free: 5.621 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001689/0.491, allocations: 0.5388 MB / 0.6206 GB, free: 5.082 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03303/0.524, allocations: 16.68 MB / 0.6369 GB, free: 3.281 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002796/0.5244, allocations: 79.34 kB / 0.637 GB, free: 3.203 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00129/0.5257, allocations: 263.8 kB / 0.6372 GB, free: 2.945 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004875/0.5306, allocations: 2.931 MB / 0.6401 GB, free: 12 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02926/0.5599, allocations: 12.78 MB / 0.6525 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08949/0.6494, allocations: 64.1 MB / 0.7151 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4714/1.121, allocations: 5.481 MB / 0.7205 GB, free: 160.1 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003193/1.124, allocations: 2.127 MB / 0.7226 GB, free: 159.3 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01578/1.14, allocations: 9.938 MB / 0.7323 GB, free: 154.4 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/1.14, allocations: 55.66 kB / 0.7323 GB, free: 154.3 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 7.454e-06/1.14, allocations: 0 / 0.7323 GB, free: 154.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.03537/1.175, allocations: 14.46 MB / 0.7464 GB, free: 148.4 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/1.175, allocations: 152.1 kB / 0.7466 GB, free: 148.2 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007317/1.183, allocations: 6.334 MB / 0.7528 GB, free: 142.6 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003064/1.183, allocations: 61.06 kB / 0.7528 GB, free: 142.5 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002283/1.185, allocations: 5.274 MB / 0.758 GB, free: 137.7 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006438/1.186, allocations: 0.8588 MB / 0.7588 GB, free: 136.9 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001621/1.188, allocations: 1.667 MB / 0.7605 GB, free: 135.2 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.201e-05/1.188, allocations: 305.1 kB / 0.7607 GB, free: 134.9 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002927/1.191, allocations: 2.292 MB / 0.763 GB, free: 132.6 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004729/1.195, allocations: 7.644 MB / 0.7704 GB, free: 122.4 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00812/1.204, allocations: 10.82 MB / 0.781 GB, free: 108.9 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000131/1.204, allocations: 52 kB / 0.7811 GB, free: 108.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01417/1.218, allocations: 9.594 MB / 0.7904 GB, free: 99.27 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/1.218, allocations: 88 kB / 0.7905 GB, free: 99.18 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001605/1.218, allocations: 188 kB / 0.7907 GB, free: 99 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001836/1.218, allocations: 255.9 kB / 0.7909 GB, free: 98.75 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005386/1.224, allocations: 1.899 MB / 0.7928 GB, free: 96.85 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002066/1.224, allocations: 378.5 kB / 0.7931 GB, free: 96.48 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005895/1.23, allocations: 411.8 kB / 0.7935 GB, free: 96.08 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0011/1.231, allocations: 0.5078 MB / 0.794 GB, free: 95.57 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,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.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.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.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.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 (1027): * Single equations (assignments): 1016 * Array equations: 11 * 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.005846/1.237, allocations: 3.292 MB / 0.7973 GB, free: 92.27 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001552/1.239, allocations: 0.5587 MB / 0.7978 GB, free: 91.71 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001936/1.24, allocations: 0.6321 MB / 0.7984 GB, free: 91.07 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.903e-05/1.241, allocations: 24 kB / 0.7984 GB, free: 91.04 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-05/1.241, allocations: 3.938 kB / 0.7984 GB, free: 91.04 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/1.241, allocations: 7.969 kB / 0.7985 GB, free: 91.03 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02109/1.262, allocations: 16.46 MB / 0.8145 GB, free: 74.01 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.921e-05/1.262, allocations: 40 kB / 0.8146 GB, free: 73.97 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/1.263, allocations: 379.3 kB / 0.8149 GB, free: 73.6 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.763e-05/1.263, allocations: 51.98 kB / 0.815 GB, free: 73.55 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/1.263, allocations: 88 kB / 0.8151 GB, free: 73.46 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.452e-05/1.263, allocations: 71.72 kB / 0.8151 GB, free: 73.39 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.427e-05/1.263, allocations: 59.75 kB / 0.8152 GB, free: 73.33 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003427/1.267, allocations: 3.973 MB / 0.8191 GB, free: 68.8 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/1.268, allocations: 0.6377 MB / 0.8197 GB, free: 68.14 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007603/1.269, allocations: 87.97 kB / 0.8198 GB, free: 68.06 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002009/1.271, allocations: 107.9 kB / 0.8199 GB, free: 67.95 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002835/1.271, allocations: 254.8 kB / 0.8201 GB, free: 67.7 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001333/1.271, allocations: 107.9 kB / 0.8202 GB, free: 67.6 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005903/1.277, allocations: 3.955 MB / 0.8241 GB, free: 63.65 MB / 0.5607 GB Notification: Performance of sort global known variables: time 7.62e-07/1.277, allocations: 0 / 0.8241 GB, free: 63.65 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006875/1.284, allocations: 1.308 MB / 0.8254 GB, free: 62.35 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * 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.003945/1.288, allocations: 4.683 MB / 0.8299 GB, free: 57.12 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.007656/1.296, allocations: 5.381 MB / 0.8352 GB, free: 51.79 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 3.782e-05/1.296, allocations: 4 kB / 0.8352 GB, free: 51.78 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001493/1.297, allocations: 1.141 MB / 0.8363 GB, free: 50.65 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005473/1.303, allocations: 0.8511 MB / 0.8371 GB, free: 49.81 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09378/1.397, allocations: 65.16 MB / 0.9008 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01036/1.407, allocations: 5.052 MB / 0.9057 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00699/1.414, allocations: 2.518 MB / 0.9082 GB, free: 15.93 MB / 0.6076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004775/1.419, allocations: 3.276 MB / 0.9114 GB, free: 12.66 MB / 0.6076 GB Notification: Performance of SimCode: time 1.203e-06/1.419, allocations: 0 / 0.9114 GB, free: 12.66 MB / 0.6076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3933/1.812, allocations: 91.68 MB / 1.001 GB, free: 191.2 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 33.48/35.29, allocations: 13.14 kB / 1.001 GB, free: 191.2 MB / 0.6388 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce_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_CutForce.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1)