Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00471/0.004713, allocations: 103.9 kB / 15.73 MB, free: 6.473 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.00108/0.00108, allocations: 196.9 kB / 16.67 MB, free: 6.379 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.662/1.662, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.367/0.367, allocations: 38 MB / 307.9 MB, free: 9.984 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.001488/0.001488, allocations: 71.89 kB / 433 MB, free: 5.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4386/0.4401, allocations: 56.45 MB / 489.5 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01495/0.4552, allocations: 11.02 MB / 0.4887 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009819/0.465, allocations: 3.067 MB / 0.4917 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004172/0.4693, allocations: 53.56 kB / 0.4918 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005528/0.4749, allocations: 2.016 MB / 0.4938 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005641/0.4806, allocations: 1.205 MB / 0.4949 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.482, allocations: 285.8 kB / 0.4952 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005807/0.4878, allocations: 2.494 MB / 0.4976 GB, free: 7.633 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005137/0.493, allocations: 2.398 MB / 0.5 GB, free: 6.477 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003119/0.4961, allocations: 0.9701 MB / 0.5009 GB, free: 5.926 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003075/0.4992, allocations: 1.294 MB / 0.5022 GB, free: 5.137 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001179/0.5004, allocations: 218.9 kB / 0.5024 GB, free: 5.137 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002205/0.5026, allocations: 0.7114 MB / 0.5031 GB, free: 4.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00154/0.5042, allocations: 1.237 MB / 0.5043 GB, free: 4.152 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00167/0.5059, allocations: 1.469 MB / 0.5057 GB, free: 3.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006899/0.5128, allocations: 4.838 MB / 0.5105 GB, free: 15.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.5128, allocations: 4 kB / 0.5105 GB, free: 15.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.5128, allocations: 0 / 0.5105 GB, free: 15.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002204/0.5131, allocations: 1.281 kB / 0.5105 GB, free: 15.63 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.00953/0.5226, allocations: 3.147 MB / 0.5135 GB, free: 13.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.084e-05/0.5227, allocations: 13.42 kB / 0.5136 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006404/0.5291, allocations: 1.622 MB / 0.5151 GB, free: 12.47 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004701/0.5339, allocations: 1.427 MB / 0.5165 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002282/0.5341, allocations: 158.8 kB / 0.5167 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008737/0.535, allocations: 208.2 kB / 0.5169 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01505/0.5501, allocations: 6.974 MB / 0.5237 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001209/0.5502, allocations: 15.88 kB / 0.5237 GB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001075/0.5513, allocations: 95.89 kB / 0.5238 GB, free: 4.059 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002898/0.5542, allocations: 1.528 MB / 0.5253 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01513/0.5694, allocations: 5.949 MB / 0.5311 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04438/0.6138, allocations: 22.09 MB / 0.5527 GB, free: 5.875 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00606/0.6199, allocations: 2.187 MB / 0.5548 GB, free: 3.562 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/0.6216, allocations: 0.8203 MB / 0.5556 GB, free: 2.738 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009335/0.6309, allocations: 3.945 MB / 0.5595 GB, free: 14.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001079/0.6311, allocations: 43.22 kB / 0.5595 GB, free: 14.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 5.19e-06/0.6311, allocations: 0 / 0.5595 GB, free: 14.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.006607/0.6377, allocations: 2.268 MB / 0.5617 GB, free: 12.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.6378, allocations: 60.06 kB / 0.5618 GB, free: 12.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004409/0.6422, allocations: 2.045 MB / 0.5638 GB, free: 10.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.6423, allocations: 45.69 kB / 0.5638 GB, free: 10.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002018/0.6444, allocations: 2.007 MB / 0.5658 GB, free: 8.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005252/0.6449, allocations: 379.2 kB / 0.5661 GB, free: 7.695 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001474/0.6464, allocations: 0.6746 MB / 0.5668 GB, free: 7.012 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000263/0.6467, allocations: 357.9 kB / 0.5671 GB, free: 6.656 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001812/0.6485, allocations: 1.002 MB / 0.5681 GB, free: 5.652 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003746/0.6523, allocations: 2.992 MB / 0.571 GB, free: 1.668 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005353/0.6576, allocations: 4.367 MB / 0.5753 GB, free: 12.31 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.558e-05/0.6577, allocations: 24 kB / 0.5753 GB, free: 12.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.007193/0.6649, allocations: 3.882 MB / 0.5791 GB, free: 8.398 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.404e-05/0.665, allocations: 36 kB / 0.5792 GB, free: 8.363 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001415/0.6652, allocations: 68 kB / 0.5792 GB, free: 8.297 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001105/0.6653, allocations: 96 kB / 0.5793 GB, free: 8.203 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002278/0.6676, allocations: 0.729 MB / 0.58 GB, free: 7.473 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001318/0.6677, allocations: 135.5 kB / 0.5802 GB, free: 7.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002766/0.6705, allocations: 455.5 kB / 0.5806 GB, free: 6.891 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003771/0.6709, allocations: 204 kB / 0.5808 GB, free: 6.691 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * Number of states: 0 () * Number of discrete variables: 24 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (401): * Single equations (assignments): 396 * Array equations: 5 * 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.003079/0.674, allocations: 1.466 MB / 0.5822 GB, free: 5.211 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004564/0.6744, allocations: 169.8 kB / 0.5824 GB, free: 5.043 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002379/0.6768, allocations: 1.237 MB / 0.5836 GB, free: 3.801 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-05/0.6769, allocations: 15.98 kB / 0.5836 GB, free: 3.785 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.6769, allocations: 0 / 0.5836 GB, free: 3.785 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.6769, allocations: 0 / 0.5836 GB, free: 3.785 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0114/0.6883, allocations: 5.033 MB / 0.5885 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-05/0.6884, allocations: 8 kB / 0.5885 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000609/0.689, allocations: 147.7 kB / 0.5887 GB, free: 14.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.002e-05/0.689, allocations: 12.78 kB / 0.5887 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.436e-05/0.6891, allocations: 27.98 kB / 0.5887 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.594e-05/0.6892, allocations: 23.94 kB / 0.5887 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.082e-05/0.6892, allocations: 15.94 kB / 0.5887 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002226/0.6914, allocations: 1.585 MB / 0.5903 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006873/0.6921, allocations: 274.5 kB / 0.5905 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003988/0.6925, allocations: 27.98 kB / 0.5906 GB, free: 12.26 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008977/0.6934, allocations: 35.88 kB / 0.5906 GB, free: 12.22 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.6936, allocations: 79.69 kB / 0.5907 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.569e-05/0.6937, allocations: 43.98 kB / 0.5907 GB, free: 12.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002772/0.6965, allocations: 1.34 MB / 0.592 GB, free: 10.74 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6965, allocations: 3.938 kB / 0.592 GB, free: 10.73 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004045/0.7005, allocations: 0.7777 MB / 0.5928 GB, free: 9.953 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.0004605/0.701, allocations: 158.8 kB / 0.5929 GB, free: 9.785 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004369/0.7054, allocations: 2.323 MB / 0.5952 GB, free: 7.488 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/0.7054, allocations: 3.938 kB / 0.5952 GB, free: 7.484 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008372/0.7062, allocations: 0.5613 MB / 0.5958 GB, free: 6.926 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/0.7083, allocations: 261.8 kB / 0.596 GB, free: 6.668 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01353/0.7218, allocations: 5.731 MB / 0.6016 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004242/0.7261, allocations: 2.458 MB / 0.604 GB, free: 14.29 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003211/0.7293, allocations: 1.047 MB / 0.605 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005822/0.7299, allocations: 135.4 kB / 0.6052 GB, free: 13.1 MB / 494.1 MB Notification: Performance of SimCode: time 9.32e-07/0.73, allocations: 0 / 0.6052 GB, free: 13.1 MB / 494.1 MB Notification: Performance of Templates: time 0.03953/0.7695, allocations: 16.96 MB / 0.6217 GB, free: 12.14 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1)