Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.CutTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.008965/0.008965, allocations: 102.2 kB / 15.73 MB, free: 5.992 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.00164/0.00164, allocations: 196.5 kB / 16.67 MB, free: 5.93 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.613/1.613, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.3593/0.3593, allocations: 37.99 MB / 307.9 MB, free: 10.07 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.001924/0.001924, allocations: 75.84 kB / 433 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3748, allocations: 56.46 MB / 489.5 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01775/0.3925, allocations: 18 MB / 0.4956 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01598/0.4086, allocations: 5.427 MB / 0.5009 GB, free: 3.473 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005865/0.4145, allocations: 128.4 kB / 0.501 GB, free: 3.453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01193/0.4265, allocations: 6.109 MB / 0.507 GB, free: 36 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01367/0.4402, allocations: 3.166 MB / 0.51 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006195/0.4464, allocations: 1.577 MB / 0.5116 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01712/0.4636, allocations: 8.394 MB / 0.5198 GB, free: 8.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01129/0.4749, allocations: 7.731 MB / 0.5273 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007446/0.4824, allocations: 3.26 MB / 0.5305 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009147/0.4916, allocations: 4.334 MB / 0.5347 GB, free: 9.223 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003091/0.4947, allocations: 0.6719 MB / 0.5354 GB, free: 8.551 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005116/0.4998, allocations: 1.479 MB / 0.5368 GB, free: 7.074 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006087/0.506, allocations: 4.037 MB / 0.5408 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009745/0.5157, allocations: 4.447 MB / 0.5451 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02109/0.5368, allocations: 13.61 MB / 0.5584 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.5369, allocations: 4 kB / 0.5584 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.5369, allocations: 0 / 0.5584 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007399/0.5377, allocations: 0 / 0.5584 GB, free: 0.8906 MB / 430.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.03306/0.5707, allocations: 9.52 MB / 0.5677 GB, free: 7.277 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.418e-05/0.5708, allocations: 19.83 kB / 0.5677 GB, free: 7.258 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01349/0.5843, allocations: 2.715 MB / 0.5704 GB, free: 4.527 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0143/0.5987, allocations: 5.145 MB / 0.5754 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006915/0.5994, allocations: 487.9 kB / 0.5759 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003093/0.6025, allocations: 0.6168 MB / 0.5765 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04244/0.645, allocations: 19.48 MB / 0.5955 GB, free: 9.508 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003575/0.6454, allocations: 79.25 kB / 0.5956 GB, free: 9.43 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00226/0.6476, allocations: 295.7 kB / 0.5959 GB, free: 9.141 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00573/0.6534, allocations: 3.648 MB / 0.5994 GB, free: 5.484 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03579/0.6892, allocations: 15.17 MB / 0.6142 GB, free: 6.289 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6927/1.382, allocations: 72.7 MB / 0.6852 GB, free: 67.93 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02801/1.41, allocations: 6.099 MB / 0.6912 GB, free: 65.95 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007516/1.418, allocations: 2.551 MB / 0.6937 GB, free: 65.01 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03563/1.453, allocations: 11.16 MB / 0.7046 GB, free: 59.31 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.368e-05/1.453, allocations: 59.97 kB / 0.7046 GB, free: 59.26 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=250): time 7.444e-06/1.453, allocations: 3.969 kB / 0.7047 GB, free: 59.26 MB / 0.4982 GB Notification: Performance of matching and sorting (n=274): time 0.05228/1.506, allocations: 16.35 MB / 0.7206 GB, free: 50.07 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/1.506, allocations: 162.9 kB / 0.7208 GB, free: 49.9 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01363/1.52, allocations: 6.761 MB / 0.7274 GB, free: 46.47 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0007378/1.52, allocations: 73.27 kB / 0.7274 GB, free: 46.4 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.004583/1.525, allocations: 5.734 MB / 0.733 GB, free: 41.41 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.00161/1.527, allocations: 1.057 MB / 0.7341 GB, free: 40.52 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003051/1.53, allocations: 1.896 MB / 0.7359 GB, free: 39.45 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 5.715e-05/1.53, allocations: 301.1 kB / 0.7362 GB, free: 39.15 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005191/1.535, allocations: 2.774 MB / 0.7389 GB, free: 37.06 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008693/1.544, allocations: 8.663 MB / 0.7474 GB, free: 25.5 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01617/1.56, allocations: 12.43 MB / 0.7595 GB, free: 10.14 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002031/1.56, allocations: 60 kB / 0.7596 GB, free: 10.08 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.02047/1.581, allocations: 11.11 MB / 0.7704 GB, free: 14.96 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002742/1.581, allocations: 92 kB / 0.7705 GB, free: 14.88 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004203/1.581, allocations: 212.9 kB / 0.7707 GB, free: 14.67 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004193/1.582, allocations: 275.9 kB / 0.771 GB, free: 14.4 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008191/1.59, allocations: 2.215 MB / 0.7732 GB, free: 12.18 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004708/1.591, allocations: 406.4 kB / 0.7735 GB, free: 11.78 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007683/1.598, allocations: 471.4 kB / 0.774 GB, free: 11.32 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001835/1.6, allocations: 0.5781 MB / 0.7746 GB, free: 10.75 MB / 0.5138 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.008967/1.609, allocations: 3.754 MB / 0.7782 GB, free: 6.977 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00162/1.611, allocations: 0.5822 MB / 0.7788 GB, free: 6.387 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006946/1.618, allocations: 2.983 MB / 0.7817 GB, free: 3.387 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.832e-05/1.618, allocations: 35.94 kB / 0.7817 GB, free: 3.352 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.937e-05/1.618, allocations: 6.938 kB / 0.7817 GB, free: 3.348 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.033e-05/1.618, allocations: 12.14 kB / 0.7818 GB, free: 3.336 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04499/1.663, allocations: 25.14 MB / 0.8063 GB, free: 9.262 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001809/1.663, allocations: 71.97 kB / 0.8064 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00238/1.665, allocations: 0.6082 MB / 0.807 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.775e-05/1.666, allocations: 84 kB / 0.807 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004439/1.666, allocations: 144 kB / 0.8072 GB, free: 8.359 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.121e-05/1.666, allocations: 123.5 kB / 0.8073 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-05/1.666, allocations: 99.56 kB / 0.8074 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00783/1.674, allocations: 5.879 MB / 0.8131 GB, free: 1.215 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003038/1.677, allocations: 0.7118 MB / 0.8138 GB, free: 488 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001825/1.679, allocations: 144 kB / 0.814 GB, free: 344 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003422/1.682, allocations: 155.9 kB / 0.8141 GB, free: 188 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005464/1.683, allocations: 425.9 kB / 0.8145 GB, free: 15.77 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002883/1.683, allocations: 180 kB / 0.8147 GB, free: 15.59 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.008328/1.692, allocations: 4.228 MB / 0.8188 GB, free: 11.38 MB / 0.5607 GB Notification: Performance of sort global known variables: time 7.71e-07/1.692, allocations: 0 / 0.8188 GB, free: 11.38 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01242/1.704, allocations: 1.565 MB / 0.8203 GB, free: 9.816 MB / 0.5607 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.00147/1.706, allocations: 336.2 kB / 0.8207 GB, free: 9.48 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01184/1.717, allocations: 6.595 MB / 0.8271 GB, free: 2.961 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 5.588e-05/1.717, allocations: 12.19 kB / 0.8271 GB, free: 2.949 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.002693/1.72, allocations: 1.654 MB / 0.8287 GB, free: 1.309 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006755/1.727, allocations: 0.9835 MB / 0.8297 GB, free: 352 kB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03202/1.759, allocations: 17.98 MB / 0.8473 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00957/1.769, allocations: 5.792 MB / 0.8529 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007359/1.776, allocations: 2.889 MB / 0.8557 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001195/1.777, allocations: 427.3 kB / 0.8561 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of SimCode: time 6.51e-07/1.777, allocations: 0 / 0.8561 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of Templates: time 0.4006/2.178, allocations: 45.44 MB / 0.9005 GB, free: 175.5 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1)