Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.CutTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.0008325/0.0008324, allocations: 86.72 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.0009492/0.0009492, 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.74/1.74, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.3627/0.3627, allocations: 40.01 MB / 310.4 MB, free: 9.93 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.0005602/0.0005605, allocations: 20.22 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1429, allocations: 57.95 MB / 436.8 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.3303/0.4732, allocations: 35.26 MB / 472.1 MB, free: 32.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01761/0.4909, allocations: 7.323 MB / 479.4 MB, free: 28.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009757/0.5007, allocations: 159.1 kB / 479.5 MB, free: 28.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00669/0.5074, allocations: 1.528 MB / 481.1 MB, free: 28.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01424/0.5217, allocations: 4.459 MB / 485.5 MB, free: 26.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002041/0.5238, allocations: 243.3 kB / 485.8 MB, free: 26.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004332/0.5281, allocations: 2.838 MB / 488.6 MB, free: 25.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004798/0.5329, allocations: 3.04 MB / 491.6 MB, free: 24.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001591/0.5346, allocations: 0.7365 MB / 492.4 MB, free: 23.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001401/0.536, allocations: 1.149 MB / 493.5 MB, free: 23.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002401/0.5362, allocations: 98.91 kB / 493.6 MB, free: 23.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009984/0.5372, allocations: 0.5293 MB / 494.1 MB, free: 23.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008725/0.5381, allocations: 1.069 MB / 495.2 MB, free: 23.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005269/0.5387, allocations: 0.5602 MB / 495.8 MB, free: 22.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006107/0.5448, allocations: 3.72 MB / 499.5 MB, free: 21.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.5448, allocations: 0 / 499.5 MB, free: 21.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5448, allocations: 0 / 499.5 MB, free: 21.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002099/0.545, allocations: 0 / 499.5 MB, free: 21.91 MB / 382.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.008524/0.5536, allocations: 2.628 MB / 0.4904 GB, free: 20.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.5536, allocations: 9.5 kB / 0.4904 GB, free: 20.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006968/0.5606, allocations: 1.66 MB / 0.492 GB, free: 20.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004432/0.5651, allocations: 1.388 MB / 0.4933 GB, free: 19.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002132/0.5653, allocations: 156.5 kB / 0.4935 GB, free: 19.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001061/0.5664, allocations: 208.3 kB / 0.4937 GB, free: 19.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01771/0.5841, allocations: 6.948 MB / 0.5005 GB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.402e-05/0.5843, allocations: 17.66 kB / 0.5005 GB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003179/0.5846, allocations: 105 kB / 0.5006 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002791/0.5874, allocations: 1.533 MB / 0.5021 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01671/0.6041, allocations: 5.91 MB / 0.5079 GB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03412/0.6383, allocations: 22.25 MB / 0.5296 GB, free: 8.031 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004761/0.6431, allocations: 2.179 MB / 0.5317 GB, free: 5.727 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/0.6444, allocations: 0.801 MB / 0.5325 GB, free: 4.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007589/0.652, allocations: 3.966 MB / 0.5364 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.6521, allocations: 35.22 kB / 0.5364 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 4.018e-06/0.6521, allocations: 3.938 kB / 0.5364 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of matching and sorting (n=96): time 0.005539/0.6576, allocations: 2.248 MB / 0.5386 GB, free: 14.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.6577, allocations: 60.06 kB / 0.5387 GB, free: 14.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004002/0.6617, allocations: 2.045 MB / 0.5407 GB, free: 12.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.267e-05/0.6618, allocations: 41.69 kB / 0.5407 GB, free: 12.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001509/0.6633, allocations: 2.007 MB / 0.5427 GB, free: 10.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003782/0.6637, allocations: 383.1 kB / 0.543 GB, free: 9.883 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.6639, allocations: 63.98 kB / 0.5431 GB, free: 9.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003322/0.6642, allocations: 0.498 MB / 0.5436 GB, free: 9.312 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.6657, allocations: 0.9824 MB / 0.5445 GB, free: 8.328 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002902/0.6687, allocations: 2.984 MB / 0.5474 GB, free: 4.352 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002384/0.6711, allocations: 1.717 MB / 0.5491 GB, free: 2.637 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.28e-05/0.6711, allocations: 23.95 kB / 0.5491 GB, free: 2.613 MB / 414.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.005984/0.6771, allocations: 3.851 MB / 0.5529 GB, free: 14.76 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.648e-05/0.6772, allocations: 36 kB / 0.5529 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.817e-05/0.6773, allocations: 72 kB / 0.553 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001252/0.6774, allocations: 104 kB / 0.5531 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001943/0.6794, allocations: 0.729 MB / 0.5538 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001145/0.6795, allocations: 139.4 kB / 0.5539 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00277/0.6823, allocations: 459.5 kB / 0.5544 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002829/0.6826, allocations: 200 kB / 0.5546 GB, free: 13.04 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003171/0.6857, allocations: 1.462 MB / 0.556 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003504/0.6861, allocations: 177.6 kB / 0.5562 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002206/0.6883, allocations: 1.241 MB / 0.5574 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.397e-05/0.6883, allocations: 12 kB / 0.5574 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.6884, allocations: 0 / 0.5574 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.6884, allocations: 3.984 kB / 0.5574 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008495/0.6969, allocations: 5.021 MB / 0.5623 GB, free: 4.895 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/0.6969, allocations: 8.938 kB / 0.5623 GB, free: 4.887 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005347/0.6975, allocations: 143.7 kB / 0.5625 GB, free: 4.746 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-05/0.6975, allocations: 23.95 kB / 0.5625 GB, free: 4.723 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.645e-05/0.6976, allocations: 24 kB / 0.5625 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-05/0.6976, allocations: 19.92 kB / 0.5625 GB, free: 4.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.164e-05/0.6976, allocations: 15.94 kB / 0.5625 GB, free: 4.664 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.6995, allocations: 1.566 MB / 0.5641 GB, free: 2.941 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005532/0.7001, allocations: 278.5 kB / 0.5643 GB, free: 2.648 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/0.7003, allocations: 31.94 kB / 0.5644 GB, free: 2.617 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000552/0.7008, allocations: 35.88 kB / 0.5644 GB, free: 2.582 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.701, allocations: 79.72 kB / 0.5645 GB, free: 2.504 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.297e-05/0.701, allocations: 47.97 kB / 0.5645 GB, free: 2.457 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001957/0.703, allocations: 1.325 MB / 0.5658 GB, free: 1.109 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.703, allocations: 7.938 kB / 0.5658 GB, free: 1.102 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003175/0.7062, allocations: 0.7738 MB / 0.5666 GB, free: 332 kB / 430.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 (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.0003717/0.7066, allocations: 155 kB / 0.5667 GB, free: 164 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003792/0.7104, allocations: 2.283 MB / 0.5689 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.7104, allocations: 0 / 0.5689 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009234/0.7113, allocations: 0.5621 MB / 0.5695 GB, free: 13.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002089/0.7134, allocations: 250 kB / 0.5697 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01515/0.7286, allocations: 6.985 MB / 0.5766 GB, free: 5.949 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004338/0.733, allocations: 2.462 MB / 0.579 GB, free: 3.457 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003222/0.7362, allocations: 1.032 MB / 0.58 GB, free: 2.422 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004995/0.7368, allocations: 143.4 kB / 0.5801 GB, free: 2.285 MB / 446.1 MB Notification: Performance of SimCode: time 8.01e-07/0.7368, allocations: 0 / 0.5801 GB, free: 2.285 MB / 446.1 MB Notification: Performance of Templates: time 0.03724/0.774, allocations: 15.04 MB / 0.5948 GB, free: 3.285 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) Environment - environmentSimulation: