Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_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.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001298/0.001298, allocations: 166.8 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.187/1.187, allocations: 170.6 MB / 178.7 MB, free: 15.58 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00172/0.00172, allocations: 95.52 kB / 218 MB, free: 8.348 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.186/0.186, allocations: 37.98 MB / 295.1 MB, free: 9.477 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.724e-05/1.725e-05, allocations: 2.188 kB / 350 MB, free: 37.04 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09902/0.09905, allocations: 48.72 MB / 398.7 MB, free: 5.34 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3897/0.4888, allocations: 95.03 MB / 493.8 MB, free: 17.87 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.4891, allocations: 83.08 kB / 493.8 MB, free: 17.87 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6408/1.13, allocations: 144.6 MB / 0.6235 GB, free: 62.06 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.048e-06/1.13, allocations: 0.6094 kB / 0.6235 GB, free: 62.06 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001138/1.131, allocations: 146.6 kB / 0.6237 GB, free: 62.06 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2272 * Number of variables: 2272 Notification: Performance of Generate backend data structure: time 0.046/1.177, allocations: 8.556 MB / 0.632 GB, free: 60.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.713e-05/1.177, allocations: 9.125 kB / 0.632 GB, free: 60.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06493/1.242, allocations: 16.69 MB / 0.6483 GB, free: 59.92 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03642/1.279, allocations: 13.28 MB / 0.6613 GB, free: 58.85 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005663/1.279, allocations: 210.1 kB / 0.6615 GB, free: 58.85 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003829/1.283, allocations: 406.5 kB / 0.6619 GB, free: 58.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02088/1.304, allocations: 9 MB / 0.6707 GB, free: 58.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04235/1.346, allocations: 14.15 MB / 0.6845 GB, free: 54.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009808/1.347, allocations: 110.5 kB / 0.6846 GB, free: 54.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004159/1.352, allocations: 47.22 kB / 0.6846 GB, free: 54.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00279/1.354, allocations: 1.466 MB / 0.6861 GB, free: 54.74 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09979/1.454, allocations: 74.51 MB / 0.7588 GB, free: 33.25 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006786/1.461, allocations: 5.345 MB / 0.7641 GB, free: 28.24 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004635/1.466, allocations: 4.007 MB / 0.768 GB, free: 24.59 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00168/1.467, allocations: 1.356 MB / 0.7693 GB, free: 23.14 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.957e-05/1.468, allocations: 64.12 kB / 0.7694 GB, free: 23.07 MB / 458.7 MB Notification: Performance of pre-optimization done (n=268): time 7.414e-06/1.468, allocations: 0 / 0.7694 GB, free: 23.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=350): time 0.4174/1.885, allocations: 43.36 MB / 0.8117 GB, free: 83.68 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001692/1.885, allocations: 271.8 kB / 0.812 GB, free: 83.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01127/1.896, allocations: 5.651 MB / 0.8175 GB, free: 82.9 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001124/1.898, allocations: 35.48 kB / 0.8175 GB, free: 82.87 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003385/1.901, allocations: 5.249 MB / 0.8226 GB, free: 80.58 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001889/1.903, allocations: 1.295 MB / 0.8239 GB, free: 79.81 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006079/1.904, allocations: 0 / 0.8239 GB, free: 79.81 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004317/1.904, allocations: 0.7195 MB / 0.8246 GB, free: 79.48 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004862/1.909, allocations: 4.321 MB / 0.8288 GB, free: 79.46 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007464/1.916, allocations: 9.673 MB / 0.8383 GB, free: 72.56 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008436/1.925, allocations: 6.352 MB / 0.8445 GB, free: 72.52 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001238/1.925, allocations: 58.28 kB / 0.8445 GB, free: 72.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=1257) (initialization): time 0.06556/1.991, allocations: 30.24 MB / 0.8741 GB, free: 71.73 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001358/1.991, allocations: 86.41 kB / 0.8741 GB, free: 71.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04432/2.035, allocations: 20.32 MB / 0.894 GB, free: 69.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04433/2.079, allocations: 16.54 MB / 0.9101 GB, free: 62.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007819/2.087, allocations: 2.148 MB / 0.9122 GB, free: 60.67 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03849/2.126, allocations: 31.5 MB / 0.943 GB, free: 28.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01201/2.138, allocations: 0.5879 MB / 0.9436 GB, free: 28.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002774/2.141, allocations: 0.5702 MB / 0.9441 GB, free: 27.64 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 866 * 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 (1111): * Single equations (assignments): 1098 * 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,(5,100.0%) 40} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.002026/2.143, allocations: 0.5905 MB / 0.9447 GB, free: 27.05 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001767/2.145, allocations: 0.6325 MB / 0.9453 GB, free: 26.41 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01705/2.162, allocations: 9.798 MB / 0.9549 GB, free: 16.54 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3517/2.513, allocations: 8.608 MB / 0.9633 GB, free: 73.61 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.763e-05/2.513, allocations: 16.47 kB / 0.9633 GB, free: 73.61 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000139/2.514, allocations: 17.77 kB / 0.9633 GB, free: 73.61 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0501/2.564, allocations: 22.26 MB / 0.9851 GB, free: 72.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.942e-05/2.564, allocations: 3.531 kB / 0.9851 GB, free: 72.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003324/2.567, allocations: 0.5578 MB / 0.9856 GB, free: 72.33 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01282/2.58, allocations: 3.964 MB / 0.9895 GB, free: 72.25 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001168/2.581, allocations: 55.05 kB / 0.9895 GB, free: 72.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02784/2.609, allocations: 22.73 MB / 1.012 GB, free: 64.81 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0017/2.611, allocations: 2.873 MB / 1.015 GB, free: 62.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02425/2.635, allocations: 15.08 MB / 1.029 GB, free: 58.48 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004181/2.639, allocations: 1.316 MB / 1.031 GB, free: 58.11 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002002/2.641, allocations: 38.48 kB / 1.031 GB, free: 58.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004219/2.646, allocations: 302.3 kB / 1.031 GB, free: 58.09 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007082/2.646, allocations: 245.4 kB / 1.031 GB, free: 58.06 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002917/2.647, allocations: 96.55 kB / 1.031 GB, free: 58.04 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00637/2.653, allocations: 3.897 MB / 1.035 GB, free: 56.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.9e-07/2.653, allocations: 0 / 1.035 GB, free: 56.68 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01109/2.664, allocations: 1.906 MB / 1.037 GB, free: 56.67 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 16 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.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 (242): * Single equations (assignments): 231 * 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.0009932/2.665, allocations: 175.9 kB / 1.037 GB, free: 56.58 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01713/2.682, allocations: 11.37 MB / 1.048 GB, free: 52.53 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/2.682, allocations: 0 / 1.048 GB, free: 52.53 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01029/2.693, allocations: 5.006 MB / 1.053 GB, free: 50.12 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008329/2.701, allocations: 0.7974 MB / 1.054 GB, free: 49.83 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04615/2.747, allocations: 15.99 MB / 1.069 GB, free: 42.88 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008096/2.755, allocations: 5.508 MB / 1.075 GB, free: 38.88 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01353/2.769, allocations: 3.161 MB / 1.078 GB, free: 36.84 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003018/2.772, allocations: 429.5 kB / 1.078 GB, free: 36.46 MB / 458.7 MB Notification: Performance of SimCode: time 1.332e-06/2.772, allocations: 0 / 1.078 GB, free: 36.46 MB / 458.7 MB Notification: Performance of Templates: time 0.3986/3.171, allocations: 90.05 MB / 1.166 GB, free: 80.44 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe 2>&1)