Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.CutTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.000919/0.000919, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006402/0.006402, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.738/1.738, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.3887/0.3887, allocations: 40.01 MB / 310.7 MB, free: 9.59 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.0005776/0.0005776, allocations: 16 kB / 379.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.144, allocations: 57.96 MB / 437.4 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.3433/0.4874, allocations: 99.57 MB / 0.5244 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06301/0.5504, allocations: 19.18 MB / 0.5431 GB, free: 5.621 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02927/0.5797, allocations: 447 kB / 0.5436 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003858/0.5836, allocations: 0.7314 MB / 0.5443 GB, free: 5.258 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0132/0.5969, allocations: 3.019 MB / 0.5472 GB, free: 3.871 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005331/0.6022, allocations: 1.259 MB / 0.5484 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01848/0.6207, allocations: 12.18 MB / 0.5603 GB, free: 9.504 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01683/0.6376, allocations: 10.68 MB / 0.5708 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005824/0.6435, allocations: 2.479 MB / 0.5732 GB, free: 12.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008029/0.6516, allocations: 3.994 MB / 0.5771 GB, free: 8.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002558/0.6542, allocations: 296 kB / 0.5774 GB, free: 7.941 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004251/0.6584, allocations: 1.19 MB / 0.5785 GB, free: 6.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005312/0.6638, allocations: 3.549 MB / 0.582 GB, free: 3.191 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00905/0.6729, allocations: 3.945 MB / 0.5859 GB, free: 15.21 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02026/0.6932, allocations: 12.58 MB / 0.5981 GB, free: 2.586 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.6932, allocations: 0 / 0.5981 GB, free: 2.586 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.86e-06/0.6932, allocations: 0 / 0.5981 GB, free: 2.586 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007453/0.694, allocations: 0 / 0.5981 GB, free: 2.586 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.02313/0.7171, allocations: 7.812 MB / 0.6058 GB, free: 10.68 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.7172, allocations: 12.03 kB / 0.6058 GB, free: 10.67 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01271/0.7299, allocations: 2.77 MB / 0.6085 GB, free: 7.887 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01286/0.7428, allocations: 5.036 MB / 0.6134 GB, free: 2.77 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006843/0.7435, allocations: 488.3 kB / 0.6139 GB, free: 2.289 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003277/0.7468, allocations: 0.6167 MB / 0.6145 GB, free: 1.672 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5565/1.303, allocations: 19.52 MB / 0.6335 GB, free: 136.1 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003137/1.304, allocations: 74.23 kB / 0.6336 GB, free: 136.1 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001276/1.305, allocations: 299.1 kB / 0.6339 GB, free: 136.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00517/1.31, allocations: 3.641 MB / 0.6375 GB, free: 136 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03492/1.345, allocations: 15.21 MB / 0.6523 GB, free: 132.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1159/1.461, allocations: 73.01 MB / 0.7236 GB, free: 80.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01794/1.479, allocations: 6.12 MB / 0.7296 GB, free: 76.31 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004416/1.484, allocations: 2.542 MB / 0.7321 GB, free: 73.76 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02162/1.505, allocations: 11.17 MB / 0.743 GB, free: 62.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.932e-05/1.505, allocations: 64.5 kB / 0.743 GB, free: 62.13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=250): time 9.879e-06/1.505, allocations: 0 / 0.743 GB, free: 62.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=274): time 0.05029/1.556, allocations: 16.4 MB / 0.7591 GB, free: 45.76 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/1.556, allocations: 158.5 kB / 0.7592 GB, free: 45.58 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01565/1.572, allocations: 6.767 MB / 0.7658 GB, free: 38.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007076/1.572, allocations: 68.52 kB / 0.7659 GB, free: 38.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003893/1.576, allocations: 5.738 MB / 0.7715 GB, free: 33.01 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001448/1.578, allocations: 1.052 MB / 0.7725 GB, free: 31.97 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001922/1.58, allocations: 0.8217 MB / 0.7733 GB, free: 31.14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.703e-05/1.58, allocations: 301.1 kB / 0.7736 GB, free: 30.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005168/1.585, allocations: 2.775 MB / 0.7763 GB, free: 28.06 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008229/1.593, allocations: 8.666 MB / 0.7848 GB, free: 16.47 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01296/1.606, allocations: 12.43 MB / 0.7969 GB, free: 1.117 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000241/1.606, allocations: 60 kB / 0.797 GB, free: 1.059 MB / 494.1 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.02992/1.636, allocations: 11.12 MB / 0.8078 GB, free: 5.941 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004498/1.637, allocations: 92 kB / 0.8079 GB, free: 5.852 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005297/1.637, allocations: 211.9 kB / 0.8081 GB, free: 5.645 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005004/1.638, allocations: 280.7 kB / 0.8084 GB, free: 5.371 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008587/1.647, allocations: 2.211 MB / 0.8105 GB, free: 3.156 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005295/1.647, allocations: 414.4 kB / 0.8109 GB, free: 2.75 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008554/1.656, allocations: 464.8 kB / 0.8114 GB, free: 2.297 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001816/1.658, allocations: 0.5756 MB / 0.8119 GB, free: 1.723 MB / 0.4982 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01091/1.668, allocations: 3.76 MB / 0.8156 GB, free: 13.95 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001825/1.67, allocations: 0.5828 MB / 0.8162 GB, free: 13.36 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007227/1.678, allocations: 2.987 MB / 0.8191 GB, free: 10.35 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.396e-05/1.678, allocations: 28 kB / 0.8191 GB, free: 10.32 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.016e-05/1.678, allocations: 4 kB / 0.8191 GB, free: 10.32 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.786e-05/1.678, allocations: 15.94 kB / 0.8192 GB, free: 10.3 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3563/2.034, allocations: 25.13 MB / 0.8437 GB, free: 149.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.969e-05/2.034, allocations: 64.28 kB / 0.8438 GB, free: 149.7 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001841/2.036, allocations: 0.6122 MB / 0.8444 GB, free: 149.6 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-05/2.036, allocations: 82.47 kB / 0.8444 GB, free: 149.6 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001909/2.036, allocations: 134.7 kB / 0.8446 GB, free: 149.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.304e-05/2.036, allocations: 122.6 kB / 0.8447 GB, free: 149.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.378e-05/2.036, allocations: 104.8 kB / 0.8448 GB, free: 149.5 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005924/2.042, allocations: 5.888 MB / 0.8505 GB, free: 145.2 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001746/2.044, allocations: 0.7183 MB / 0.8512 GB, free: 145 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006527/2.045, allocations: 146.7 kB / 0.8514 GB, free: 145 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002357/2.047, allocations: 155.7 kB / 0.8515 GB, free: 145 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000433/2.048, allocations: 424.2 kB / 0.8519 GB, free: 144.8 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002107/2.048, allocations: 176.1 kB / 0.8521 GB, free: 144.8 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007536/2.055, allocations: 4.231 MB / 0.8562 GB, free: 143.4 MB / 0.5138 GB Notification: Performance of sort global known variables: time 5.21e-07/2.055, allocations: 0 / 0.8562 GB, free: 143.4 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01327/2.069, allocations: 1.562 MB / 0.8577 GB, free: 143.3 MB / 0.5138 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 (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.001551/2.07, allocations: 336.2 kB / 0.8581 GB, free: 143.1 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01233/2.083, allocations: 6.436 MB / 0.8644 GB, free: 141 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 6.574e-05/2.083, allocations: 13.97 kB / 0.8644 GB, free: 140.9 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.002829/2.086, allocations: 1.652 MB / 0.866 GB, free: 140.4 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06315/2.149, allocations: 0.9788 MB / 0.8669 GB, free: 140.1 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03584/2.185, allocations: 22.27 MB / 0.8887 GB, free: 126.5 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01457/2.199, allocations: 5.803 MB / 0.8943 GB, free: 124.6 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.01478/2.214, allocations: 2.889 MB / 0.8972 GB, free: 124 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0034/2.217, allocations: 423.3 kB / 0.8976 GB, free: 123.6 MB / 0.5138 GB Notification: Performance of SimCode: time 2.274e-06/2.217, allocations: 0 / 0.8976 GB, free: 123.6 MB / 0.5138 GB Notification: Performance of Templates: time 0.1004/2.318, allocations: 49.05 MB / 0.9455 GB, free: 78.74 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) Environment - environmentSimulation: