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.006785/0.006785, allocations: 174.1 kB / 15.12 MB, free: 5.973 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.612/1.612, allocations: 194.5 MB / 210.3 MB, free: 7.547 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.00165/0.00165, allocations: 116.7 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1907/0.1907, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003777, allocations: 12.25 kB / 406.2 MB, free: 51.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1122, allocations: 54.88 MB / 461 MB, free: 3.281 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4004/0.5126, allocations: 102.6 MB / 0.5504 GB, free: 21.83 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.5129, allocations: 83.27 kB / 0.5505 GB, free: 21.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3737/0.8866, allocations: 147.5 MB / 0.6946 GB, free: 11.4 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.747e-06/0.8867, allocations: 0 / 0.6946 GB, free: 11.4 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0008662/0.8875, allocations: 151.9 kB / 0.6947 GB, free: 11.25 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.04278/0.9303, allocations: 9.458 MB / 0.7039 GB, free: 1.703 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.9304, allocations: 12.03 kB / 0.7039 GB, free: 1.691 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06077/0.9912, allocations: 16.67 MB / 0.7202 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.304/1.295, allocations: 13.35 MB / 0.7333 GB, free: 79.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006802/1.296, allocations: 0.4907 MB / 0.7337 GB, free: 79.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003779/1.3, allocations: 0.6633 MB / 0.7344 GB, free: 79.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04207/1.342, allocations: 16.89 MB / 0.7509 GB, free: 75.29 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003665/1.342, allocations: 106.2 kB / 0.751 GB, free: 75.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001442/1.344, allocations: 323.7 kB / 0.7513 GB, free: 75.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001783/1.346, allocations: 1.473 MB / 0.7527 GB, free: 75.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02778/1.373, allocations: 13.66 MB / 0.7661 GB, free: 75.21 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08981/1.463, allocations: 76.75 MB / 0.841 GB, free: 39.79 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02669/1.49, allocations: 8.579 MB / 0.8494 GB, free: 37.37 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002722/1.493, allocations: 1.352 MB / 0.8507 GB, free: 36.19 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.195e-05/1.493, allocations: 69.39 kB / 0.8508 GB, free: 36.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=268): time 8.486e-06/1.493, allocations: 0 / 0.8508 GB, free: 36.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=352): time 0.2725/1.765, allocations: 51.51 MB / 0.9011 GB, free: 2.215 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2751/2.041, allocations: 3.25 MB / 0.9043 GB, free: 91.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01417/2.055, allocations: 6.554 MB / 0.9107 GB, free: 90.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0012/2.056, allocations: 77.75 kB / 0.9107 GB, free: 90.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005174/2.061, allocations: 5.202 MB / 0.9158 GB, free: 89.72 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002596/2.064, allocations: 1.334 MB / 0.9171 GB, free: 88.95 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001055/2.065, allocations: 188.6 kB / 0.9173 GB, free: 88.95 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006593/2.065, allocations: 0.7144 MB / 0.918 GB, free: 88.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008151/2.074, allocations: 4.552 MB / 0.9225 GB, free: 88.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01076/2.084, allocations: 9.832 MB / 0.9321 GB, free: 81.87 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009788/2.094, allocations: 6.531 MB / 0.9384 GB, free: 81.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002133/2.095, allocations: 53.95 kB / 0.9385 GB, free: 81.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.06993/2.164, allocations: 31.57 MB / 0.9693 GB, free: 80.87 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001523/2.165, allocations: 80.72 kB / 0.9694 GB, free: 80.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04659/2.211, allocations: 20.64 MB / 0.9895 GB, free: 78.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0442/2.256, allocations: 16.61 MB / 1.006 GB, free: 77.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008603/2.264, allocations: 2.103 MB / 1.008 GB, free: 77.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04469/2.309, allocations: 35.36 MB / 1.042 GB, free: 46.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01076/2.32, allocations: 0.7755 MB / 1.043 GB, free: 45.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002367/2.322, allocations: 0.5618 MB / 1.044 GB, free: 45.23 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 () * Number of clocked 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.01102/2.333, allocations: 3.428 MB / 1.047 GB, free: 41.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002087/2.335, allocations: 0.6711 MB / 1.048 GB, free: 41.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01841/2.354, allocations: 10.14 MB / 1.058 GB, free: 30.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01506/2.369, allocations: 8.822 MB / 1.066 GB, free: 22.05 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.542e-05/2.369, allocations: 16 kB / 1.066 GB, free: 22.03 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-05/2.369, allocations: 23.89 kB / 1.066 GB, free: 22.01 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3342/2.703, allocations: 23.43 MB / 1.089 GB, free: 75.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.263e-05/2.703, allocations: 2.344 kB / 1.089 GB, free: 75.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003521/2.707, allocations: 0.5729 MB / 1.09 GB, free: 75.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01439/2.721, allocations: 3.637 MB / 1.093 GB, free: 75.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001305/2.723, allocations: 95.78 kB / 1.093 GB, free: 75.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.028/2.751, allocations: 22.73 MB / 1.115 GB, free: 68.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001577/2.752, allocations: 3.024 MB / 1.118 GB, free: 66.12 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02392/2.776, allocations: 15.58 MB / 1.134 GB, free: 64.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005656/2.782, allocations: 1.375 MB / 1.135 GB, free: 64.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0024/2.784, allocations: 77.59 kB / 1.135 GB, free: 64.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005347/2.79, allocations: 362.4 kB / 1.135 GB, free: 64.79 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001031/2.791, allocations: 243.1 kB / 1.136 GB, free: 64.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003352/2.791, allocations: 108 kB / 1.136 GB, free: 64.78 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008358/2.799, allocations: 4.7 MB / 1.14 GB, free: 64.56 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.31e-07/2.799, allocations: 1.969 kB / 1.14 GB, free: 64.56 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01118/2.811, allocations: 2.123 MB / 1.142 GB, free: 64.56 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyCylinder1.body.w_a[1],bodyCylinder1.body.w_a[2],bodyCylinder1.body.w_a[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (246): * Single equations (assignments): 236 * 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: 3 * 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: 3 {(5,100.0%) 34,(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.001092/2.812, allocations: 218.6 kB / 1.143 GB, free: 64.48 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01794/2.83, allocations: 11.96 MB / 1.154 GB, free: 62.64 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/2.83, allocations: 0 / 1.154 GB, free: 62.64 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007858/2.838, allocations: 5.086 MB / 1.159 GB, free: 60.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006904/2.845, allocations: 0.9482 MB / 1.16 GB, free: 59.88 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03666/2.881, allocations: 21.87 MB / 1.182 GB, free: 49.69 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005981/2.887, allocations: 5.497 MB / 1.187 GB, free: 47.96 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008004/2.895, allocations: 3.171 MB / 1.19 GB, free: 47.71 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001833/2.897, allocations: 449.8 kB / 1.19 GB, free: 47.69 MB / 0.4948 GB Notification: Performance of SimCode: time 1.773e-06/2.897, allocations: 0 / 1.19 GB, free: 47.69 MB / 0.4948 GB Notification: Performance of Templates: time 0.4598/3.357, allocations: 98.95 MB / 1.287 GB, free: 90.31 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)