Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007564/0.007564, allocations: 99.61 kB / 15.73 MB, free: 6.008 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.001462/0.001461, allocations: 196.7 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.578/1.578, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.3737/0.3737, allocations: 38 MB / 307.9 MB, free: 9.98 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.001512/0.001512, allocations: 75.89 kB / 433 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.4074, allocations: 56.46 MB / 489.5 MB, free: 20 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01449/0.4219, allocations: 11.79 MB / 0.4895 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01129/0.4333, allocations: 3.92 MB / 0.4933 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003566/0.437, allocations: 68.25 kB / 0.4934 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006267/0.4432, allocations: 2.712 MB / 0.496 GB, free: 7.754 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00914/0.4524, allocations: 1.877 MB / 0.4979 GB, free: 6.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003653/0.4562, allocations: 0.6989 MB / 0.4986 GB, free: 6.594 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008155/0.4643, allocations: 3.757 MB / 0.5022 GB, free: 4.578 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005387/0.4698, allocations: 3.78 MB / 0.5059 GB, free: 2.414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003773/0.4736, allocations: 1.55 MB / 0.5074 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003518/0.4771, allocations: 2.128 MB / 0.5095 GB, free: 248 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009947/0.4781, allocations: 347.1 kB / 0.5098 GB, free: 248 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002511/0.4806, allocations: 1.07 MB / 0.5109 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002695/0.4833, allocations: 1.919 MB / 0.5128 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004663/0.488, allocations: 2.261 MB / 0.515 GB, free: 13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01074/0.4988, allocations: 7.206 MB / 0.522 GB, free: 6.309 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.4988, allocations: 3.938 kB / 0.522 GB, free: 6.305 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.158e-06/0.4988, allocations: 0 / 0.522 GB, free: 6.305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002578/0.4991, allocations: 3.938 kB / 0.522 GB, free: 6.301 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.02011/0.5192, allocations: 5.333 MB / 0.5272 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.5193, allocations: 11.89 kB / 0.5272 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007108/0.5264, allocations: 1.89 MB / 0.5291 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006685/0.5331, allocations: 2.4 MB / 0.5314 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002639/0.5334, allocations: 234.1 kB / 0.5316 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001427/0.5349, allocations: 319.8 kB / 0.532 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02508/0.56, allocations: 10.73 MB / 0.5424 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002973/0.5604, allocations: 43.59 kB / 0.5425 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001565/0.5619, allocations: 151.8 kB / 0.5426 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003931/0.5659, allocations: 1.986 MB / 0.5446 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02217/0.5881, allocations: 9.626 MB / 0.554 GB, free: 4.762 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06325/0.6514, allocations: 39.1 MB / 0.5921 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01501/0.6664, allocations: 3.927 MB / 0.596 GB, free: 8.496 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002958/0.6694, allocations: 1.889 MB / 0.5978 GB, free: 6.598 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/0.6707, allocations: 0.6867 MB / 0.5985 GB, free: 5.797 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.747e-05/0.6708, allocations: 43.56 kB / 0.5985 GB, free: 5.746 MB / 478.1 MB Notification: Performance of pre-optimization done (n=151): time 6.132e-06/0.6708, allocations: 0 / 0.5985 GB, free: 5.746 MB / 478.1 MB Notification: Performance of matching and sorting (n=157): time 0.05344/0.7242, allocations: 13.94 MB / 0.6122 GB, free: 7.688 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.044e-05/0.7244, allocations: 145.5 kB / 0.6123 GB, free: 7.516 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006128/0.7305, allocations: 4.081 MB / 0.6163 GB, free: 3.406 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000584/0.7311, allocations: 45.7 kB / 0.6163 GB, free: 3.355 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002508/0.7336, allocations: 3.122 MB / 0.6194 GB, free: 192 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0012/0.7349, allocations: 0.6212 MB / 0.62 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0019/0.7368, allocations: 1.194 MB / 0.6211 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.7369, allocations: 305.1 kB / 0.6214 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003186/0.7401, allocations: 2.108 MB / 0.6235 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006689/0.7468, allocations: 5.804 MB / 0.6292 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4114/1.158, allocations: 8.573 MB / 0.6375 GB, free: 116.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001407/1.158, allocations: 37.59 kB / 0.6376 GB, free: 116.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=761) (initialization): time 0.02242/1.181, allocations: 8.422 MB / 0.6458 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001661/1.181, allocations: 61.38 kB / 0.6458 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003577/1.181, allocations: 130.5 kB / 0.646 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003315/1.185, allocations: 0.9067 MB / 0.6469 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005611/1.19, allocations: 1.382 MB / 0.6482 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007846/1.198, allocations: 5.195 MB / 0.6533 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005713/1.204, allocations: 318.2 kB / 0.6536 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00138/1.205, allocations: 372.8 kB / 0.6539 GB, free: 110.2 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * Number of states: 0 () * Number of discrete variables: 36 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (722): * Single equations (assignments): 718 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00461/1.21, allocations: 2.086 MB / 0.656 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009528/1.211, allocations: 340.4 kB / 0.6563 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007309/1.218, allocations: 3.172 MB / 0.6594 GB, free: 108.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.116e-05/1.218, allocations: 21.66 kB / 0.6594 GB, free: 108.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/1.218, allocations: 3.125 kB / 0.6594 GB, free: 108.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.1e-05/1.218, allocations: 8.125 kB / 0.6594 GB, free: 108.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01665/1.235, allocations: 7.934 MB / 0.6672 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.969e-05/1.235, allocations: 6.906 kB / 0.6672 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001947/1.237, allocations: 295.6 kB / 0.6675 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002431/1.24, allocations: 0.7162 MB / 0.6682 GB, free: 105.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002895/1.24, allocations: 46.75 kB / 0.6682 GB, free: 105.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006038/1.246, allocations: 4.758 MB / 0.6729 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/1.246, allocations: 1.781 kB / 0.6729 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008125/1.254, allocations: 5.728 MB / 0.6785 GB, free: 100 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001928/1.256, allocations: 0.6234 MB / 0.6791 GB, free: 99.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003879/1.256, allocations: 23.88 kB / 0.6791 GB, free: 99.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/1.258, allocations: 87.02 kB / 0.6792 GB, free: 99.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003263/1.258, allocations: 108 kB / 0.6793 GB, free: 99.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/1.258, allocations: 59 kB / 0.6793 GB, free: 99.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00377/1.262, allocations: 2.555 MB / 0.6818 GB, free: 98.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.01e-07/1.262, allocations: 0 / 0.6818 GB, free: 98.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006606/1.269, allocations: 0.9623 MB / 0.6828 GB, free: 98.01 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * 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 (126): * Single equations (assignments): 122 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004769/1.269, allocations: 165.2 kB / 0.6829 GB, free: 97.88 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00804/1.277, allocations: 5.018 MB / 0.6878 GB, free: 93.76 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/1.277, allocations: 0 / 0.6878 GB, free: 93.76 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001917/1.279, allocations: 1.551 MB / 0.6893 GB, free: 92.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00293/1.282, allocations: 439 kB / 0.6898 GB, free: 91.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/1.297, allocations: 8.98 MB / 0.6985 GB, free: 82.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002959/1.3, allocations: 3.241 MB / 0.7017 GB, free: 79.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004/1.304, allocations: 1.889 MB / 0.7035 GB, free: 77.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007537/1.305, allocations: 263.3 kB / 0.7038 GB, free: 77.34 MB / 0.4981 GB Notification: Performance of SimCode: time 1.062e-06/1.305, allocations: 2.188 kB / 0.7038 GB, free: 77.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.05978/1.365, allocations: 34.03 MB / 0.737 GB, free: 43.38 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1)