Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.CutForceAndTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001089/0.001089, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.001507/0.001507, allocations: 182.9 kB / 16.28 MB, free: 6.656 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.529/1.529, allocations: 205.4 MB / 222.5 MB, free: 5.551 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.3206/0.3206, allocations: 38.04 MB / 308.8 MB, free: 10.36 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.0005727/0.0005728, allocations: 12.22 kB / 377.1 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1137, allocations: 57.51 MB / 434.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.3234/0.4372, allocations: 130.2 MB / 0.5515 GB, free: 15.07 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.06451/0.5017, allocations: 24.6 MB / 0.5755 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.04027/0.542, allocations: 0.5573 MB / 0.5761 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003968/0.546, allocations: 0.8684 MB / 0.5769 GB, free: 10.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.5569, allocations: 3.464 MB / 0.5803 GB, free: 6.621 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00374/0.5607, allocations: 1.384 MB / 0.5817 GB, free: 5.238 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01748/0.5782, allocations: 14.2 MB / 0.5955 GB, free: 7.02 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0191/0.5973, allocations: 12.95 MB / 0.6082 GB, free: 9.973 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007192/0.6046, allocations: 2.883 MB / 0.611 GB, free: 7.078 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009302/0.6139, allocations: 4.796 MB / 0.6157 GB, free: 2.266 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002194/0.6162, allocations: 380 kB / 0.616 GB, free: 1.895 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004168/0.6203, allocations: 1.244 MB / 0.6173 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007822/0.6282, allocations: 4.312 MB / 0.6215 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008268/0.6365, allocations: 4.818 MB / 0.6262 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4963/1.133, allocations: 15.67 MB / 0.6415 GB, free: 24.85 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.133, allocations: 0 / 0.6415 GB, free: 24.85 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.214e-06/1.133, allocations: 3.688 kB / 0.6415 GB, free: 24.85 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0006011/1.133, allocations: 0 / 0.6415 GB, free: 24.85 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.02122/1.155, allocations: 9.25 MB / 0.6505 GB, free: 20.86 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/1.155, allocations: 10.53 kB / 0.6505 GB, free: 20.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01384/1.169, allocations: 3.079 MB / 0.6535 GB, free: 20.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01308/1.182, allocations: 5.695 MB / 0.6591 GB, free: 19.08 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00113/1.183, allocations: 0.5969 MB / 0.6597 GB, free: 19.06 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003853/1.187, allocations: 0.7639 MB / 0.6604 GB, free: 19.05 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05766/1.244, allocations: 24.51 MB / 0.6844 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00107/1.246, allocations: 92.2 kB / 0.6844 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004831/1.25, allocations: 365 kB / 0.6848 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006983/1.258, allocations: 4.54 MB / 0.6892 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04031/1.298, allocations: 19.26 MB / 0.708 GB, free: 3.188 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1403/1.438, allocations: 85.71 MB / 0.7917 GB, free: 12.76 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02395/1.462, allocations: 7.846 MB / 0.7994 GB, free: 4.789 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006/1.468, allocations: 3.117 MB / 0.8024 GB, free: 1.66 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02972/1.498, allocations: 13.11 MB / 0.8152 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.842e-05/1.498, allocations: 74.88 kB / 0.8153 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=336): time 6.643e-06/1.498, allocations: 2.078 kB / 0.8153 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of matching and sorting (n=360): time 0.06471/1.563, allocations: 20.62 MB / 0.8354 GB, free: 15.51 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/1.563, allocations: 170.3 kB / 0.8356 GB, free: 15.31 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01724/1.58, allocations: 7.416 MB / 0.8428 GB, free: 7.938 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.001155/1.582, allocations: 77.7 kB / 0.8429 GB, free: 7.855 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.006682/1.588, allocations: 6.767 MB / 0.8495 GB, free: 1.113 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.2648/1.853, allocations: 1.357 MB / 0.8509 GB, free: 278 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0034/1.856, allocations: 0.949 MB / 0.8518 GB, free: 278 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 5.663e-05/1.857, allocations: 302.9 kB / 0.8521 GB, free: 277.7 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00821/1.865, allocations: 3.312 MB / 0.8553 GB, free: 277.7 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01073/1.876, allocations: 9.926 MB / 0.865 GB, free: 268.4 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01449/1.89, allocations: 14.4 MB / 0.8791 GB, free: 255.9 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000255/1.89, allocations: 66.75 kB / 0.8791 GB, free: 255.9 MB / 0.6232 GB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.02836/1.919, allocations: 12.93 MB / 0.8918 GB, free: 251.3 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002189/1.919, allocations: 104.7 kB / 0.8919 GB, free: 251.3 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004276/1.919, allocations: 232.1 kB / 0.8921 GB, free: 251.3 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004605/1.92, allocations: 310.5 kB / 0.8924 GB, free: 251.3 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01013/1.93, allocations: 2.588 MB / 0.8949 GB, free: 251 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/1.931, allocations: 457.2 kB / 0.8953 GB, free: 250.9 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008065/1.939, allocations: 0.5167 MB / 0.8958 GB, free: 250.7 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00197/1.941, allocations: 0.6621 MB / 0.8965 GB, free: 250.6 MB / 0.6232 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.01291/1.954, allocations: 4.539 MB / 0.9009 GB, free: 248.7 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001598/1.956, allocations: 0.6534 MB / 0.9016 GB, free: 248.7 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007199/1.963, allocations: 4.094 MB / 0.9056 GB, free: 247 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.532e-05/1.963, allocations: 43.22 kB / 0.9056 GB, free: 247 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/1.963, allocations: 0 / 0.9056 GB, free: 247 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.109e-05/1.963, allocations: 19.25 kB / 0.9056 GB, free: 247 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05915/2.022, allocations: 42.07 MB / 0.9467 GB, free: 217 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.487e-05/2.022, allocations: 88 kB / 0.9468 GB, free: 216.9 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002496/2.025, allocations: 0.8655 MB / 0.9476 GB, free: 216.1 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.886e-05/2.025, allocations: 120 kB / 0.9477 GB, free: 216 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000254/2.025, allocations: 196 kB / 0.9479 GB, free: 215.8 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.856e-05/2.025, allocations: 176.6 kB / 0.9481 GB, free: 215.6 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.269e-05/2.025, allocations: 143.7 kB / 0.9482 GB, free: 215.5 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007205/2.033, allocations: 8.048 MB / 0.9561 GB, free: 206.2 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002087/2.035, allocations: 0.8356 MB / 0.9569 GB, free: 205.4 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001162/2.036, allocations: 203.9 kB / 0.9571 GB, free: 205.2 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003588/2.04, allocations: 215.9 kB / 0.9573 GB, free: 204.9 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005401/2.04, allocations: 0.6019 MB / 0.9579 GB, free: 204.3 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000284/2.04, allocations: 248.2 kB / 0.9581 GB, free: 204.1 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.007789/2.048, allocations: 4.61 MB / 0.9626 GB, free: 199.5 MB / 0.6232 GB Notification: Performance of sort global known variables: time 6.51e-07/2.048, allocations: 0 / 0.9626 GB, free: 199.5 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01499/2.063, allocations: 1.894 MB / 0.9645 GB, free: 197.6 MB / 0.6232 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.001339/2.065, allocations: 424.3 kB / 0.9649 GB, free: 197.2 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.01436/2.079, allocations: 7.763 MB / 0.9725 GB, free: 189.5 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 9.208e-05/2.079, allocations: 16.56 kB / 0.9725 GB, free: 189.5 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.00367/2.083, allocations: 2.22 MB / 0.9747 GB, free: 187.3 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1073/2.19, allocations: 1.169 MB / 0.9758 GB, free: 186.1 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04234/2.232, allocations: 27.67 MB / 1.003 GB, free: 157.2 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01158/2.244, allocations: 6.97 MB / 1.01 GB, free: 150.1 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.01014/2.254, allocations: 3.314 MB / 1.013 GB, free: 146.8 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00226/2.257, allocations: 0.5033 MB / 1.013 GB, free: 146.3 MB / 0.6232 GB Notification: Performance of SimCode: time 1.513e-06/2.257, allocations: 0 / 1.013 GB, free: 146.3 MB / 0.6232 GB Notification: Performance of Templates: time 0.1093/2.366, allocations: 59.07 MB / 1.071 GB, free: 87.37 MB / 0.6232 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) Environment - environmentSimulation: