Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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.CutForceAndTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 84.38 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.00112/0.00112, 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.828/1.828, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.4041/0.4041, allocations: 40 MB / 310.4 MB, free: 9.652 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.0005402/0.0005403, allocations: 12 kB / 378.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1517, allocations: 57.96 MB / 436.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.4009/0.5526, allocations: 120.9 MB / 0.5447 GB, free: 4.441 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.07709/0.6298, allocations: 23.65 MB / 0.5678 GB, free: 1.027 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.04106/0.6709, allocations: 0.5612 MB / 0.5683 GB, free: 476 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0269/0.6979, allocations: 6.463 MB / 0.5746 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.06591/0.7638, allocations: 18.71 MB / 0.5929 GB, free: 7.832 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008811/0.7727, allocations: 1.403 MB / 0.5943 GB, free: 6.43 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01746/0.7902, allocations: 11.31 MB / 0.6053 GB, free: 11.1 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02066/0.8109, allocations: 11.46 MB / 0.6165 GB, free: 15.58 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009449/0.8204, allocations: 3.11 MB / 0.6195 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009643/0.8301, allocations: 4.763 MB / 0.6242 GB, free: 7.684 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002798/0.8329, allocations: 383.9 kB / 0.6246 GB, free: 7.309 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004465/0.8374, allocations: 1.042 MB / 0.6256 GB, free: 6.266 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006569/0.844, allocations: 4.215 MB / 0.6297 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004115/0.8482, allocations: 1.956 MB / 0.6316 GB, free: 72 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.657/1.505, allocations: 13.09 MB / 0.6444 GB, free: 22.2 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/1.505, allocations: 0 / 0.6444 GB, free: 22.2 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.467e-06/1.505, allocations: 0 / 0.6444 GB, free: 22.2 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0008582/1.506, allocations: 1.188 kB / 0.6444 GB, free: 22.2 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.03313/1.539, allocations: 9.374 MB / 0.6535 GB, free: 18.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/1.539, allocations: 11.23 kB / 0.6536 GB, free: 18.21 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01485/1.554, allocations: 3.073 MB / 0.6566 GB, free: 17.53 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01575/1.57, allocations: 5.602 MB / 0.662 GB, free: 16.53 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008927/1.571, allocations: 0.5939 MB / 0.6626 GB, free: 16.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005007/1.576, allocations: 0.7627 MB / 0.6634 GB, free: 16.51 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05843/1.634, allocations: 24.46 MB / 0.6872 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003314/1.635, allocations: 79.22 kB / 0.6873 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001953/1.637, allocations: 370.6 kB / 0.6877 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005944/1.643, allocations: 4.541 MB / 0.6921 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0443/1.687, allocations: 19.15 MB / 0.7108 GB, free: 6.371 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1425/1.829, allocations: 85.66 MB / 0.7945 GB, free: 15.2 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0222/1.852, allocations: 7.78 MB / 0.8021 GB, free: 8.926 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006129/1.858, allocations: 3.1 MB / 0.8051 GB, free: 6.914 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03012/1.888, allocations: 13.1 MB / 0.8179 GB, free: 12.42 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.102e-05/1.888, allocations: 73.7 kB / 0.818 GB, free: 12.36 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=336): time 8.466e-06/1.888, allocations: 0 / 0.818 GB, free: 12.36 MB / 0.5763 GB Notification: Performance of matching and sorting (n=360): time 0.06313/1.951, allocations: 20.59 MB / 0.8381 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/1.951, allocations: 169.3 kB / 0.8382 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01873/1.97, allocations: 7.363 MB / 0.8454 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.00124/1.972, allocations: 83.45 kB / 0.8455 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.3171/2.289, allocations: 6.754 MB / 0.8521 GB, free: 244.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002207/2.291, allocations: 1.362 MB / 0.8534 GB, free: 243.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001129/2.292, allocations: 218.6 kB / 0.8536 GB, free: 243.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0008191/2.293, allocations: 0.7766 MB / 0.8544 GB, free: 243 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007298/2.3, allocations: 3.268 MB / 0.8576 GB, free: 243 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01279/2.313, allocations: 9.888 MB / 0.8672 GB, free: 234.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01112/2.324, allocations: 5.477 MB / 0.8726 GB, free: 232.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003933/2.325, allocations: 67.75 kB / 0.8726 GB, free: 232.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.03966/2.364, allocations: 12.86 MB / 0.8852 GB, free: 227.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007921/2.365, allocations: 103.9 kB / 0.8853 GB, free: 227.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001162/2.366, allocations: 233 kB / 0.8855 GB, free: 227.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001178/2.367, allocations: 342.3 kB / 0.8859 GB, free: 227.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.011/2.378, allocations: 2.571 MB / 0.8884 GB, free: 227 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000913/2.379, allocations: 467.3 kB / 0.8888 GB, free: 226.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009711/2.389, allocations: 0.5247 MB / 0.8893 GB, free: 226.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002786/2.392, allocations: 0.6571 MB / 0.89 GB, free: 226.6 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 (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.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[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.01563/2.408, allocations: 4.531 MB / 0.8944 GB, free: 224.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002618/2.41, allocations: 0.6593 MB / 0.895 GB, free: 224.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01124/2.422, allocations: 4.089 MB / 0.899 GB, free: 222.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.335e-05/2.422, allocations: 35.16 kB / 0.8991 GB, free: 222.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.161e-05/2.422, allocations: 3.875 kB / 0.8991 GB, free: 222.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.221e-05/2.422, allocations: 14.53 kB / 0.8991 GB, free: 222.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06517/2.487, allocations: 49.24 MB / 0.9472 GB, free: 182.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001142/2.487, allocations: 72 kB / 0.9472 GB, free: 182.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002661/2.49, allocations: 0.7487 MB / 0.948 GB, free: 181.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.788e-05/2.49, allocations: 112 kB / 0.9481 GB, free: 181.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002652/2.49, allocations: 170.5 kB / 0.9482 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-05/2.49, allocations: 143.4 kB / 0.9484 GB, free: 180.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.874e-05/2.49, allocations: 115.5 kB / 0.9485 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0082/2.498, allocations: 7.312 MB / 0.9556 GB, free: 172.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002533/2.501, allocations: 0.7889 MB / 0.9564 GB, free: 171.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00147/2.503, allocations: 175.9 kB / 0.9566 GB, free: 171.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003923/2.506, allocations: 214.2 kB / 0.9568 GB, free: 171.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004588/2.507, allocations: 494 kB / 0.9572 GB, free: 170.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002832/2.507, allocations: 207.2 kB / 0.9574 GB, free: 170.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008374/2.516, allocations: 4.575 MB / 0.9619 GB, free: 165.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.41e-07/2.516, allocations: 0 / 0.9619 GB, free: 165.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0137/2.529, allocations: 1.894 MB / 0.9637 GB, free: 164 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 334 * 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 (380): * Single equations (assignments): 377 * 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.001423/2.531, allocations: 362 kB / 0.9641 GB, free: 163.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01328/2.544, allocations: 7.719 MB / 0.9716 GB, free: 155.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.165e-05/2.544, allocations: 15.94 kB / 0.9716 GB, free: 155.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003446/2.548, allocations: 2.128 MB / 0.9737 GB, free: 153.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01018/2.558, allocations: 1.093 MB / 0.9748 GB, free: 152.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05082/2.609, allocations: 26.02 MB / 1 GB, free: 125.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01364/2.622, allocations: 6.93 MB / 1.007 GB, free: 118.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.009839/2.632, allocations: 3.308 MB / 1.01 GB, free: 115.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001497/2.634, allocations: 499.3 kB / 1.011 GB, free: 114.9 MB / 0.5919 GB Notification: Performance of SimCode: time 1.413e-06/2.634, allocations: 0 / 1.011 GB, free: 114.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.1053/2.739, allocations: 56.35 MB / 1.066 GB, free: 58.66 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1) Environment - environmentSimulation: