Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0014/0.0014, allocations: 176.2 kB / 7.652 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.538/1.538, allocations: 194.3 MB / 202.4 MB, free: 12.96 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.001556/0.001556, allocations: 114.5 kB / 247.4 MB, free: 15.96 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.2163/0.2163, allocations: 39.95 MB / 332.2 MB, free: 0.625 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.676e-05/1.698e-05, allocations: 4 kB / 393.3 MB, free: 3.422 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.301, allocations: 54.87 MB / 448.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4101/0.7111, allocations: 102 MB / 0.5373 GB, free: 34.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.7115, allocations: 83.53 kB / 0.5374 GB, free: 34.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2289/0.9404, allocations: 95.21 MB / 0.6303 GB, free: 15.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.9405, allocations: 0 / 0.6303 GB, free: 15.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003664/0.9409, allocations: 100 kB / 0.6304 GB, free: 15.5 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.02371/0.9646, allocations: 5.506 MB / 0.6358 GB, free: 9.918 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.9646, allocations: 12.03 kB / 0.6358 GB, free: 9.906 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01248/0.9771, allocations: 2.317 MB / 0.6381 GB, free: 7.578 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01451/0.9917, allocations: 4.952 MB / 0.6429 GB, free: 2.562 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002847/0.9921, allocations: 172 kB / 0.6431 GB, free: 2.395 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002809/0.9949, allocations: 307.9 kB / 0.6434 GB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01576/1.011, allocations: 7.814 MB / 0.651 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02785/1.039, allocations: 11.48 MB / 0.6622 GB, free: 13.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002881/1.039, allocations: 63.41 kB / 0.6623 GB, free: 13.67 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002368/1.041, allocations: 32 kB / 0.6623 GB, free: 13.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002097/1.043, allocations: 1.208 MB / 0.6635 GB, free: 12.43 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.346/1.389, allocations: 53.54 MB / 0.7158 GB, free: 74.62 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005254/1.395, allocations: 4.468 MB / 0.7202 GB, free: 73.96 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004332/1.399, allocations: 3.221 MB / 0.7233 GB, free: 73.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001294/1.4, allocations: 1.013 MB / 0.7243 GB, free: 73.08 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/1.4, allocations: 62.67 kB / 0.7243 GB, free: 73.04 MB / 474.7 MB Notification: Performance of pre-optimization done (n=224): time 5.21e-06/1.401, allocations: 0 / 0.7243 GB, free: 73.04 MB / 474.7 MB Notification: Performance of matching and sorting (n=255): time 0.04528/1.446, allocations: 22.9 MB / 0.7467 GB, free: 69.91 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.534e-05/1.446, allocations: 155.8 kB / 0.7469 GB, free: 69.74 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004517/1.45, allocations: 3.277 MB / 0.7501 GB, free: 69.42 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005751/1.451, allocations: 29.23 kB / 0.7501 GB, free: 69.39 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0017/1.453, allocations: 3.609 MB / 0.7536 GB, free: 67.57 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009625/1.454, allocations: 0.9276 MB / 0.7545 GB, free: 67.02 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003132/1.454, allocations: 0 / 0.7545 GB, free: 67.02 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002819/1.454, allocations: 0.6049 MB / 0.7551 GB, free: 66.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003254/1.458, allocations: 2.884 MB / 0.7579 GB, free: 66.69 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004742/1.462, allocations: 6.927 MB / 0.7647 GB, free: 60.52 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005482/1.468, allocations: 4.405 MB / 0.769 GB, free: 59.16 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.117e-05/1.468, allocations: 40.34 kB / 0.769 GB, free: 59.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=921) (initialization): time 0.01811/1.486, allocations: 9.966 MB / 0.7788 GB, free: 56.52 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/1.486, allocations: 67.88 kB / 0.7788 GB, free: 56.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001729/1.486, allocations: 143.7 kB / 0.779 GB, free: 56.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002563/1.489, allocations: 1.139 MB / 0.7801 GB, free: 56.33 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006782/1.496, allocations: 1.759 MB / 0.7818 GB, free: 56.13 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006382/1.502, allocations: 5.63 MB / 0.7873 GB, free: 53.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006633/1.509, allocations: 294.9 kB / 0.7876 GB, free: 53.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002175/1.511, allocations: 436.4 kB / 0.788 GB, free: 53.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 39 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (882): * Single equations (assignments): 878 * 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.002987/1.514, allocations: 484.6 kB / 0.7885 GB, free: 52.81 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001369/1.515, allocations: 366.7 kB / 0.7888 GB, free: 52.52 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01056/1.526, allocations: 5.362 MB / 0.794 GB, free: 48.25 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.554e-05/1.526, allocations: 28 kB / 0.7941 GB, free: 48.22 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.249e-05/1.526, allocations: 6.734 kB / 0.7941 GB, free: 48.21 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.684e-05/1.526, allocations: 14.47 kB / 0.7941 GB, free: 48.21 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02309/1.549, allocations: 11.16 MB / 0.805 GB, free: 39.22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-05/1.549, allocations: 4 kB / 0.805 GB, free: 39.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002828/1.552, allocations: 0.5176 MB / 0.8055 GB, free: 38.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002439/1.555, allocations: 0.9323 MB / 0.8064 GB, free: 38.18 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006237/1.555, allocations: 11.84 kB / 0.8064 GB, free: 38.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006425/1.562, allocations: 5.333 MB / 0.8116 GB, free: 33.49 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/1.562, allocations: 9.906 kB / 0.8116 GB, free: 33.48 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01273/1.575, allocations: 9.573 MB / 0.821 GB, free: 25.07 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002273/1.577, allocations: 0.8521 MB / 0.8218 GB, free: 24.27 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001222/1.578, allocations: 11.8 kB / 0.8218 GB, free: 24.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002856/1.581, allocations: 151.4 kB / 0.822 GB, free: 24.18 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005007/1.582, allocations: 158.1 kB / 0.8221 GB, free: 24.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002842/1.582, allocations: 68.17 kB / 0.8222 GB, free: 24.03 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004829/1.587, allocations: 2.181 MB / 0.8243 GB, free: 22.15 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.21e-07/1.587, allocations: 0 / 0.8243 GB, free: 22.15 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01008/1.597, allocations: 1.087 MB / 0.8254 GB, free: 21.07 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (228): * Single equations (assignments): 224 * 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 Backend phase and start with SimCode phase: time 0.001178/1.598, allocations: 156.8 kB / 0.8255 GB, free: 20.92 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01133/1.609, allocations: 6.893 MB / 0.8323 GB, free: 14.79 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/1.609, allocations: 0 / 0.8323 GB, free: 14.79 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003887/1.613, allocations: 2.669 MB / 0.8349 GB, free: 12.41 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002888/1.616, allocations: 342.4 kB / 0.8352 GB, free: 12.12 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02312/1.639, allocations: 9.962 MB / 0.8449 GB, free: 3.363 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006261/1.646, allocations: 3.901 MB / 0.8487 GB, free: 436 kB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01386/1.66, allocations: 2.836 MB / 0.8515 GB, free: 0 / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00299/1.663, allocations: 378 kB / 0.8519 GB, free: 15.91 MB / 490.7 MB Notification: Performance of SimCode: time 9.12e-07/1.663, allocations: 4 kB / 0.8519 GB, free: 15.91 MB / 490.7 MB Notification: Performance of Templates: time 0.08676/1.749, allocations: 41.05 MB / 0.892 GB, free: 8.328 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1)