Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.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.CutTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007943/0.0007944, allocations: 86.64 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.0008027/0.0008026, 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.553/1.553, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.3296/0.3296, allocations: 38.03 MB / 308.4 MB, free: 10.45 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.0005918/0.0005919, allocations: 16 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1293, allocations: 57.52 MB / 434 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.3035/0.4328, allocations: 92.53 MB / 0.5141 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05296/0.4858, allocations: 18.41 MB / 0.5321 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02538/0.5113, allocations: 451.5 kB / 0.5326 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01966/0.531, allocations: 4.913 MB / 0.5373 GB, free: 13.15 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04688/0.5779, allocations: 14.46 MB / 0.5515 GB, free: 3.973 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006935/0.5848, allocations: 1.252 MB / 0.5527 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01408/0.5989, allocations: 9.717 MB / 0.5622 GB, free: 8.988 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01477/0.6137, allocations: 9.288 MB / 0.5713 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007146/0.6209, allocations: 2.659 MB / 0.5738 GB, free: 12.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008151/0.6291, allocations: 3.988 MB / 0.5777 GB, free: 8.969 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002572/0.6317, allocations: 296 kB / 0.578 GB, free: 8.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004199/0.636, allocations: 0.9792 MB / 0.579 GB, free: 7.699 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005508/0.6415, allocations: 3.479 MB / 0.5824 GB, free: 4.211 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003696/0.6452, allocations: 1.598 MB / 0.5839 GB, free: 2.602 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01405/0.6593, allocations: 10.43 MB / 0.5941 GB, free: 8.148 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.6593, allocations: 0 / 0.5941 GB, free: 8.148 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.108e-06/0.6593, allocations: 7.938 kB / 0.5941 GB, free: 8.141 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.00054/0.6599, allocations: 0 / 0.5941 GB, free: 8.141 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: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.01696/0.6768, allocations: 7.925 MB / 0.6019 GB, free: 128 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.6769, allocations: 8.031 kB / 0.6019 GB, free: 120 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/0.688, allocations: 2.77 MB / 0.6046 GB, free: 13.33 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009309/0.6974, allocations: 4.928 MB / 0.6094 GB, free: 8.324 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004564/0.6978, allocations: 487.8 kB / 0.6099 GB, free: 7.848 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002523/0.7004, allocations: 0.6167 MB / 0.6105 GB, free: 7.23 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03681/0.7372, allocations: 19.49 MB / 0.6295 GB, free: 2.531 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002151/0.7375, allocations: 71.34 kB / 0.6296 GB, free: 2.461 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009982/0.7385, allocations: 295.7 kB / 0.6298 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3686/1.107, allocations: 3.643 MB / 0.6334 GB, free: 141 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03044/1.138, allocations: 15.13 MB / 0.6482 GB, free: 138.4 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09356/1.231, allocations: 72.96 MB / 0.7194 GB, free: 88.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01434/1.246, allocations: 6.103 MB / 0.7254 GB, free: 83.67 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003403/1.249, allocations: 2.535 MB / 0.7279 GB, free: 81.12 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01633/1.265, allocations: 11.17 MB / 0.7388 GB, free: 69.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/1.265, allocations: 68.5 kB / 0.7388 GB, free: 69.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=250): time 4.939e-06/1.265, allocations: 0 / 0.7388 GB, free: 69.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=274): time 0.03579/1.301, allocations: 16.36 MB / 0.7548 GB, free: 53.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/1.301, allocations: 158.5 kB / 0.755 GB, free: 52.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007097/1.308, allocations: 6.732 MB / 0.7615 GB, free: 46.26 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004213/1.309, allocations: 77.14 kB / 0.7616 GB, free: 46.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002447/1.311, allocations: 5.728 MB / 0.7672 GB, free: 40.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008393/1.312, allocations: 1.054 MB / 0.7682 GB, free: 39.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000303/1.312, allocations: 192.8 kB / 0.7684 GB, free: 39.22 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003006/1.313, allocations: 0.7073 MB / 0.7691 GB, free: 38.51 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003495/1.316, allocations: 2.736 MB / 0.7718 GB, free: 35.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005409/1.322, allocations: 8.631 MB / 0.7802 GB, free: 24.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005989/1.328, allocations: 4.692 MB / 0.7848 GB, free: 19.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001069/1.328, allocations: 60 kB / 0.7849 GB, free: 19.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.01925/1.347, allocations: 11.03 MB / 0.7956 GB, free: 8.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/1.347, allocations: 96 kB / 0.7957 GB, free: 8.336 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001735/1.347, allocations: 213.2 kB / 0.7959 GB, free: 8.129 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002177/1.348, allocations: 308 kB / 0.7962 GB, free: 7.828 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006203/1.354, allocations: 2.207 MB / 0.7984 GB, free: 5.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002307/1.354, allocations: 410.4 kB / 0.7988 GB, free: 5.215 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005975/1.36, allocations: 470.7 kB / 0.7992 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001237/1.361, allocations: 0.5842 MB / 0.7998 GB, free: 4.176 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 951 * Number of states: 0 () * Number of discrete variables: 60 (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],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[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],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[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],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[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 (1195): * Single equations (assignments): 1184 * 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.005428/1.367, allocations: 3.76 MB / 0.8035 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009316/1.368, allocations: 0.5824 MB / 0.804 GB, free: 15.81 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004952/1.373, allocations: 2.979 MB / 0.8069 GB, free: 12.81 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.995e-05/1.373, allocations: 28 kB / 0.807 GB, free: 12.78 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/1.373, allocations: 0 / 0.807 GB, free: 12.78 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-05/1.373, allocations: 11.95 kB / 0.807 GB, free: 12.77 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2394/1.612, allocations: 25.11 MB / 0.8315 GB, free: 137.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.166e-05/1.612, allocations: 62.34 kB / 0.8315 GB, free: 137.8 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001816/1.614, allocations: 0.6112 MB / 0.8321 GB, free: 137.7 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.525e-05/1.614, allocations: 92.25 kB / 0.8322 GB, free: 137.7 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001886/1.614, allocations: 141.2 kB / 0.8324 GB, free: 137.6 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.058e-05/1.614, allocations: 126 kB / 0.8325 GB, free: 137.6 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.101e-05/1.615, allocations: 97.28 kB / 0.8326 GB, free: 137.6 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005286/1.62, allocations: 5.872 MB / 0.8383 GB, free: 133.3 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001327/1.621, allocations: 0.7142 MB / 0.839 GB, free: 133.1 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000584/1.622, allocations: 147.2 kB / 0.8392 GB, free: 133.1 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002241/1.624, allocations: 156.3 kB / 0.8393 GB, free: 133.1 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003446/1.624, allocations: 423.1 kB / 0.8397 GB, free: 132.9 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001987/1.625, allocations: 176.2 kB / 0.8399 GB, free: 132.9 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.006318/1.631, allocations: 4.194 MB / 0.844 GB, free: 131.6 MB / 0.4982 GB Notification: Performance of sort global known variables: time 6.01e-07/1.631, allocations: 0 / 0.844 GB, free: 131.6 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01069/1.642, allocations: 1.569 MB / 0.8455 GB, free: 131.4 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 288 * 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 (326): * Single equations (assignments): 323 * 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.001306/1.643, allocations: 327.1 kB / 0.8458 GB, free: 131.2 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01048/1.653, allocations: 6.393 MB / 0.8521 GB, free: 129.1 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-05/1.654, allocations: 8.969 kB / 0.8521 GB, free: 129.1 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.00267/1.656, allocations: 1.638 MB / 0.8537 GB, free: 128.5 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006864/1.663, allocations: 0.9482 MB / 0.8546 GB, free: 128.2 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03034/1.693, allocations: 21.38 MB / 0.8755 GB, free: 115.6 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007869/1.701, allocations: 5.8 MB / 0.8811 GB, free: 113.7 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.0077/1.709, allocations: 2.885 MB / 0.884 GB, free: 113.4 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001274/1.71, allocations: 423.5 kB / 0.8844 GB, free: 113.2 MB / 0.4982 GB Notification: Performance of SimCode: time 1.112e-06/1.71, allocations: 0 / 0.8844 GB, free: 113.2 MB / 0.4982 GB Notification: Performance of Templates: time 0.0831/1.794, allocations: 47.96 MB / 0.9312 GB, free: 69.71 MB / 0.4982 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) Environment - environmentSimulation: