Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01011/0.01011, allocations: 100.9 kB / 15.73 MB, free: 6.012 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.002796/0.002796, allocations: 195.7 kB / 16.67 MB, free: 5.926 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.528/1.528, allocations: 205.1 MB / 222.6 MB, free: 4.469 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.3069/0.3069, allocations: 38 MB / 307.9 MB, free: 10.14 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.001724/0.001725, allocations: 71.91 kB / 433 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3286, allocations: 56.47 MB / 489.5 MB, free: 20 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01427/0.3429, allocations: 13.81 MB / 0.4915 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01312/0.3561, allocations: 4.373 MB / 0.4958 GB, free: 7.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004486/0.3606, allocations: 80.91 kB / 0.4958 GB, free: 7.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007662/0.3683, allocations: 3.74 MB / 0.4995 GB, free: 5.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007696/0.3761, allocations: 2.106 MB / 0.5015 GB, free: 4.258 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002696/0.3788, allocations: 0.8091 MB / 0.5023 GB, free: 3.691 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008288/0.3871, allocations: 4.416 MB / 0.5066 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008001/0.3951, allocations: 4.93 MB / 0.5115 GB, free: 14.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004508/0.3997, allocations: 1.937 MB / 0.5133 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004672/0.4044, allocations: 2.6 MB / 0.5159 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001574/0.406, allocations: 439.2 kB / 0.5163 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003507/0.4095, allocations: 1.158 MB / 0.5174 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00235/0.4119, allocations: 2.33 MB / 0.5197 GB, free: 8.695 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003862/0.4157, allocations: 2.766 MB / 0.5224 GB, free: 5.914 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0121/0.4279, allocations: 8.649 MB / 0.5309 GB, free: 13.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.4279, allocations: 3.984 kB / 0.5309 GB, free: 13.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4279, allocations: 4 kB / 0.5309 GB, free: 13.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004078/0.4283, allocations: 0 / 0.5309 GB, free: 13.23 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.02466/0.453, allocations: 6.598 MB / 0.5373 GB, free: 6.543 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.765e-05/0.4531, allocations: 15.88 kB / 0.5373 GB, free: 6.527 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007704/0.4608, allocations: 2.021 MB / 0.5393 GB, free: 4.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00713/0.468, allocations: 2.836 MB / 0.5421 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002881/0.4683, allocations: 307.8 kB / 0.5424 GB, free: 1.301 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001399/0.4697, allocations: 415.7 kB / 0.5428 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02417/0.4939, allocations: 12.89 MB / 0.5553 GB, free: 3.262 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000152/0.4941, allocations: 43.64 kB / 0.5554 GB, free: 3.219 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005544/0.4947, allocations: 187.8 kB / 0.5556 GB, free: 3.035 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004161/0.4988, allocations: 2.374 MB / 0.5579 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02382/0.5227, allocations: 11.8 MB / 0.5694 GB, free: 4.836 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06896/0.5917, allocations: 48.01 MB / 0.6163 GB, free: 3.688 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01815/0.6099, allocations: 5.716 MB / 0.6219 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004895/0.6149, allocations: 3.611 MB / 0.6254 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/0.6159, allocations: 0.7065 MB / 0.6261 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.361e-05/0.616, allocations: 51.88 kB / 0.6261 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=224): time 5.18e-06/0.616, allocations: 0 / 0.6261 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=255): time 0.3689/0.9849, allocations: 28.74 MB / 0.6542 GB, free: 119.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.985, allocations: 160 kB / 0.6544 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007235/0.9923, allocations: 4.531 MB / 0.6588 GB, free: 117.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007242/0.993, allocations: 62.3 kB / 0.6589 GB, free: 117.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002491/0.9955, allocations: 3.685 MB / 0.6624 GB, free: 115.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001571/0.9971, allocations: 0.9983 MB / 0.6634 GB, free: 114.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002234/0.9994, allocations: 1.479 MB / 0.6649 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.193e-05/0.9994, allocations: 302.3 kB / 0.6652 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005629/1.005, allocations: 3.45 MB / 0.6685 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007979/1.013, allocations: 7.39 MB / 0.6757 GB, free: 106 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01241/1.025, allocations: 11.68 MB / 0.6871 GB, free: 97.46 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001426/1.026, allocations: 42.81 kB / 0.6872 GB, free: 97.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01961/1.045, allocations: 11.79 MB / 0.6987 GB, free: 88.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.2e-05/1.045, allocations: 64 kB / 0.6988 GB, free: 88.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001052/1.046, allocations: 141.9 kB / 0.6989 GB, free: 88.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002353/1.048, allocations: 1.134 MB / 0.7 GB, free: 86.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005885/1.054, allocations: 1.774 MB / 0.7017 GB, free: 85.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006478/1.06, allocations: 6.349 MB / 0.7079 GB, free: 78.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006795/1.067, allocations: 423.7 kB / 0.7083 GB, free: 78.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001235/1.068, allocations: 459.1 kB / 0.7088 GB, free: 77.82 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (857): * Single equations (assignments): 853 * 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.004856/1.073, allocations: 2.431 MB / 0.7112 GB, free: 75.38 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001223/1.074, allocations: 435.1 kB / 0.7116 GB, free: 74.95 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009681/1.084, allocations: 6.555 MB / 0.718 GB, free: 68.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.383e-05/1.084, allocations: 31.94 kB / 0.718 GB, free: 68.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/1.084, allocations: 4 kB / 0.718 GB, free: 68.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.242e-05/1.084, allocations: 11.95 kB / 0.718 GB, free: 68.33 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0179/1.102, allocations: 13.64 MB / 0.7313 GB, free: 54.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/1.102, allocations: 4 kB / 0.7313 GB, free: 54.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002765/1.105, allocations: 0.5931 MB / 0.7319 GB, free: 54.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002233/1.107, allocations: 0.9566 MB / 0.7329 GB, free: 53.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000309/1.108, allocations: 95.47 kB / 0.7329 GB, free: 52.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00609/1.114, allocations: 6.091 MB / 0.7389 GB, free: 46.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.114, allocations: 11.97 kB / 0.7389 GB, free: 46.72 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01303/1.127, allocations: 11.08 MB / 0.7497 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002331/1.129, allocations: 0.9636 MB / 0.7507 GB, free: 34.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008319/1.13, allocations: 48 kB / 0.7507 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002263/1.132, allocations: 179.8 kB / 0.7509 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004726/1.133, allocations: 201.6 kB / 0.7511 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002437/1.133, allocations: 107.9 kB / 0.7512 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003558/1.136, allocations: 2.843 MB / 0.754 GB, free: 31.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.61e-07/1.136, allocations: 0 / 0.754 GB, free: 31.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006957/1.143, allocations: 1.269 MB / 0.7552 GB, free: 29.92 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (228): * Single equations (assignments): 224 * 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 Backend phase and start with SimCode phase: time 0.0006817/1.144, allocations: 191.1 kB / 0.7554 GB, free: 29.72 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01066/1.155, allocations: 8.158 MB / 0.7634 GB, free: 21.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/1.155, allocations: 0 / 0.7634 GB, free: 21.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003719/1.159, allocations: 3.211 MB / 0.7665 GB, free: 18.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003294/1.162, allocations: 0.5073 MB / 0.767 GB, free: 17.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01746/1.179, allocations: 12.65 MB / 0.7793 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003477/1.183, allocations: 3.809 MB / 0.7831 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005405/1.188, allocations: 2.352 MB / 0.7854 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001535/1.19, allocations: 435 kB / 0.7858 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of SimCode: time 7.11e-07/1.19, allocations: 0 / 0.7858 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.1024/1.292, allocations: 54.66 MB / 0.8392 GB, free: 7.895 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1)