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/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_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/Complex 3.2.1+maint.om/package.mo): time 0.001186/0.001186, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.155/1.155, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001567/0.001567, allocations: 106.8 kB / 223.2 MB, free: 4.047 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.168/0.168, allocations: 37.99 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.602e-05/2.604e-05, allocations: 6.578 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0767/0.07674, allocations: 48.71 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3267/0.4035, allocations: 95.1 MB / 0.4891 GB, free: 16.7 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001881/0.4037, allocations: 78.67 kB / 0.4892 GB, free: 16.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2043/0.608, allocations: 84 MB / 0.5712 GB, free: 396 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6081, allocations: 3.938 kB / 0.5712 GB, free: 392 kB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001557/0.6082, allocations: 84 kB / 0.5713 GB, free: 308 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01509/0.6233, allocations: 4.495 MB / 0.5757 GB, free: 11.74 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.6234, allocations: 11.97 kB / 0.5757 GB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/0.6335, allocations: 2.217 MB / 0.5778 GB, free: 9.504 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01171/0.6452, allocations: 4.493 MB / 0.5822 GB, free: 4.945 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003671/0.6457, allocations: 316.4 kB / 0.5825 GB, free: 4.633 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002767/0.6484, allocations: 427.8 kB / 0.5829 GB, free: 4.215 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02465/0.6731, allocations: 10.66 MB / 0.5933 GB, free: 8.547 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001507/0.6733, allocations: 59.41 kB / 0.5934 GB, free: 8.488 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006523/0.674, allocations: 215.8 kB / 0.5936 GB, free: 8.277 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001451/0.6754, allocations: 1.003 MB / 0.5946 GB, free: 7.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0188/0.6942, allocations: 8.901 MB / 0.6033 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2704/0.9647, allocations: 47.4 MB / 0.6496 GB, free: 57.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01124/0.976, allocations: 3.565 MB / 0.653 GB, free: 56.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002874/0.9789, allocations: 1.798 MB / 0.6548 GB, free: 56.81 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008218/0.9871, allocations: 4.754 MB / 0.6594 GB, free: 55.19 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.9872, allocations: 45.22 kB / 0.6595 GB, free: 55.15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=142): time 5.461e-06/0.9872, allocations: 0 / 0.6595 GB, free: 55.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=148): time 0.0213/1.009, allocations: 9.892 MB / 0.6691 GB, free: 52.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/1.009, allocations: 147.7 kB / 0.6693 GB, free: 52.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005184/1.014, allocations: 3.6 MB / 0.6728 GB, free: 51.97 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000359/1.014, allocations: 44.39 kB / 0.6728 GB, free: 51.94 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00174/1.016, allocations: 3.133 MB / 0.6759 GB, free: 50.33 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007298/1.017, allocations: 0.6056 MB / 0.6765 GB, free: 50.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002361/1.017, allocations: 111.4 kB / 0.6766 GB, free: 50.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000303/1.017, allocations: 0.5454 MB / 0.6771 GB, free: 49.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002555/1.02, allocations: 1.887 MB / 0.679 GB, free: 49.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004076/1.024, allocations: 5.556 MB / 0.6844 GB, free: 44.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003835/1.028, allocations: 3.211 MB / 0.6875 GB, free: 44.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-05/1.028, allocations: 40.84 kB / 0.6876 GB, free: 44.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.0125/1.04, allocations: 7.922 MB / 0.6953 GB, free: 42.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.781e-05/1.04, allocations: 60.59 kB / 0.6954 GB, free: 42.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001434/1.041, allocations: 133.1 kB / 0.6955 GB, free: 42.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002322/1.043, allocations: 0.913 MB / 0.6964 GB, free: 42.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004059/1.047, allocations: 1.353 MB / 0.6977 GB, free: 42.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005125/1.052, allocations: 4.762 MB / 0.7024 GB, free: 39.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004377/1.057, allocations: 329.1 kB / 0.7027 GB, free: 39.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008231/1.057, allocations: 358.3 kB / 0.703 GB, free: 39.75 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 598 * Number of states: 0 () * Number of discrete variables: 33 (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.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (711): * Single equations (assignments): 707 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000978/1.058, allocations: 0.5548 MB / 0.7036 GB, free: 39.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005557/1.059, allocations: 338.8 kB / 0.7039 GB, free: 39.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00534/1.064, allocations: 2.839 MB / 0.7067 GB, free: 38.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.215e-05/1.064, allocations: 15.16 kB / 0.7067 GB, free: 38.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.55e-05/1.064, allocations: 7.234 kB / 0.7067 GB, free: 38.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/1.064, allocations: 14.69 kB / 0.7067 GB, free: 38.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01464/1.079, allocations: 7.074 MB / 0.7136 GB, free: 35.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/1.079, allocations: 3.5 kB / 0.7136 GB, free: 35.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/1.08, allocations: 245.6 kB / 0.7138 GB, free: 35.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002035/1.082, allocations: 0.708 MB / 0.7145 GB, free: 35.51 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001857/1.083, allocations: 27.36 kB / 0.7146 GB, free: 35.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004871/1.087, allocations: 4.335 MB / 0.7188 GB, free: 33.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.087, allocations: 6.75 kB / 0.7188 GB, free: 33.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007285/1.095, allocations: 5.133 MB / 0.7238 GB, free: 30.92 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002064/1.097, allocations: 0.6068 MB / 0.7244 GB, free: 30.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009028/1.098, allocations: 23.56 kB / 0.7244 GB, free: 30.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001938/1.1, allocations: 101 kB / 0.7245 GB, free: 30.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002559/1.1, allocations: 91.09 kB / 0.7246 GB, free: 30.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/1.1, allocations: 39.92 kB / 0.7246 GB, free: 30.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004875/1.105, allocations: 2.506 MB / 0.7271 GB, free: 28.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.61e-07/1.105, allocations: 0 / 0.7271 GB, free: 28.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005237/1.11, allocations: 0.9452 MB / 0.728 GB, free: 27.52 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 113 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000438/1.111, allocations: 164.3 kB / 0.7282 GB, free: 27.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006758/1.117, allocations: 4.605 MB / 0.7327 GB, free: 23.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/1.118, allocations: 0 / 0.7327 GB, free: 23.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001786/1.119, allocations: 1.349 MB / 0.734 GB, free: 21.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002352/1.122, allocations: 390 kB / 0.7344 GB, free: 21.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/1.134, allocations: 7.179 MB / 0.7414 GB, free: 15.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002704/1.137, allocations: 3.32 MB / 0.7446 GB, free: 12.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004101/1.141, allocations: 1.822 MB / 0.7464 GB, free: 11.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006171/1.142, allocations: 234.4 kB / 0.7466 GB, free: 11.32 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/1.142, allocations: 0 / 0.7466 GB, free: 11.32 MB / 426.7 MB Notification: Performance of Templates: time 0.2898/1.431, allocations: 32.73 MB / 0.7786 GB, free: 96.94 MB / 442.7 MB 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)