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.0102/0.0102, allocations: 100.6 kB / 15.73 MB, free: 5.98 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.002251/0.002251, allocations: 201.7 kB / 16.68 MB, free: 5.906 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.539/1.539, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.3452/0.3452, allocations: 38 MB / 307.9 MB, free: 9.938 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.001483/0.001483, allocations: 67.91 kB / 433 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3565, allocations: 56.47 MB / 489.5 MB, free: 20.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01169/0.3683, allocations: 11.8 MB / 0.4895 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00839/0.3767, allocations: 3.917 MB / 0.4933 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001816/0.3785, allocations: 67.12 kB / 0.4934 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005126/0.3837, allocations: 2.699 MB / 0.496 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006257/0.39, allocations: 1.887 MB / 0.4979 GB, free: 7.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002196/0.3922, allocations: 0.6947 MB / 0.4986 GB, free: 6.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006595/0.3988, allocations: 3.759 MB / 0.5022 GB, free: 4.816 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004883/0.4037, allocations: 3.776 MB / 0.5059 GB, free: 2.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002923/0.4066, allocations: 1.551 MB / 0.5074 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00303/0.4097, allocations: 2.127 MB / 0.5095 GB, free: 496 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007399/0.4104, allocations: 345.9 kB / 0.5098 GB, free: 496 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002321/0.4128, allocations: 1.07 MB / 0.5109 GB, free: 80 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002192/0.415, allocations: 1.944 MB / 0.5128 GB, free: 14.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002427/0.4174, allocations: 2.261 MB / 0.515 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00818/0.4256, allocations: 7.207 MB / 0.522 GB, free: 6.445 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4257, allocations: 0 / 0.522 GB, free: 6.445 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4257, allocations: 0 / 0.522 GB, free: 6.445 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001592/0.4258, allocations: 0 / 0.522 GB, free: 6.445 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.01756/0.4434, allocations: 5.329 MB / 0.5272 GB, free: 1.047 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.4435, allocations: 11.89 kB / 0.5272 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006705/0.4502, allocations: 1.894 MB / 0.5291 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006217/0.4564, allocations: 2.396 MB / 0.5314 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001829/0.4566, allocations: 234.1 kB / 0.5317 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007204/0.4574, allocations: 323.7 kB / 0.532 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02229/0.4797, allocations: 10.74 MB / 0.5425 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001464/0.4798, allocations: 51.58 kB / 0.5425 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006537/0.4805, allocations: 151.8 kB / 0.5427 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003528/0.484, allocations: 1.978 MB / 0.5446 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01985/0.5039, allocations: 9.634 MB / 0.554 GB, free: 4.895 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0528/0.5568, allocations: 39.09 MB / 0.5922 GB, free: 12.71 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01325/0.5701, allocations: 3.934 MB / 0.596 GB, free: 8.629 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00271/0.5728, allocations: 1.889 MB / 0.5979 GB, free: 6.73 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/0.5739, allocations: 0.6788 MB / 0.5985 GB, free: 5.941 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.135e-05/0.5739, allocations: 51.55 kB / 0.5986 GB, free: 5.883 MB / 478.1 MB Notification: Performance of pre-optimization done (n=151): time 7.805e-06/0.5739, allocations: 0 / 0.5986 GB, free: 5.883 MB / 478.1 MB Notification: Performance of matching and sorting (n=157): time 0.04384/0.6178, allocations: 13.93 MB / 0.6122 GB, free: 7.836 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.618, allocations: 149.4 kB / 0.6123 GB, free: 7.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006124/0.6241, allocations: 4.077 MB / 0.6163 GB, free: 3.555 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004637/0.6246, allocations: 45.7 kB / 0.6163 GB, free: 3.504 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002637/0.6272, allocations: 3.125 MB / 0.6194 GB, free: 340 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00101/0.6282, allocations: 0.6172 MB / 0.62 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001729/0.63, allocations: 1.201 MB / 0.6212 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.6301, allocations: 305.1 kB / 0.6215 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003074/0.6332, allocations: 2.104 MB / 0.6235 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00606/0.6393, allocations: 5.808 MB / 0.6292 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3532/0.9925, allocations: 8.575 MB / 0.6376 GB, free: 116.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001776/0.9928, allocations: 37.66 kB / 0.6376 GB, free: 116.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=761) (initialization): time 0.02032/1.013, allocations: 8.421 MB / 0.6458 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000125/1.013, allocations: 61.56 kB / 0.6459 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002456/1.014, allocations: 131 kB / 0.646 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002938/1.016, allocations: 0.9053 MB / 0.6469 GB, free: 113.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005154/1.022, allocations: 1.377 MB / 0.6482 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008183/1.03, allocations: 5.19 MB / 0.6533 GB, free: 110.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006496/1.036, allocations: 322.6 kB / 0.6536 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001941/1.038, allocations: 375.1 kB / 0.654 GB, free: 110.3 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.005626/1.044, allocations: 2.08 MB / 0.656 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00131/1.045, allocations: 342.8 kB / 0.6563 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00691/1.052, allocations: 3.17 MB / 0.6594 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.922e-05/1.052, allocations: 17.72 kB / 0.6594 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/1.052, allocations: 7.312 kB / 0.6594 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-05/1.052, allocations: 9.969 kB / 0.6595 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01779/1.07, allocations: 7.935 MB / 0.6672 GB, free: 105.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/1.07, allocations: 7.812 kB / 0.6672 GB, free: 105.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/1.072, allocations: 299.3 kB / 0.6675 GB, free: 105.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002075/1.074, allocations: 0.7156 MB / 0.6682 GB, free: 105.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001404/1.074, allocations: 36.81 kB / 0.6682 GB, free: 105.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005477/1.079, allocations: 4.758 MB / 0.6729 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.079, allocations: 5.219 kB / 0.6729 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007577/1.087, allocations: 5.728 MB / 0.6785 GB, free: 100.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001694/1.089, allocations: 0.6213 MB / 0.6791 GB, free: 99.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003257/1.089, allocations: 26.02 kB / 0.6791 GB, free: 99.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/1.09, allocations: 93.44 kB / 0.6792 GB, free: 99.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002896/1.091, allocations: 115.5 kB / 0.6793 GB, free: 99.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/1.091, allocations: 54.97 kB / 0.6794 GB, free: 99.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003487/1.094, allocations: 2.553 MB / 0.6818 GB, free: 98.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.094, allocations: 0 / 0.6818 GB, free: 98.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004971/1.099, allocations: 0.9604 MB / 0.6828 GB, free: 98.1 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.0003689/1.1, allocations: 156 kB / 0.6829 GB, free: 97.97 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006381/1.106, allocations: 5.027 MB / 0.6878 GB, free: 94.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/1.106, allocations: 0 / 0.6878 GB, free: 94.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001662/1.108, allocations: 1.548 MB / 0.6894 GB, free: 92.49 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002266/1.11, allocations: 448.2 kB / 0.6898 GB, free: 92.06 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/1.122, allocations: 8.966 MB / 0.6985 GB, free: 83.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002457/1.125, allocations: 3.237 MB / 0.7017 GB, free: 79.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003589/1.128, allocations: 1.897 MB / 0.7036 GB, free: 77.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006561/1.129, allocations: 267.3 kB / 0.7038 GB, free: 77.62 MB / 0.4981 GB Notification: Performance of SimCode: time 1.623e-06/1.129, allocations: 0 / 0.7038 GB, free: 77.62 MB / 0.4981 GB Notification: Performance of Templates: time 0.05814/1.187, allocations: 33.83 MB / 0.7368 GB, free: 43.92 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)