Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009822/0.0009823, allocations: 181.9 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.358/1.358, allocations: 194.3 MB / 207.5 MB, free: 3.461 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001636/0.001636, allocations: 109 kB / 252.6 MB, free: 4.84 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1941/0.1941, allocations: 39.93 MB / 337.5 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.494e-05/3.497e-05, allocations: 4 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1183, allocations: 54.86 MB / 455.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.445/0.5633, allocations: 102.5 MB / 0.5446 GB, free: 5.367 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.5636, allocations: 81.89 kB / 0.5447 GB, free: 5.324 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7171/1.281, allocations: 147.6 MB / 0.6888 GB, free: 86.27 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.733e-06/1.281, allocations: 0 / 0.6888 GB, free: 86.27 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005642/1.281, allocations: 144.5 kB / 0.689 GB, free: 86.27 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2273 * Number of variables: 2273 Notification: Performance of Generate backend data structure: time 0.03583/1.317, allocations: 8.554 MB / 0.6973 GB, free: 83.47 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/1.317, allocations: 7.875 kB / 0.6973 GB, free: 83.47 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05885/1.376, allocations: 16.69 MB / 0.7136 GB, free: 82.96 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03407/1.41, allocations: 13.31 MB / 0.7266 GB, free: 81.89 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005365/1.411, allocations: 493.5 kB / 0.7271 GB, free: 81.87 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003489/1.414, allocations: 0.6675 MB / 0.7277 GB, free: 81.86 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04039/1.455, allocations: 16.78 MB / 0.7441 GB, free: 77.53 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005748/1.455, allocations: 113.5 kB / 0.7442 GB, free: 77.51 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002789/1.458, allocations: 314.4 kB / 0.7445 GB, free: 77.34 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002249/1.46, allocations: 1.483 MB / 0.746 GB, free: 77.07 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03246/1.493, allocations: 13.48 MB / 0.7591 GB, free: 70.71 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1013/1.594, allocations: 76.74 MB / 0.8341 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02761/1.622, allocations: 8.557 MB / 0.8424 GB, free: 4.324 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006621/1.629, allocations: 4.09 MB / 0.8464 GB, free: 228 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.391/2.02, allocations: 1.336 MB / 0.8477 GB, free: 87.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/2.02, allocations: 64.53 kB / 0.8478 GB, free: 87.86 MB / 490.7 MB Notification: Performance of pre-optimization done (n=268): time 2.281e-05/2.02, allocations: 0.5938 kB / 0.8478 GB, free: 87.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=352): time 0.1907/2.211, allocations: 44.9 MB / 0.8917 GB, free: 83.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002035/2.213, allocations: 3.227 MB / 0.8948 GB, free: 80.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01249/2.225, allocations: 6.494 MB / 0.9012 GB, free: 79.53 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001044/2.226, allocations: 78.22 kB / 0.9012 GB, free: 79.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003359/2.23, allocations: 5.198 MB / 0.9063 GB, free: 77.37 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001716/2.232, allocations: 1.343 MB / 0.9076 GB, free: 76.59 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005197/2.232, allocations: 188.5 kB / 0.9078 GB, free: 76.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004059/2.232, allocations: 0.7067 MB / 0.9085 GB, free: 76.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005832/2.238, allocations: 4.479 MB / 0.9129 GB, free: 76.24 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008244/2.247, allocations: 9.754 MB / 0.9224 GB, free: 67.94 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008546/2.255, allocations: 6.519 MB / 0.9287 GB, free: 65.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001094/2.255, allocations: 51.5 kB / 0.9288 GB, free: 65.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.07147/2.327, allocations: 31.42 MB / 0.9595 GB, free: 53.76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002883/2.327, allocations: 84 kB / 0.9596 GB, free: 53.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04609/2.373, allocations: 20.58 MB / 0.9797 GB, free: 36.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04269/2.416, allocations: 16.59 MB / 0.9959 GB, free: 19.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007688/2.424, allocations: 2.124 MB / 0.9979 GB, free: 17.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4007/2.824, allocations: 33.32 MB / 1.03 GB, free: 86.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0149/2.839, allocations: 0.7774 MB / 1.031 GB, free: 86.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00418/2.844, allocations: 0.5544 MB / 1.032 GB, free: 86.36 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 842 * Number of states: 0 () * Number of discrete variables: 60 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],bodyCylinder4.color[3],bodyCylinder4.color[2],bodyCylinder4.color[1],bodyCylinder4.body.sphereColor[3],bodyCylinder4.body.sphereColor[2],bodyCylinder4.body.sphereColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],spherical2.sphereColor[3],spherical2.sphereColor[2],spherical2.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1089): * Single equations (assignments): 1076 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 38,(4,100.0%) 41} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.003555/2.847, allocations: 0.8047 MB / 1.033 GB, free: 86.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002155/2.849, allocations: 0.6725 MB / 1.033 GB, free: 86.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02495/2.874, allocations: 10.16 MB / 1.043 GB, free: 85.78 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01747/2.892, allocations: 8.839 MB / 1.052 GB, free: 85.34 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-05/2.892, allocations: 19.69 kB / 1.052 GB, free: 85.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001092/2.892, allocations: 17.39 kB / 1.052 GB, free: 85.34 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04946/2.942, allocations: 23.36 MB / 1.075 GB, free: 84.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-05/2.942, allocations: 3.594 kB / 1.075 GB, free: 84.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003244/2.945, allocations: 0.5606 MB / 1.075 GB, free: 84.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01262/2.958, allocations: 4.007 MB / 1.079 GB, free: 83.35 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001175/2.959, allocations: 110.7 kB / 1.079 GB, free: 83.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02778/2.987, allocations: 23.98 MB / 1.103 GB, free: 69.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002024/2.989, allocations: 3.007 MB / 1.106 GB, free: 66.58 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02634/3.015, allocations: 15.47 MB / 1.121 GB, free: 60.68 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005378/3.02, allocations: 1.379 MB / 1.122 GB, free: 60.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002339/3.023, allocations: 86.98 kB / 1.122 GB, free: 59.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005506/3.028, allocations: 365.2 kB / 1.122 GB, free: 59.94 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001073/3.029, allocations: 249.2 kB / 1.123 GB, free: 59.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003426/3.03, allocations: 96.78 kB / 1.123 GB, free: 59.89 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009824/3.04, allocations: 4.633 MB / 1.127 GB, free: 58.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.52e-07/3.04, allocations: 2.938 kB / 1.127 GB, free: 58.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01314/3.053, allocations: 2.124 MB / 1.129 GB, free: 58.14 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],fixedRotation1.frame_b.R.w[1],fixedRotation1.frame_b.R.w[2],fixedRotation1.frame_b.R.w[3],revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (244): * Single equations (assignments): 233 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(5,100.0%) 35,(1,100.0%) 1,(3,100.0%) 33,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001077/3.054, allocations: 219.2 kB / 1.13 GB, free: 58.02 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01952/3.073, allocations: 11.81 MB / 1.141 GB, free: 53.62 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/3.074, allocations: 0 / 1.141 GB, free: 53.62 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007988/3.082, allocations: 5.161 MB / 1.146 GB, free: 48.95 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006938/3.089, allocations: 0.9393 MB / 1.147 GB, free: 48.17 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03297/3.122, allocations: 16.29 MB / 1.163 GB, free: 34.19 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006136/3.128, allocations: 5.505 MB / 1.168 GB, free: 30.19 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.009251/3.137, allocations: 3.158 MB / 1.171 GB, free: 28.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002222/3.139, allocations: 458.5 kB / 1.172 GB, free: 27.73 MB / 0.4948 GB Notification: Performance of SimCode: time 2.214e-06/3.139, allocations: 0 / 1.172 GB, free: 27.73 MB / 0.4948 GB Notification: Performance of Templates: time 0.477/3.616, allocations: 98.83 MB / 1.268 GB, free: 92.09 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe 2>&1)