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.007235/0.007245, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001638/0.001639, allocations: 193.7 kB / 16.67 MB, free: 5.977 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.519/1.519, allocations: 205.1 MB / 222.6 MB, free: 4.492 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.3178/0.3178, allocations: 37.99 MB / 307.9 MB, free: 10.2 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.001586/0.001586, allocations: 75.83 kB / 433 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3816, allocations: 56.46 MB / 489.5 MB, free: 19.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01785/0.3995, allocations: 18.01 MB / 0.4956 GB, free: 6.961 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01524/0.4148, allocations: 5.419 MB / 0.5009 GB, free: 3.344 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00682/0.4217, allocations: 131.7 kB / 0.501 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0133/0.435, allocations: 6.104 MB / 0.5069 GB, free: 12 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01344/0.4485, allocations: 3.174 MB / 0.51 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005462/0.454, allocations: 1.572 MB / 0.5116 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01814/0.4722, allocations: 8.383 MB / 0.5198 GB, free: 8.285 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01298/0.4852, allocations: 7.737 MB / 0.5273 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007712/0.493, allocations: 3.291 MB / 0.5305 GB, free: 13.56 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008542/0.5015, allocations: 4.319 MB / 0.5348 GB, free: 9.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004281/0.5059, allocations: 0.6641 MB / 0.5354 GB, free: 8.566 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006788/0.5127, allocations: 1.475 MB / 0.5368 GB, free: 7.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00711/0.5198, allocations: 3.97 MB / 0.5407 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01242/0.5323, allocations: 4.439 MB / 0.5451 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02322/0.5555, allocations: 13.68 MB / 0.5584 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.5556, allocations: 4 kB / 0.5584 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.5556, allocations: 4 kB / 0.5584 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005493/0.5561, allocations: 0 / 0.5584 GB, free: 0.9062 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.02839/0.5845, allocations: 9.778 MB / 0.568 GB, free: 7.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.5846, allocations: 15.89 kB / 0.568 GB, free: 7.004 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01198/0.5966, allocations: 2.772 MB / 0.5707 GB, free: 4.223 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01133/0.608, allocations: 5.167 MB / 0.5757 GB, free: 14.97 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004745/0.6085, allocations: 491.8 kB / 0.5762 GB, free: 14.49 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003005/0.6115, allocations: 0.6129 MB / 0.5768 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04231/0.6538, allocations: 19.49 MB / 0.5958 GB, free: 9.18 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000315/0.6542, allocations: 75.34 kB / 0.5959 GB, free: 9.105 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001258/0.6555, allocations: 303.7 kB / 0.5962 GB, free: 8.809 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005959/0.6614, allocations: 3.633 MB / 0.5998 GB, free: 5.168 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03668/0.6981, allocations: 15.18 MB / 0.6146 GB, free: 5.961 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6062/1.304, allocations: 72.84 MB / 0.6857 GB, free: 67.46 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01834/1.323, allocations: 6.107 MB / 0.6917 GB, free: 65.47 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004912/1.328, allocations: 2.552 MB / 0.6942 GB, free: 64.53 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02121/1.349, allocations: 11.18 MB / 0.7051 GB, free: 58.9 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.713e-05/1.349, allocations: 59.78 kB / 0.7051 GB, free: 58.85 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=250): time 6.933e-06/1.349, allocations: 4 kB / 0.7051 GB, free: 58.84 MB / 0.4982 GB Notification: Performance of matching and sorting (n=274): time 0.03919/1.388, allocations: 16.79 MB / 0.7215 GB, free: 49.7 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.614e-05/1.388, allocations: 156.1 kB / 0.7217 GB, free: 49.54 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007827/1.396, allocations: 6.789 MB / 0.7283 GB, free: 46.21 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0003755/1.397, allocations: 73.08 kB / 0.7284 GB, free: 46.14 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.00279/1.4, allocations: 5.959 MB / 0.7342 GB, free: 41.37 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008677/1.4, allocations: 1.095 MB / 0.7353 GB, free: 40.45 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001808/1.402, allocations: 1.91 MB / 0.7371 GB, free: 39.36 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 4.297e-05/1.402, allocations: 301.1 kB / 0.7374 GB, free: 39.07 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003559/1.406, allocations: 2.775 MB / 0.7401 GB, free: 36.68 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005215/1.411, allocations: 8.666 MB / 0.7486 GB, free: 25.11 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01004/1.421, allocations: 12.43 MB / 0.7607 GB, free: 9.758 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001072/1.421, allocations: 64 kB / 0.7608 GB, free: 9.695 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.01681/1.438, allocations: 11.14 MB / 0.7717 GB, free: 14.55 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/1.438, allocations: 96.97 kB / 0.7718 GB, free: 14.46 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002193/1.438, allocations: 208 kB / 0.772 GB, free: 14.25 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002561/1.439, allocations: 283.9 kB / 0.7722 GB, free: 13.98 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007335/1.446, allocations: 2.207 MB / 0.7744 GB, free: 11.77 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003446/1.446, allocations: 406.5 kB / 0.7748 GB, free: 11.37 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007535/1.454, allocations: 469.7 kB / 0.7752 GB, free: 10.91 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001755/1.456, allocations: 0.5724 MB / 0.7758 GB, free: 10.34 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.008505/1.464, allocations: 3.762 MB / 0.7795 GB, free: 6.562 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001364/1.466, allocations: 0.6208 MB / 0.7801 GB, free: 5.938 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005389/1.471, allocations: 2.983 MB / 0.783 GB, free: 2.938 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.362e-05/1.471, allocations: 31.94 kB / 0.783 GB, free: 2.906 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/1.471, allocations: 2.938 kB / 0.783 GB, free: 2.906 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.764e-05/1.471, allocations: 15.95 kB / 0.783 GB, free: 2.891 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04032/1.512, allocations: 25.16 MB / 0.8076 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.871e-05/1.512, allocations: 64 kB / 0.8077 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002011/1.514, allocations: 0.6159 MB / 0.8083 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.697e-05/1.514, allocations: 84 kB / 0.8083 GB, free: 8.055 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002198/1.514, allocations: 136 kB / 0.8085 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.384e-05/1.514, allocations: 127.5 kB / 0.8086 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.146e-05/1.514, allocations: 99.56 kB / 0.8087 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007181/1.521, allocations: 5.906 MB / 0.8145 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001913/1.523, allocations: 0.7427 MB / 0.8152 GB, free: 15.98 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00103/1.524, allocations: 151.8 kB / 0.8153 GB, free: 15.84 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002737/1.527, allocations: 151.9 kB / 0.8155 GB, free: 15.69 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000503/1.528, allocations: 426 kB / 0.8159 GB, free: 15.27 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002553/1.528, allocations: 176 kB / 0.816 GB, free: 15.1 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.00807/1.536, allocations: 4.228 MB / 0.8202 GB, free: 10.89 MB / 0.5607 GB Notification: Performance of sort global known variables: time 7.42e-07/1.536, allocations: 0 / 0.8202 GB, free: 10.89 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01077/1.547, allocations: 1.574 MB / 0.8217 GB, free: 9.312 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.0008791/1.548, allocations: 333.5 kB / 0.822 GB, free: 8.977 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01094/1.559, allocations: 6.59 MB / 0.8285 GB, free: 2.426 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 6.828e-05/1.559, allocations: 16 kB / 0.8285 GB, free: 2.41 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.002682/1.561, allocations: 1.649 MB / 0.8301 GB, free: 0.7734 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007812/1.569, allocations: 0.9762 MB / 0.831 GB, free: 15.81 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03203/1.601, allocations: 18.27 MB / 0.8489 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007329/1.609, allocations: 5.799 MB / 0.8545 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007071/1.616, allocations: 2.889 MB / 0.8574 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/1.617, allocations: 427.4 kB / 0.8578 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of SimCode: time 6.71e-07/1.617, allocations: 3.938 kB / 0.8578 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of Templates: time 0.3622/1.979, allocations: 45.94 MB / 0.9026 GB, free: 175.2 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)