Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_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.2_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.006314/0.006314, allocations: 102.1 kB / 15.73 MB, free: 6.051 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.001171/0.001171, allocations: 195.7 kB / 16.67 MB, free: 5.98 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.5 MB, free: 4.402 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3739/0.3739, allocations: 39.94 MB / 309.8 MB, free: 9.602 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.2. 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.00146/0.001461, allocations: 67.89 kB / 435.8 MB, free: 2.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3807, allocations: 56.87 MB / 492.7 MB, free: 19.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01798/0.3987, allocations: 13.82 MB / 0.4946 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01359/0.4124, allocations: 4.371 MB / 0.4989 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004077/0.4165, allocations: 80.44 kB / 0.4989 GB, free: 6.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007232/0.4238, allocations: 3.748 MB / 0.5026 GB, free: 4.273 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008162/0.432, allocations: 2.117 MB / 0.5047 GB, free: 2.746 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003011/0.435, allocations: 0.8044 MB / 0.5055 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008952/0.444, allocations: 4.404 MB / 0.5098 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01022/0.4543, allocations: 4.934 MB / 0.5146 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00726/0.4616, allocations: 1.934 MB / 0.5165 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005619/0.4673, allocations: 2.6 MB / 0.519 GB, free: 9.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001526/0.4689, allocations: 440 kB / 0.5194 GB, free: 9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003082/0.472, allocations: 1.163 MB / 0.5206 GB, free: 7.836 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002764/0.4747, allocations: 2.326 MB / 0.5228 GB, free: 5.504 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004989/0.4797, allocations: 2.762 MB / 0.5255 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01254/0.4923, allocations: 8.623 MB / 0.534 GB, free: 10.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.4924, allocations: 0 / 0.534 GB, free: 10.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 5.32e-06/0.4924, allocations: 4 kB / 0.534 GB, free: 10.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004218/0.4928, allocations: 0 / 0.534 GB, free: 10.07 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.02767/0.5205, allocations: 6.451 MB / 0.5403 GB, free: 3.543 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.29e-05/0.5206, allocations: 15.89 kB / 0.5403 GB, free: 3.527 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008706/0.5293, allocations: 1.99 MB / 0.5422 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007968/0.5373, allocations: 2.815 MB / 0.545 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003887/0.5377, allocations: 303.9 kB / 0.5453 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002211/0.54, allocations: 407.7 kB / 0.5456 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03403/0.574, allocations: 12.89 MB / 0.5582 GB, free: 324 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002896/0.5743, allocations: 47.5 kB / 0.5583 GB, free: 276 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002123/0.5765, allocations: 195.8 kB / 0.5585 GB, free: 80 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00534/0.5818, allocations: 2.378 MB / 0.5608 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02866/0.6105, allocations: 11.8 MB / 0.5723 GB, free: 1.883 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07837/0.6889, allocations: 47.9 MB / 0.6191 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02/0.709, allocations: 5.732 MB / 0.6247 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005385/0.7144, allocations: 3.604 MB / 0.6282 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001334/0.7158, allocations: 0.7026 MB / 0.6289 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.991e-05/0.7158, allocations: 55.81 kB / 0.6289 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=224): time 5.51e-06/0.7159, allocations: 4 kB / 0.629 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=255): time 0.3926/1.108, allocations: 28.47 MB / 0.6568 GB, free: 118.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.658e-05/1.109, allocations: 159.9 kB / 0.6569 GB, free: 118.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007692/1.116, allocations: 4.52 MB / 0.6613 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008852/1.117, allocations: 69.23 kB / 0.6614 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002431/1.12, allocations: 3.539 MB / 0.6648 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001559/1.121, allocations: 0.955 MB / 0.6658 GB, free: 113 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002578/1.124, allocations: 1.475 MB / 0.6672 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.49e-05/1.124, allocations: 302.2 kB / 0.6675 GB, free: 112 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00544/1.129, allocations: 3.452 MB / 0.6709 GB, free: 111 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006088/1.135, allocations: 7.394 MB / 0.6781 GB, free: 104.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01226/1.148, allocations: 11.67 MB / 0.6895 GB, free: 94.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000116/1.148, allocations: 40 kB / 0.6895 GB, free: 94.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01972/1.168, allocations: 11.79 MB / 0.701 GB, free: 82.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-05/1.168, allocations: 64.56 kB / 0.7011 GB, free: 82.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001364/1.168, allocations: 136 kB / 0.7012 GB, free: 82.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00266/1.171, allocations: 1.125 MB / 0.7023 GB, free: 80.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006538/1.177, allocations: 1.774 MB / 0.7041 GB, free: 79.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006772/1.184, allocations: 6.359 MB / 0.7103 GB, free: 72.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006628/1.191, allocations: 415.6 kB / 0.7107 GB, free: 72.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001558/1.192, allocations: 451.8 kB / 0.7111 GB, free: 71.79 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.005156/1.197, allocations: 2.425 MB / 0.7135 GB, free: 69.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001375/1.199, allocations: 414.6 kB / 0.7139 GB, free: 68.95 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009529/1.208, allocations: 6.563 MB / 0.7203 GB, free: 62.36 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.758e-05/1.208, allocations: 28 kB / 0.7203 GB, free: 62.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/1.208, allocations: 0 / 0.7203 GB, free: 62.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-05/1.208, allocations: 19.89 kB / 0.7203 GB, free: 62.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02115/1.23, allocations: 13.64 MB / 0.7336 GB, free: 48.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.107e-05/1.23, allocations: 4 kB / 0.7336 GB, free: 48.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002963/1.233, allocations: 0.6009 MB / 0.7342 GB, free: 48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002326/1.235, allocations: 0.945 MB / 0.7352 GB, free: 47.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003424/1.235, allocations: 91.89 kB / 0.7352 GB, free: 46.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00623/1.242, allocations: 6.101 MB / 0.7412 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/1.242, allocations: 11.94 kB / 0.7412 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01387/1.255, allocations: 11.06 MB / 0.752 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002979/1.258, allocations: 0.9368 MB / 0.7529 GB, free: 28.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007957/1.259, allocations: 47.94 kB / 0.753 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00233/1.262, allocations: 179.8 kB / 0.7531 GB, free: 28.37 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005074/1.262, allocations: 201.5 kB / 0.7533 GB, free: 28.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002391/1.262, allocations: 111.9 kB / 0.7534 GB, free: 28.06 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003361/1.266, allocations: 2.839 MB / 0.7562 GB, free: 25.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.01e-07/1.266, allocations: 0 / 0.7562 GB, free: 25.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006713/1.272, allocations: 1.271 MB / 0.7575 GB, free: 23.96 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.0005738/1.273, allocations: 193.1 kB / 0.7576 GB, free: 23.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01039/1.283, allocations: 8.155 MB / 0.7656 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/1.284, allocations: 0 / 0.7656 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003819/1.287, allocations: 3.209 MB / 0.7687 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003648/1.291, allocations: 0.4968 MB / 0.7692 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02594/1.317, allocations: 12.48 MB / 0.7814 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006934/1.324, allocations: 3.805 MB / 0.7851 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005869/1.33, allocations: 2.364 MB / 0.7874 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001455/1.331, allocations: 431.1 kB / 0.7878 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of SimCode: time 1.312e-06/1.331, allocations: 0 / 0.7878 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of Templates: time 0.108/1.439, allocations: 54.67 MB / 0.8412 GB, free: 2.129 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1)