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.009766/0.009766, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.002/0.002, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.572/1.572, allocations: 205.1 MB / 222.6 MB, free: 4.473 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.3171/0.3171, 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.001664/0.001664, allocations: 76.47 kB / 433 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3639, allocations: 56.47 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01266/0.3766, allocations: 11.79 MB / 0.4895 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01166/0.3883, allocations: 3.923 MB / 0.4933 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002805/0.3912, allocations: 63.62 kB / 0.4934 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005774/0.397, allocations: 2.705 MB / 0.496 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006908/0.404, allocations: 1.931 MB / 0.4979 GB, free: 6.809 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001949/0.4059, allocations: 0.6911 MB / 0.4986 GB, free: 6.516 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005964/0.4119, allocations: 3.76 MB / 0.5023 GB, free: 4.578 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003807/0.4157, allocations: 3.784 MB / 0.506 GB, free: 2.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002496/0.4182, allocations: 1.551 MB / 0.5075 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002245/0.4205, allocations: 2.122 MB / 0.5096 GB, free: 248 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006325/0.4211, allocations: 347.2 kB / 0.5099 GB, free: 248 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002073/0.4232, allocations: 1.074 MB / 0.5109 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00191/0.4251, allocations: 1.942 MB / 0.5128 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002373/0.4275, allocations: 2.253 MB / 0.515 GB, free: 13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00745/0.435, allocations: 7.205 MB / 0.5221 GB, free: 6.262 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.435, allocations: 0 / 0.5221 GB, free: 6.262 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.435, allocations: 0 / 0.5221 GB, free: 6.262 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001145/0.4351, allocations: 7.938 kB / 0.5221 GB, free: 6.254 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.01613/0.4513, allocations: 5.337 MB / 0.5273 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.4514, allocations: 15.83 kB / 0.5273 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006325/0.4577, allocations: 1.886 MB / 0.5291 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005001/0.4627, allocations: 2.397 MB / 0.5315 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001851/0.4629, allocations: 242 kB / 0.5317 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007147/0.4637, allocations: 323.7 kB / 0.532 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01936/0.483, allocations: 10.73 MB / 0.5425 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001955/0.4833, allocations: 39.59 kB / 0.5425 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001043/0.4843, allocations: 155.8 kB / 0.5427 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003304/0.4876, allocations: 1.986 MB / 0.5446 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01952/0.5072, allocations: 9.623 MB / 0.554 GB, free: 4.711 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05076/0.558, allocations: 39.1 MB / 0.5922 GB, free: 12.52 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01312/0.5711, allocations: 3.928 MB / 0.596 GB, free: 8.445 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002964/0.5741, allocations: 1.885 MB / 0.5979 GB, free: 6.551 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001037/0.5752, allocations: 0.6828 MB / 0.5986 GB, free: 5.754 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.929e-05/0.5753, allocations: 51.5 kB / 0.5986 GB, free: 5.695 MB / 478.1 MB Notification: Performance of pre-optimization done (n=151): time 6.071e-06/0.5753, allocations: 3.984 kB / 0.5986 GB, free: 5.691 MB / 478.1 MB Notification: Performance of matching and sorting (n=157): time 0.04459/0.6199, allocations: 13.93 MB / 0.6122 GB, free: 7.645 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.6201, allocations: 141.5 kB / 0.6123 GB, free: 7.477 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006682/0.6268, allocations: 4.081 MB / 0.6163 GB, free: 3.367 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000503/0.6273, allocations: 49.69 kB / 0.6164 GB, free: 3.312 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002441/0.6297, allocations: 3.129 MB / 0.6194 GB, free: 140 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009128/0.6307, allocations: 0.6173 MB / 0.62 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001573/0.6323, allocations: 1.194 MB / 0.6212 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.6324, allocations: 305.1 kB / 0.6215 GB, free: 14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002971/0.6353, allocations: 2.104 MB / 0.6236 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005382/0.6407, allocations: 5.819 MB / 0.6292 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3173/0.9581, allocations: 8.565 MB / 0.6376 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001345/0.9583, allocations: 37.16 kB / 0.6376 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=761) (initialization): time 0.01891/0.9772, allocations: 8.421 MB / 0.6459 GB, free: 114.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.9774, allocations: 62.83 kB / 0.6459 GB, free: 114.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002811/0.9777, allocations: 131 kB / 0.646 GB, free: 114.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00285/0.9805, allocations: 0.9109 MB / 0.6469 GB, free: 114.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005164/0.9857, allocations: 1.378 MB / 0.6483 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007978/0.9937, allocations: 5.189 MB / 0.6533 GB, free: 111.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006618/1, allocations: 321.1 kB / 0.6537 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001003/1.001, allocations: 371.8 kB / 0.654 GB, free: 111.1 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.004128/1.006, allocations: 2.078 MB / 0.656 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007831/1.006, allocations: 346 kB / 0.6564 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006467/1.013, allocations: 3.172 MB / 0.6595 GB, free: 109.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.508e-05/1.013, allocations: 17.88 kB / 0.6595 GB, free: 109.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/1.013, allocations: 4.125 kB / 0.6595 GB, free: 109.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/1.013, allocations: 11.03 kB / 0.6595 GB, free: 109.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01401/1.027, allocations: 7.938 MB / 0.6672 GB, free: 106.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/1.027, allocations: 1.5 kB / 0.6672 GB, free: 106.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/1.028, allocations: 298.4 kB / 0.6675 GB, free: 106.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002035/1.03, allocations: 0.716 MB / 0.6682 GB, free: 106.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001582/1.031, allocations: 40.88 kB / 0.6683 GB, free: 106.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005342/1.036, allocations: 4.765 MB / 0.6729 GB, free: 103.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/1.036, allocations: 5.344 kB / 0.6729 GB, free: 103.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007218/1.043, allocations: 5.72 MB / 0.6785 GB, free: 101 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/1.045, allocations: 0.625 MB / 0.6791 GB, free: 100.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003244/1.045, allocations: 27.83 kB / 0.6792 GB, free: 100.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/1.046, allocations: 90.36 kB / 0.6792 GB, free: 100.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002679/1.046, allocations: 103 kB / 0.6793 GB, free: 100.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/1.047, allocations: 57.69 kB / 0.6794 GB, free: 100.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003331/1.05, allocations: 2.551 MB / 0.6819 GB, free: 99.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.05, allocations: 0 / 0.6819 GB, free: 99.08 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004843/1.055, allocations: 0.9637 MB / 0.6828 GB, free: 98.97 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.0003669/1.055, allocations: 153.4 kB / 0.683 GB, free: 98.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006335/1.061, allocations: 5.027 MB / 0.6879 GB, free: 93.87 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.062, allocations: 5 kB / 0.6879 GB, free: 93.86 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001731/1.063, allocations: 1.558 MB / 0.6894 GB, free: 92.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002048/1.065, allocations: 432.2 kB / 0.6898 GB, free: 91.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/1.078, allocations: 8.98 MB / 0.6986 GB, free: 82.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002475/1.08, allocations: 3.245 MB / 0.7018 GB, free: 79.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003445/1.084, allocations: 1.892 MB / 0.7036 GB, free: 77.69 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006215/1.084, allocations: 267.3 kB / 0.7039 GB, free: 77.43 MB / 0.4981 GB Notification: Performance of SimCode: time 9.01e-07/1.084, allocations: 2.188 kB / 0.7039 GB, free: 77.43 MB / 0.4981 GB Notification: Performance of Templates: time 0.05452/1.139, allocations: 34.03 MB / 0.7371 GB, free: 43.47 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)