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.001154/0.001154, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001027/0.001027, allocations: 177.3 kB / 15.95 MB, free: 216 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.69/1.69, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.3766/0.3766, allocations: 38.04 MB / 308.4 MB, free: 10.39 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.0006181/0.0006183, allocations: 12 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1512, allocations: 57.53 MB / 433.9 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.3331/0.4844, allocations: 33.37 MB / 467.3 MB, free: 32.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02158/0.506, allocations: 7.655 MB / 475 MB, free: 31.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008844/0.5149, allocations: 160 kB / 475.1 MB, free: 31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007358/0.5223, allocations: 1.677 MB / 476.8 MB, free: 30.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01898/0.5414, allocations: 4.813 MB / 481.6 MB, free: 29.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00253/0.5439, allocations: 221.8 kB / 481.8 MB, free: 29.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003675/0.5476, allocations: 1.375 MB / 483.2 MB, free: 28.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005258/0.5529, allocations: 3.004 MB / 486.2 MB, free: 27.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001639/0.5546, allocations: 0.604 MB / 486.8 MB, free: 27.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/0.5563, allocations: 0.7857 MB / 487.6 MB, free: 27.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006776/0.557, allocations: 97.88 kB / 487.7 MB, free: 27.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001716/0.5588, allocations: 0.5176 MB / 488.2 MB, free: 26.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001617/0.5604, allocations: 0.9982 MB / 489.2 MB, free: 26.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.5618, allocations: 0.5724 MB / 489.8 MB, free: 26.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005704/0.5675, allocations: 3.713 MB / 493.5 MB, free: 25.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.5675, allocations: 0 / 493.5 MB, free: 25.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.338e-06/0.5675, allocations: 0 / 493.5 MB, free: 25.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002347/0.5678, allocations: 0 / 493.5 MB, free: 25.45 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.006985/0.5748, allocations: 2.665 MB / 496.2 MB, free: 23.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.131e-05/0.5749, allocations: 12.84 kB / 496.2 MB, free: 23.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008012/0.5829, allocations: 1.955 MB / 498.1 MB, free: 23.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004866/0.5878, allocations: 1.385 MB / 499.5 MB, free: 22.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002163/0.5881, allocations: 163.5 kB / 499.7 MB, free: 22.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001011/0.5891, allocations: 206.6 kB / 499.9 MB, free: 22.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01544/0.6045, allocations: 6.989 MB / 0.495 GB, free: 19.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.423e-05/0.6047, allocations: 13.28 kB / 0.495 GB, free: 19.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000339/0.605, allocations: 101.8 kB / 0.4951 GB, free: 19.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002846/0.6079, allocations: 1.522 MB / 0.4966 GB, free: 19.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0155/0.6234, allocations: 5.975 MB / 0.5024 GB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04126/0.6647, allocations: 22.29 MB / 0.5242 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00493/0.6697, allocations: 2.187 MB / 0.5263 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008253/0.678, allocations: 3.993 MB / 0.5302 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.195e-05/0.6781, allocations: 43.22 kB / 0.5302 GB, free: 8.098 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 5.089e-06/0.6781, allocations: 0 / 0.5302 GB, free: 8.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=96): time 0.006442/0.6845, allocations: 2.497 MB / 0.5327 GB, free: 5.539 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.6846, allocations: 68.05 kB / 0.5327 GB, free: 5.461 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00346/0.6881, allocations: 2.045 MB / 0.5347 GB, free: 3.367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.919e-05/0.6882, allocations: 41.64 kB / 0.5348 GB, free: 3.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001531/0.6898, allocations: 2.007 MB / 0.5367 GB, free: 1.281 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004063/0.6902, allocations: 379.2 kB / 0.5371 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.6903, allocations: 60 kB / 0.5372 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003179/0.6906, allocations: 0.4941 MB / 0.5376 GB, free: 352 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001498/0.6921, allocations: 0.9901 MB / 0.5386 GB, free: 15.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00289/0.695, allocations: 2.972 MB / 0.5415 GB, free: 11.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00243/0.6975, allocations: 1.71 MB / 0.5432 GB, free: 9.676 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-05/0.6975, allocations: 20 kB / 0.5432 GB, free: 9.656 MB / 414.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.006703/0.7042, allocations: 3.87 MB / 0.547 GB, free: 5.781 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.662e-05/0.7043, allocations: 36 kB / 0.547 GB, free: 5.746 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.767e-05/0.7044, allocations: 72 kB / 0.5471 GB, free: 5.676 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001004/0.7045, allocations: 107.9 kB / 0.5472 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002064/0.7066, allocations: 0.7213 MB / 0.5479 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00011/0.7067, allocations: 136.1 kB / 0.548 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002402/0.7091, allocations: 463.2 kB / 0.5485 GB, free: 4.258 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002566/0.7094, allocations: 203.9 kB / 0.5487 GB, free: 4.059 MB / 414.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.002515/0.7119, allocations: 1.456 MB / 0.5501 GB, free: 2.594 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002849/0.7122, allocations: 177.7 kB / 0.5503 GB, free: 2.418 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/0.7141, allocations: 1.241 MB / 0.5515 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/0.7141, allocations: 15.98 kB / 0.5515 GB, free: 1.156 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.7141, allocations: 0 / 0.5515 GB, free: 1.156 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.7142, allocations: 0 / 0.5515 GB, free: 1.156 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00819/0.7224, allocations: 5.014 MB / 0.5564 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/0.7224, allocations: 16.03 kB / 0.5564 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005767/0.723, allocations: 139.7 kB / 0.5565 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.85e-05/0.723, allocations: 16 kB / 0.5565 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.772e-05/0.7231, allocations: 31.97 kB / 0.5566 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.787e-05/0.7231, allocations: 19.89 kB / 0.5566 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.177e-05/0.7231, allocations: 19.88 kB / 0.5566 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002187/0.7253, allocations: 2.315 MB / 0.5589 GB, free: 8.906 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000522/0.7258, allocations: 290.3 kB / 0.5591 GB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/0.726, allocations: 27.98 kB / 0.5592 GB, free: 8.574 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005657/0.7266, allocations: 31.98 kB / 0.5592 GB, free: 8.543 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.7267, allocations: 83.7 kB / 0.5593 GB, free: 8.461 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.924e-05/0.7268, allocations: 40 kB / 0.5593 GB, free: 8.422 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001904/0.7287, allocations: 1.333 MB / 0.5606 GB, free: 7.066 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7287, allocations: 0 / 0.5606 GB, free: 7.066 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002968/0.7317, allocations: 0.7776 MB / 0.5614 GB, free: 6.285 MB / 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.0003188/0.732, allocations: 154.9 kB / 0.5615 GB, free: 6.121 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003466/0.7355, allocations: 2.282 MB / 0.5638 GB, free: 3.859 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.7355, allocations: 0 / 0.5638 GB, free: 3.859 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007141/0.7362, allocations: 0.5624 MB / 0.5643 GB, free: 3.301 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.7373, allocations: 245.7 kB / 0.5645 GB, free: 3.059 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/0.7476, allocations: 6.943 MB / 0.5713 GB, free: 11.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002485/0.7501, allocations: 2.525 MB / 0.5738 GB, free: 9.398 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002539/0.7527, allocations: 1.036 MB / 0.5748 GB, free: 8.359 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000316/0.753, allocations: 139.4 kB / 0.5749 GB, free: 8.223 MB / 446.1 MB Notification: Performance of SimCode: time 1.463e-06/0.753, allocations: 0 / 0.5749 GB, free: 8.223 MB / 446.1 MB Notification: Performance of Templates: time 0.03419/0.7872, allocations: 15.02 MB / 0.5896 GB, free: 9.238 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: