Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001012/0.001011, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001083/0.001083, allocations: 197.7 kB / 16.14 MB, free: 6.711 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.746/1.746, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4247/0.4247, allocations: 37.98 MB / 307.3 MB, free: 9.934 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.1. 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.001693/0.001693, allocations: 66.42 kB / 374.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1508, allocations: 56.47 MB / 431 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.3936/0.5445, allocations: 133.1 MB / 0.5509 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.08275/0.6273, allocations: 24.67 MB / 0.575 GB, free: 9.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.04292/0.6703, allocations: 0.5651 MB / 0.5756 GB, free: 8.953 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01513/0.6856, allocations: 7.677 MB / 0.5831 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01338/0.699, allocations: 3.472 MB / 0.5865 GB, free: 13.78 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005368/0.7044, allocations: 1.619 MB / 0.588 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.02209/0.7265, allocations: 14.2 MB / 0.6019 GB, free: 13.94 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01657/0.7432, allocations: 9.418 MB / 0.6111 GB, free: 4.477 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01064/0.7539, allocations: 3.527 MB / 0.6146 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0116/0.7655, allocations: 5.616 MB / 0.62 GB, free: 11.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004604/0.7702, allocations: 0.6367 MB / 0.6207 GB, free: 10.67 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007456/0.7777, allocations: 1.502 MB / 0.6221 GB, free: 9.164 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008803/0.7865, allocations: 4.699 MB / 0.6267 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3731/1.16, allocations: 5.288 MB / 0.6319 GB, free: 25.56 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02665/1.186, allocations: 16.18 MB / 0.6477 GB, free: 24.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/1.186, allocations: 1.938 kB / 0.6477 GB, free: 24.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.484e-06/1.186, allocations: 0 / 0.6477 GB, free: 24.75 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0008916/1.187, allocations: 3.375 kB / 0.6477 GB, free: 24.75 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.0436/1.231, allocations: 11.37 MB / 0.6588 GB, free: 20.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/1.231, allocations: 8.938 kB / 0.6588 GB, free: 20.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01795/1.249, allocations: 3.017 MB / 0.6617 GB, free: 19.97 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01969/1.269, allocations: 5.699 MB / 0.6673 GB, free: 18.88 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001172/1.27, allocations: 0.5913 MB / 0.6679 GB, free: 18.86 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007562/1.278, allocations: 0.7751 MB / 0.6686 GB, free: 18.85 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07039/1.348, allocations: 24.47 MB / 0.6925 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005875/1.349, allocations: 78.58 kB / 0.6926 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006159/1.355, allocations: 368.7 kB / 0.693 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008438/1.363, allocations: 4.542 MB / 0.6974 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04685/1.41, allocations: 19.2 MB / 0.7162 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1536/1.564, allocations: 85.84 MB / 0.8 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02265/1.586, allocations: 7.749 MB / 0.8075 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006157/1.593, allocations: 3.132 MB / 0.8106 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03055/1.623, allocations: 13.1 MB / 0.8234 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.415e-05/1.623, allocations: 67.97 kB / 0.8235 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=336): time 7.114e-06/1.623, allocations: 0 / 0.8235 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of matching and sorting (n=360): time 0.06389/1.687, allocations: 20.51 MB / 0.8435 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001457/1.687, allocations: 170.2 kB / 0.8437 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01656/1.704, allocations: 7.415 MB / 0.8509 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.001117/1.705, allocations: 87.38 kB / 0.851 GB, free: 444 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.2591/1.964, allocations: 6.757 MB / 0.8576 GB, free: 278.8 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.003314/1.968, allocations: 1.361 MB / 0.8589 GB, free: 278 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00698/1.975, allocations: 2.199 MB / 0.8611 GB, free: 277.8 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 6.967e-05/1.975, allocations: 303.3 kB / 0.8613 GB, free: 277.5 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01145/1.986, allocations: 3.312 MB / 0.8646 GB, free: 276.6 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01568/2.002, allocations: 9.927 MB / 0.8743 GB, free: 266.7 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02264/2.025, allocations: 14.4 MB / 0.8883 GB, free: 254.3 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005482/2.025, allocations: 71.19 kB / 0.8884 GB, free: 254.3 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.03705/2.062, allocations: 12.94 MB / 0.901 GB, free: 249.3 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002048/2.063, allocations: 107.3 kB / 0.9011 GB, free: 249.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000382/2.063, allocations: 233.6 kB / 0.9014 GB, free: 249.3 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003205/2.063, allocations: 311.8 kB / 0.9017 GB, free: 249.3 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00948/2.073, allocations: 2.583 MB / 0.9042 GB, free: 249 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00073/2.074, allocations: 461.8 kB / 0.9046 GB, free: 248.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01081/2.085, allocations: 0.525 MB / 0.9051 GB, free: 248.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002461/2.087, allocations: 0.661 MB / 0.9058 GB, free: 248.6 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01267/2.1, allocations: 4.518 MB / 0.9102 GB, free: 246.6 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002467/2.102, allocations: 0.6618 MB / 0.9108 GB, free: 246.2 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009292/2.112, allocations: 4.098 MB / 0.9148 GB, free: 244.6 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.671e-05/2.112, allocations: 43.09 kB / 0.9149 GB, free: 244.5 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/2.112, allocations: 3.562 kB / 0.9149 GB, free: 244.5 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.08e-05/2.112, allocations: 15.28 kB / 0.9149 GB, free: 244.5 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07325/2.185, allocations: 49.26 MB / 0.963 GB, free: 202.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002076/2.185, allocations: 72.19 kB / 0.9631 GB, free: 202.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004263/2.189, allocations: 0.7453 MB / 0.9638 GB, free: 202.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.472e-05/2.19, allocations: 103.9 kB / 0.9639 GB, free: 202 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004949/2.19, allocations: 175.1 kB / 0.9641 GB, free: 201.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001002/2.19, allocations: 143.4 kB / 0.9642 GB, free: 201.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.721e-05/2.19, allocations: 115.5 kB / 0.9643 GB, free: 201.6 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01119/2.201, allocations: 7.332 MB / 0.9715 GB, free: 193 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003303/2.205, allocations: 0.7876 MB / 0.9723 GB, free: 192.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002209/2.207, allocations: 171.9 kB / 0.9724 GB, free: 192.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005594/2.213, allocations: 211.2 kB / 0.9726 GB, free: 191.9 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007267/2.213, allocations: 497.6 kB / 0.9731 GB, free: 191.4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003455/2.214, allocations: 208 kB / 0.9733 GB, free: 191.2 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.008239/2.222, allocations: 4.617 MB / 0.9778 GB, free: 186.6 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6.01e-07/2.222, allocations: 0 / 0.9778 GB, free: 186.6 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.01355/2.236, allocations: 1.892 MB / 0.9796 GB, free: 184.7 MB / 0.6231 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 (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.00144/2.237, allocations: 367.6 kB / 0.98 GB, free: 184.3 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01622/2.253, allocations: 7.77 MB / 0.9876 GB, free: 176.6 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.876e-05/2.253, allocations: 15.94 kB / 0.9876 GB, free: 176.6 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003704/2.257, allocations: 2.143 MB / 0.9897 GB, free: 174.5 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01065/2.268, allocations: 1.085 MB / 0.9908 GB, free: 173.4 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04535/2.313, allocations: 27.06 MB / 1.017 GB, free: 145.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01456/2.328, allocations: 6.934 MB / 1.024 GB, free: 138.3 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0107/2.339, allocations: 3.303 MB / 1.027 GB, free: 135 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002006/2.341, allocations: 491.3 kB / 1.028 GB, free: 134.5 MB / 0.6231 GB Notification: Performance of SimCode: time 1.513e-06/2.341, allocations: 0 / 1.028 GB, free: 134.5 MB / 0.6231 GB Notification: Performance of Templates: time 0.107/2.448, allocations: 58.05 MB / 1.084 GB, free: 76.6 MB / 0.6231 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1)