Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001112/0.001112, allocations: 177.7 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.536/1.536, allocations: 194.3 MB / 202.4 MB, free: 13.04 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.001526/0.001526, allocations: 113.6 kB / 247.4 MB, free: 32 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1831/0.1831, allocations: 39.95 MB / 332.2 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.869e-05/1.884e-05, allocations: 4 kB / 393.3 MB, free: 3.445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2623, allocations: 54.88 MB / 448.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3942/0.6566, allocations: 101.2 MB / 0.5365 GB, free: 34.36 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.6568, allocations: 88.38 kB / 0.5366 GB, free: 34.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1919/0.8487, allocations: 82.36 MB / 0.6171 GB, free: 13.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.8488, allocations: 0 / 0.6171 GB, free: 13.29 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002787/0.8491, allocations: 80 kB / 0.6171 GB, free: 13.21 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.01962/0.8687, allocations: 4.49 MB / 0.6215 GB, free: 8.656 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.745e-05/0.8688, allocations: 12.03 kB / 0.6215 GB, free: 8.645 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01162/0.8804, allocations: 2.209 MB / 0.6237 GB, free: 6.426 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01411/0.8946, allocations: 4.502 MB / 0.6281 GB, free: 1.859 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003821/0.895, allocations: 140 kB / 0.6282 GB, free: 1.723 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00276/0.8978, allocations: 259.9 kB / 0.6285 GB, free: 1.469 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0148/0.9126, allocations: 6.404 MB / 0.6347 GB, free: 11.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03433/0.947, allocations: 9.613 MB / 0.6441 GB, free: 456 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003817/0.9475, allocations: 59.47 kB / 0.6442 GB, free: 396 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002573/0.9501, allocations: 32 kB / 0.6442 GB, free: 364 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003022/0.9531, allocations: 1.006 MB / 0.6452 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09683/1.05, allocations: 45.43 MB / 0.6895 GB, free: 0.5898 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007555/1.058, allocations: 3.225 MB / 0.6927 GB, free: 13.21 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004288/1.062, allocations: 1.755 MB / 0.6944 GB, free: 11.45 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01146/1.073, allocations: 4.615 MB / 0.6989 GB, free: 6.625 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.948e-05/1.074, allocations: 51.34 kB / 0.699 GB, free: 6.566 MB / 474.7 MB Notification: Performance of pre-optimization done (n=142): time 5.1e-06/1.074, allocations: 0 / 0.699 GB, free: 6.566 MB / 474.7 MB Notification: Performance of matching and sorting (n=148): time 0.3116/1.385, allocations: 11.05 MB / 0.7098 GB, free: 113.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.7e-05/1.385, allocations: 145.3 kB / 0.7099 GB, free: 113.1 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005103/1.39, allocations: 3.063 MB / 0.7129 GB, free: 112.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003321/1.391, allocations: 27.08 kB / 0.7129 GB, free: 112.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001822/1.393, allocations: 3.205 MB / 0.716 GB, free: 111.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007537/1.393, allocations: 0.5835 MB / 0.7166 GB, free: 110.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/1.394, allocations: 1.156 kB / 0.7166 GB, free: 110.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000268/1.394, allocations: 0.5561 MB / 0.7172 GB, free: 110.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00283/1.397, allocations: 1.824 MB / 0.7189 GB, free: 110.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003999/1.401, allocations: 5.637 MB / 0.7244 GB, free: 105.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004597/1.405, allocations: 3.17 MB / 0.7275 GB, free: 105.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.229e-05/1.405, allocations: 41.12 kB / 0.7276 GB, free: 105.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.01219/1.418, allocations: 7.279 MB / 0.7347 GB, free: 105 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.517e-05/1.418, allocations: 68.62 kB / 0.7348 GB, free: 105 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001358/1.418, allocations: 137.7 kB / 0.7349 GB, free: 105 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002302/1.42, allocations: 0.9222 MB / 0.7358 GB, free: 105 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004341/1.425, allocations: 1.406 MB / 0.7372 GB, free: 104.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005329/1.43, allocations: 4.592 MB / 0.7416 GB, free: 103.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005778/1.436, allocations: 217.7 kB / 0.7419 GB, free: 103.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001267/1.437, allocations: 379.1 kB / 0.7422 GB, free: 103.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 628 * 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 (741): * Single equations (assignments): 737 * 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.00125/1.438, allocations: 461.8 kB / 0.7427 GB, free: 103.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000848/1.439, allocations: 306.2 kB / 0.7429 GB, free: 103 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004787/1.444, allocations: 2.721 MB / 0.7456 GB, free: 102.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.626e-05/1.444, allocations: 17.19 kB / 0.7456 GB, free: 102.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/1.444, allocations: 3.875 kB / 0.7456 GB, free: 102.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/1.444, allocations: 6.891 kB / 0.7456 GB, free: 102.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01409/1.458, allocations: 6.214 MB / 0.7517 GB, free: 102.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/1.458, allocations: 3.312 kB / 0.7517 GB, free: 102.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001334/1.46, allocations: 250.5 kB / 0.7519 GB, free: 102 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001983/1.462, allocations: 0.695 MB / 0.7526 GB, free: 101.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002151/1.462, allocations: 6.828 kB / 0.7526 GB, free: 101.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00497/1.467, allocations: 4.191 MB / 0.7567 GB, free: 99.57 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/1.467, allocations: 6.656 kB / 0.7567 GB, free: 99.57 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00782/1.475, allocations: 4.994 MB / 0.7616 GB, free: 97.53 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001676/1.476, allocations: 0.5679 MB / 0.7622 GB, free: 97.17 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001024/1.477, allocations: 7.594 kB / 0.7622 GB, free: 97.17 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002103/1.48, allocations: 76.64 kB / 0.7622 GB, free: 97.17 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003072/1.48, allocations: 79.53 kB / 0.7623 GB, free: 97.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/1.48, allocations: 43.34 kB / 0.7624 GB, free: 97.15 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005145/1.485, allocations: 2.032 MB / 0.7643 GB, free: 96.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.485, allocations: 3.594 kB / 0.7643 GB, free: 96.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007579/1.493, allocations: 0.8098 MB / 0.7651 GB, free: 96.4 MB / 474.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.0007953/1.494, allocations: 144 kB / 0.7653 GB, free: 96.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007902/1.502, allocations: 4.388 MB / 0.7696 GB, free: 94.74 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/1.502, allocations: 0 / 0.7696 GB, free: 94.74 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001868/1.503, allocations: 1.316 MB / 0.7708 GB, free: 94.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002584/1.506, allocations: 314.1 kB / 0.7711 GB, free: 94.05 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01815/1.524, allocations: 7.104 MB / 0.7781 GB, free: 89.76 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005909/1.53, allocations: 3.309 MB / 0.7813 GB, free: 87.25 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00557/1.536, allocations: 1.857 MB / 0.7831 GB, free: 86.08 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/1.537, allocations: 220.3 kB / 0.7833 GB, free: 85.88 MB / 474.7 MB Notification: Performance of SimCode: time 1.432e-06/1.537, allocations: 4 kB / 0.7833 GB, free: 85.88 MB / 474.7 MB Notification: Performance of Templates: time 0.05301/1.59, allocations: 28 MB / 0.8107 GB, free: 67.17 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1)