Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 87.11 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3698/0.3698, allocations: 40 MB / 310.4 MB, free: 9.668 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005577/0.0005579, allocations: 16 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1487, allocations: 57.97 MB / 436.8 MB, free: 2.285 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.4094/0.5581, allocations: 120.9 MB / 0.5447 GB, free: 4.352 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.07299/0.6312, allocations: 23.66 MB / 0.5678 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.04395/0.6752, allocations: 0.5612 MB / 0.5683 GB, free: 376 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04033/0.7155, allocations: 6.457 MB / 0.5746 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.09155/0.8071, allocations: 18.71 MB / 0.5929 GB, free: 7.785 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009189/0.8164, allocations: 1.397 MB / 0.5943 GB, free: 6.387 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01818/0.8346, allocations: 11.33 MB / 0.6053 GB, free: 11.04 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02091/0.8555, allocations: 11.45 MB / 0.6165 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008446/0.864, allocations: 3.11 MB / 0.6195 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008615/0.8727, allocations: 4.771 MB / 0.6242 GB, free: 7.641 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002831/0.8755, allocations: 380 kB / 0.6246 GB, free: 7.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004855/0.8804, allocations: 1.038 MB / 0.6256 GB, free: 6.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009312/0.8898, allocations: 4.215 MB / 0.6297 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00418/0.894, allocations: 1.96 MB / 0.6316 GB, free: 32 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.6523/1.546, allocations: 13.09 MB / 0.6444 GB, free: 22.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/1.546, allocations: 0 / 0.6444 GB, free: 22.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.827e-06/1.546, allocations: 0.75 kB / 0.6444 GB, free: 22.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0009754/1.547, allocations: 0 / 0.6444 GB, free: 22.16 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3665 * Number of variables: 3665 Notification: Performance of Generate backend data structure: time 0.03225/1.58, allocations: 9.379 MB / 0.6535 GB, free: 18.17 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/1.58, allocations: 13.91 kB / 0.6536 GB, free: 18.17 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01513/1.595, allocations: 3.071 MB / 0.6566 GB, free: 17.49 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01628/1.611, allocations: 5.598 MB / 0.662 GB, free: 16.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009186/1.612, allocations: 0.5926 MB / 0.6626 GB, free: 16.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005133/1.617, allocations: 0.7693 MB / 0.6634 GB, free: 16.47 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06097/1.678, allocations: 24.45 MB / 0.6872 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000338/1.679, allocations: 82.95 kB / 0.6873 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001682/1.68, allocations: 365.8 kB / 0.6877 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0063/1.687, allocations: 4.544 MB / 0.6921 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04585/1.732, allocations: 19.15 MB / 0.7108 GB, free: 6.309 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1525/1.885, allocations: 85.66 MB / 0.7945 GB, free: 15.14 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02213/1.907, allocations: 7.84 MB / 0.8021 GB, free: 8.816 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006116/1.913, allocations: 3.101 MB / 0.8051 GB, free: 6.805 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.031/1.944, allocations: 13.11 MB / 0.8179 GB, free: 12.31 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.105e-05/1.945, allocations: 70.7 kB / 0.818 GB, free: 12.25 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=336): time 7.564e-06/1.945, allocations: 0 / 0.818 GB, free: 12.25 MB / 0.5763 GB Notification: Performance of matching and sorting (n=360): time 0.06966/2.014, allocations: 20.59 MB / 0.8381 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002073/2.015, allocations: 163.7 kB / 0.8383 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02091/2.035, allocations: 7.368 MB / 0.8455 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0009382/2.036, allocations: 80.2 kB / 0.8455 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.307/2.343, allocations: 6.768 MB / 0.8522 GB, free: 244.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001961/2.345, allocations: 1.359 MB / 0.8535 GB, free: 243.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007235/2.346, allocations: 217.7 kB / 0.8537 GB, free: 243.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0006027/2.347, allocations: 0.7764 MB / 0.8544 GB, free: 243.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006316/2.353, allocations: 3.266 MB / 0.8576 GB, free: 243.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01073/2.364, allocations: 9.891 MB / 0.8673 GB, free: 234.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01136/2.375, allocations: 5.472 MB / 0.8726 GB, free: 232.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000418/2.376, allocations: 72.69 kB / 0.8727 GB, free: 232.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.03591/2.412, allocations: 12.84 MB / 0.8852 GB, free: 227.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002584/2.412, allocations: 104 kB / 0.8853 GB, free: 227.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004415/2.412, allocations: 233 kB / 0.8856 GB, free: 227.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005005/2.413, allocations: 342.7 kB / 0.8859 GB, free: 227.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009758/2.423, allocations: 2.58 MB / 0.8884 GB, free: 227.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006583/2.423, allocations: 460.1 kB / 0.8889 GB, free: 227 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0119/2.435, allocations: 0.5327 MB / 0.8894 GB, free: 226.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003599/2.439, allocations: 0.6595 MB / 0.89 GB, free: 226.7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1063 * Number of states: 0 () * Number of discrete variables: 72 (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.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[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.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[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.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[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.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[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 (1393): * Single equations (assignments): 1382 * Array equations: 11 * 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.01436/2.453, allocations: 4.528 MB / 0.8944 GB, free: 224.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001558/2.455, allocations: 0.6607 MB / 0.8951 GB, free: 224.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007407/2.462, allocations: 4.078 MB / 0.8991 GB, free: 222.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-05/2.462, allocations: 42.34 kB / 0.8991 GB, free: 222.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/2.462, allocations: 0 / 0.8991 GB, free: 222.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-05/2.462, allocations: 18.86 kB / 0.8991 GB, free: 222.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05638/2.519, allocations: 42.04 MB / 0.9402 GB, free: 189 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000153/2.519, allocations: 92 kB / 0.9403 GB, free: 188.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002728/2.522, allocations: 0.8579 MB / 0.9411 GB, free: 188.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.725e-05/2.522, allocations: 135.9 kB / 0.9412 GB, free: 188 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000296/2.522, allocations: 207.9 kB / 0.9414 GB, free: 187.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.094e-05/2.522, allocations: 175.3 kB / 0.9416 GB, free: 187.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-05/2.522, allocations: 139.4 kB / 0.9417 GB, free: 187.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007874/2.53, allocations: 8.018 MB / 0.9496 GB, free: 177.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002625/2.533, allocations: 0.8317 MB / 0.9504 GB, free: 177.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001521/2.534, allocations: 211.9 kB / 0.9506 GB, free: 176.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003959/2.538, allocations: 207.9 kB / 0.9508 GB, free: 176.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004839/2.539, allocations: 0.5835 MB / 0.9513 GB, free: 176.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003156/2.539, allocations: 251 kB / 0.9516 GB, free: 175.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008382/2.548, allocations: 4.568 MB / 0.956 GB, free: 171.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.814e-06/2.548, allocations: 4 kB / 0.9561 GB, free: 171.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01408/2.562, allocations: 1.893 MB / 0.9579 GB, free: 169.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 413 * 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 (455): * Single equations (assignments): 452 * 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.001429/2.563, allocations: 414.1 kB / 0.9583 GB, free: 169 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0131/2.576, allocations: 7.699 MB / 0.9658 GB, free: 161.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.36e-05/2.576, allocations: 16 kB / 0.9658 GB, free: 161.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003591/2.58, allocations: 2.208 MB / 0.968 GB, free: 159.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0109/2.591, allocations: 1.144 MB / 0.9691 GB, free: 158 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05043/2.641, allocations: 26.6 MB / 0.9951 GB, free: 130.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01417/2.656, allocations: 6.968 MB / 1.002 GB, free: 123.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.009385/2.665, allocations: 3.314 MB / 1.005 GB, free: 119.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001512/2.666, allocations: 0.5072 MB / 1.006 GB, free: 119.3 MB / 0.5919 GB Notification: Performance of SimCode: time 7.91e-07/2.666, allocations: 0 / 1.006 GB, free: 119.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.1081/2.775, allocations: 57.74 MB / 1.062 GB, free: 61.67 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) Environment - environmentSimulation: