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.0008225/0.000822, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005872/0.005872, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.508/1.508, allocations: 205.4 MB / 222.4 MB, free: 5.578 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.3269/0.3269, allocations: 38.03 MB / 308.8 MB, free: 10.34 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.0005559/0.0005559, allocations: 12 kB / 377 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1199, allocations: 57.52 MB / 434.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.2551/0.375, allocations: 37.87 MB / 472.4 MB, free: 32.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0169/0.392, allocations: 7.666 MB / 480.1 MB, free: 29.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005914/0.398, allocations: 154.3 kB / 480.3 MB, free: 29.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009632/0.3989, allocations: 318.5 kB / 480.6 MB, free: 29.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002914/0.4019, allocations: 1.143 MB / 481.7 MB, free: 28.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007001/0.4026, allocations: 265.7 kB / 482 MB, free: 28.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003234/0.4058, allocations: 3.647 MB / 485.6 MB, free: 27.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003357/0.4092, allocations: 3.41 MB / 489 MB, free: 25.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007797/0.41, allocations: 0.704 MB / 489.7 MB, free: 25.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.4111, allocations: 1.171 MB / 490.9 MB, free: 25.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001968/0.4113, allocations: 99.66 kB / 491 MB, free: 25.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000903/0.4122, allocations: 0.6338 MB / 491.6 MB, free: 25.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006368/0.4128, allocations: 1.113 MB / 492.7 MB, free: 24.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007179/0.4135, allocations: 1.333 MB / 494.1 MB, free: 23.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003468/0.417, allocations: 4.475 MB / 498.6 MB, free: 22.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.417, allocations: 0 / 498.6 MB, free: 22.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4171, allocations: 0.7812 kB / 498.6 MB, free: 22.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001344/0.4172, allocations: 0 / 498.6 MB, free: 22.57 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.006115/0.4233, allocations: 2.579 MB / 0.4894 GB, free: 20.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/0.4234, allocations: 9.266 kB / 0.4894 GB, free: 20.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006212/0.4296, allocations: 1.666 MB / 0.491 GB, free: 20.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003129/0.4328, allocations: 1.405 MB / 0.4924 GB, free: 19.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.4329, allocations: 158.9 kB / 0.4925 GB, free: 19.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004466/0.4334, allocations: 209 kB / 0.4927 GB, free: 19.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01541/0.4488, allocations: 6.97 MB / 0.4996 GB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.16e-05/0.4489, allocations: 14.25 kB / 0.4996 GB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003035/0.4492, allocations: 97.44 kB / 0.4997 GB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003009/0.4522, allocations: 1.533 MB / 0.5012 GB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01281/0.4651, allocations: 5.956 MB / 0.507 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03103/0.4961, allocations: 22.26 MB / 0.5287 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004796/0.501, allocations: 2.191 MB / 0.5308 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/0.5023, allocations: 0.805 MB / 0.5316 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007717/0.5101, allocations: 3.958 MB / 0.5355 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.925e-05/0.5102, allocations: 39.22 kB / 0.5355 GB, free: 3.441 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 6.943e-06/0.5102, allocations: 4 kB / 0.5355 GB, free: 3.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=96): time 0.006243/0.5165, allocations: 2.248 MB / 0.5377 GB, free: 1.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.5165, allocations: 60.06 kB / 0.5378 GB, free: 1.109 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003716/0.5203, allocations: 2.068 MB / 0.5398 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.86e-05/0.5204, allocations: 37.7 kB / 0.5398 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001482/0.5219, allocations: 2.011 MB / 0.5418 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004023/0.5223, allocations: 383.1 kB / 0.5422 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004226/0.5227, allocations: 292.9 kB / 0.5425 GB, free: 12.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.5229, allocations: 365.9 kB / 0.5428 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00164/0.5245, allocations: 0.9941 MB / 0.5438 GB, free: 10.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003015/0.5276, allocations: 2.988 MB / 0.5467 GB, free: 6.895 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004983/0.5326, allocations: 4.368 MB / 0.551 GB, free: 1.531 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.829e-05/0.5326, allocations: 20 kB / 0.551 GB, free: 1.512 MB / 414.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.007289/0.5399, allocations: 3.878 MB / 0.5548 GB, free: 13.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.115e-05/0.5401, allocations: 35.98 kB / 0.5548 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001159/0.5402, allocations: 72.09 kB / 0.5549 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000105/0.5403, allocations: 96 kB / 0.555 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002101/0.5424, allocations: 0.729 MB / 0.5557 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001288/0.5425, allocations: 135.5 kB / 0.5558 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002668/0.5452, allocations: 455.2 kB / 0.5562 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003697/0.5456, allocations: 204 kB / 0.5564 GB, free: 11.91 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002672/0.5483, allocations: 1.466 MB / 0.5579 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003292/0.5486, allocations: 181.6 kB / 0.558 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00217/0.5508, allocations: 1.237 MB / 0.5592 GB, free: 9.016 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.163e-05/0.5509, allocations: 16 kB / 0.5593 GB, free: 9 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.5509, allocations: 0 / 0.5593 GB, free: 9 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.5509, allocations: 7.984 kB / 0.5593 GB, free: 8.992 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/0.5611, allocations: 5.026 MB / 0.5642 GB, free: 3.766 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.309e-05/0.5612, allocations: 8 kB / 0.5642 GB, free: 3.758 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005529/0.5617, allocations: 143.7 kB / 0.5643 GB, free: 3.617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.596e-05/0.5618, allocations: 12 kB / 0.5643 GB, free: 3.605 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.537e-05/0.5618, allocations: 31.97 kB / 0.5644 GB, free: 3.574 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.435e-05/0.5619, allocations: 19.94 kB / 0.5644 GB, free: 3.555 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.255e-06/0.5619, allocations: 12.38 kB / 0.5644 GB, free: 3.543 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/0.5639, allocations: 1.59 MB / 0.5659 GB, free: 1.797 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005557/0.5645, allocations: 282.5 kB / 0.5662 GB, free: 1.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003377/0.5648, allocations: 27.98 kB / 0.5662 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007488/0.5656, allocations: 31.89 kB / 0.5663 GB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.5657, allocations: 83.67 kB / 0.5664 GB, free: 1.359 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-05/0.5658, allocations: 40 kB / 0.5664 GB, free: 1.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002329/0.5681, allocations: 1.344 MB / 0.5677 GB, free: 15.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5682, allocations: 4 kB / 0.5677 GB, free: 15.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003216/0.5714, allocations: 0.7814 MB / 0.5685 GB, free: 15.16 MB / 446.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.0004051/0.5718, allocations: 158.9 kB / 0.5686 GB, free: 15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003868/0.5757, allocations: 2.291 MB / 0.5709 GB, free: 12.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/0.5757, allocations: 4.312 kB / 0.5709 GB, free: 12.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007946/0.5765, allocations: 0.5602 MB / 0.5714 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003824/0.5803, allocations: 253.8 kB / 0.5717 GB, free: 11.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01226/0.5926, allocations: 7.268 MB / 0.5787 GB, free: 4.488 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003599/0.5963, allocations: 2.462 MB / 0.5812 GB, free: 2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002772/0.5991, allocations: 1.043 MB / 0.5822 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005142/0.5996, allocations: 131.4 kB / 0.5823 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of SimCode: time 1.302e-06/0.5996, allocations: 3.938 kB / 0.5823 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of Templates: time 0.03063/0.6303, allocations: 15.31 MB / 0.5973 GB, free: 1.547 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: