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.007749/0.007749, allocations: 102.8 kB / 15.73 MB, free: 6.035 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.001182/0.001182, allocations: 196.3 kB / 16.68 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.3765/0.3765, allocations: 39.94 MB / 309.8 MB, free: 9.289 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.001593/0.001593, allocations: 67.91 kB / 435.8 MB, free: 2.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4092/0.4108, allocations: 56.86 MB / 492.6 MB, free: 19.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.02245/0.4333, allocations: 21.24 MB / 0.5018 GB, free: 4.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0176/0.451, allocations: 6.077 MB / 0.5078 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007498/0.4585, allocations: 149.1 kB / 0.5079 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01601/0.4746, allocations: 7.658 MB / 0.5154 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0143/0.489, allocations: 3.652 MB / 0.519 GB, free: 8.031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005672/0.4947, allocations: 1.725 MB / 0.5206 GB, free: 6.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02022/0.5149, allocations: 9.595 MB / 0.53 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01322/0.5282, allocations: 9.514 MB / 0.5393 GB, free: 4.711 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008837/0.5371, allocations: 3.91 MB / 0.5431 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009497/0.5466, allocations: 5.312 MB / 0.5483 GB, free: 11.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004269/0.5509, allocations: 0.8711 MB / 0.5492 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006711/0.5577, allocations: 1.658 MB / 0.5508 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008277/0.566, allocations: 4.945 MB / 0.5556 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01643/0.5824, allocations: 5.508 MB / 0.561 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03066/0.6132, allocations: 17 MB / 0.5776 GB, free: 13.37 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.859e-06/0.6133, allocations: 8 kB / 0.5776 GB, free: 13.36 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.6133, allocations: 0 / 0.5776 GB, free: 13.36 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008849/0.6142, allocations: 0 / 0.5776 GB, free: 13.36 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: 3665 * Number of variables: 3665 Notification: Performance of Generate backend data structure: time 0.04085/0.6551, allocations: 11.37 MB / 0.5887 GB, free: 1.898 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001115/0.6552, allocations: 15.89 kB / 0.5887 GB, free: 1.883 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01624/0.6714, allocations: 3.017 MB / 0.5917 GB, free: 14.85 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01583/0.6873, allocations: 5.811 MB / 0.5973 GB, free: 8.957 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008359/0.6882, allocations: 0.6045 MB / 0.5979 GB, free: 8.352 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00397/0.6922, allocations: 0.7652 MB / 0.5987 GB, free: 7.586 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06283/0.755, allocations: 24.46 MB / 0.6226 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008338/0.756, allocations: 83.23 kB / 0.6226 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005138/0.7611, allocations: 363.7 kB / 0.623 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007757/0.7689, allocations: 4.539 MB / 0.6274 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6854/1.454, allocations: 19.2 MB / 0.6462 GB, free: 109.8 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1605/1.615, allocations: 85.31 MB / 0.7295 GB, free: 43.48 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02998/1.645, allocations: 7.802 MB / 0.7371 GB, free: 35.54 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006263/1.651, allocations: 3.123 MB / 0.7402 GB, free: 32.39 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02819/1.68, allocations: 13.1 MB / 0.7529 GB, free: 18.88 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.143e-05/1.68, allocations: 72.77 kB / 0.753 GB, free: 18.8 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=336): time 8.626e-06/1.68, allocations: 1.969 kB / 0.753 GB, free: 18.8 MB / 0.4982 GB Notification: Performance of matching and sorting (n=360): time 0.06266/1.742, allocations: 20.51 MB / 0.7731 GB, free: 14.22 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/1.743, allocations: 170.9 kB / 0.7732 GB, free: 14.02 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01487/1.757, allocations: 7.411 MB / 0.7805 GB, free: 6.641 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0012/1.759, allocations: 81.64 kB / 0.7805 GB, free: 6.555 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.00744/1.766, allocations: 6.768 MB / 0.7871 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002727/1.769, allocations: 1.357 MB / 0.7885 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00489/1.774, allocations: 2.19 MB / 0.7906 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001955/1.774, allocations: 305.1 kB / 0.7909 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006726/1.781, allocations: 3.313 MB / 0.7941 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01272/1.794, allocations: 9.927 MB / 0.8038 GB, free: 11.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02276/1.816, allocations: 14.4 MB / 0.8179 GB, free: 9.602 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003167/1.817, allocations: 68 kB / 0.818 GB, free: 9.535 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.0369/1.854, allocations: 12.94 MB / 0.8306 GB, free: 12.55 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002081/1.854, allocations: 104 kB / 0.8307 GB, free: 12.45 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004132/1.854, allocations: 232.9 kB / 0.8309 GB, free: 12.22 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004595/1.855, allocations: 316 kB / 0.8312 GB, free: 11.91 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0106/1.865, allocations: 2.577 MB / 0.8337 GB, free: 9.332 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006324/1.866, allocations: 458.2 kB / 0.8342 GB, free: 8.883 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009513/1.876, allocations: 0.5229 MB / 0.8347 GB, free: 8.359 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00211/1.878, allocations: 0.6562 MB / 0.8353 GB, free: 7.703 MB / 0.5763 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009339/1.887, allocations: 4.533 MB / 0.8397 GB, free: 3.152 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001381/1.889, allocations: 0.6633 MB / 0.8404 GB, free: 2.48 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008306/1.897, allocations: 4.093 MB / 0.8444 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001833/1.897, allocations: 39.94 kB / 0.8444 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/1.897, allocations: 0 / 0.8444 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.52e-05/1.897, allocations: 23.94 kB / 0.8444 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4201/2.317, allocations: 42.06 MB / 0.8855 GB, free: 178 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002778/2.318, allocations: 91.81 kB / 0.8856 GB, free: 178 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003314/2.321, allocations: 0.8613 MB / 0.8864 GB, free: 177.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001433/2.321, allocations: 118 kB / 0.8866 GB, free: 177.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000437/2.321, allocations: 206.6 kB / 0.8868 GB, free: 177.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001084/2.322, allocations: 180.8 kB / 0.8869 GB, free: 177.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.872e-05/2.322, allocations: 136.5 kB / 0.8871 GB, free: 177.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008347/2.33, allocations: 8.042 MB / 0.8949 GB, free: 171.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002701/2.333, allocations: 0.8276 MB / 0.8957 GB, free: 171.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001095/2.334, allocations: 216.4 kB / 0.8959 GB, free: 171.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00323/2.337, allocations: 205.4 kB / 0.8961 GB, free: 171.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006116/2.338, allocations: 0.5891 MB / 0.8967 GB, free: 171 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002825/2.338, allocations: 244.9 kB / 0.8969 GB, free: 171 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00732/2.345, allocations: 4.611 MB / 0.9014 GB, free: 169.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/2.345, allocations: 0 / 0.9014 GB, free: 169.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01727/2.363, allocations: 1.891 MB / 0.9033 GB, free: 169.3 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 (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.002048/2.365, allocations: 430.1 kB / 0.9037 GB, free: 169 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02103/2.386, allocations: 7.988 MB / 0.9115 GB, free: 165.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.841e-05/2.386, allocations: 12 kB / 0.9115 GB, free: 165.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006114/2.392, allocations: 2.223 MB / 0.9137 GB, free: 163.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01678/2.409, allocations: 1.173 MB / 0.9148 GB, free: 162.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05361/2.463, allocations: 22.33 MB / 0.9366 GB, free: 140.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01401/2.477, allocations: 6.974 MB / 0.9434 GB, free: 134.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.009026/2.486, allocations: 3.31 MB / 0.9467 GB, free: 131.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001693/2.488, allocations: 0.5033 MB / 0.9472 GB, free: 131 MB / 0.5919 GB Notification: Performance of SimCode: time 1.152e-06/2.488, allocations: 0 / 0.9472 GB, free: 131 MB / 0.5919 GB Notification: Performance of Templates: time 0.1029/2.59, allocations: 55.21 MB / 1.001 GB, free: 76.06 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile (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)