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.006968/0.006968, allocations: 174.3 kB / 15.12 MB, free: 5.969 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.503/1.503, allocations: 194.5 MB / 210.3 MB, free: 8.586 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.001702/0.001702, allocations: 104.7 kB / 255.6 MB, free: 11.2 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.1836/0.1836, allocations: 40.01 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004113/0.0004112, allocations: 12.38 kB / 406.2 MB, free: 52.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1216, allocations: 54.87 MB / 461 MB, free: 3.414 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3736/0.4953, allocations: 102 MB / 0.5498 GB, free: 21.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/0.4956, allocations: 88.31 kB / 0.5499 GB, free: 21.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1927/0.6883, allocations: 83.95 MB / 0.6319 GB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.6884, allocations: 192 / 0.6319 GB, free: 11.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002025/0.6886, allocations: 87.92 kB / 0.632 GB, free: 11.75 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: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.01788/0.7065, allocations: 4.728 MB / 0.6366 GB, free: 7.137 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.7066, allocations: 8.031 kB / 0.6366 GB, free: 7.129 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01038/0.7169, allocations: 2.213 MB / 0.6388 GB, free: 4.906 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01375/0.7307, allocations: 4.535 MB / 0.6432 GB, free: 312 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003914/0.7312, allocations: 316.4 kB / 0.6435 GB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00255/0.7337, allocations: 427.8 kB / 0.6439 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02628/0.76, allocations: 10.76 MB / 0.6544 GB, free: 3.809 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001919/0.7603, allocations: 59.45 kB / 0.6545 GB, free: 3.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008087/0.7611, allocations: 203.9 kB / 0.6547 GB, free: 3.551 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001652/0.7627, allocations: 1.014 MB / 0.6556 GB, free: 2.535 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0195/0.7823, allocations: 9.067 MB / 0.6645 GB, free: 9.445 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05833/0.8406, allocations: 47.41 MB / 0.7108 GB, free: 8.551 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0108/0.8515, allocations: 3.63 MB / 0.7143 GB, free: 4.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2565/1.108, allocations: 4.739 MB / 0.719 GB, free: 118.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/1.108, allocations: 48.28 kB / 0.719 GB, free: 118.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=142): time 5.19e-06/1.108, allocations: 0 / 0.719 GB, free: 118.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=148): time 0.02979/1.138, allocations: 12.35 MB / 0.7311 GB, free: 115.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/1.138, allocations: 147 kB / 0.7312 GB, free: 115.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007174/1.145, allocations: 3.627 MB / 0.7348 GB, free: 115 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004708/1.146, allocations: 48.98 kB / 0.7348 GB, free: 115 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00198/1.148, allocations: 3.135 MB / 0.7379 GB, free: 113.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007261/1.149, allocations: 0.5973 MB / 0.7384 GB, free: 113.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/1.149, allocations: 113.1 kB / 0.7386 GB, free: 113.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002787/1.149, allocations: 0.5453 MB / 0.7391 GB, free: 112.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002587/1.152, allocations: 1.952 MB / 0.741 GB, free: 112.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004018/1.156, allocations: 5.614 MB / 0.7465 GB, free: 108.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00366/1.159, allocations: 3.24 MB / 0.7496 GB, free: 108.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.737e-05/1.159, allocations: 40.69 kB / 0.7497 GB, free: 108.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.01309/1.173, allocations: 8.038 MB / 0.7575 GB, free: 107.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.643e-05/1.173, allocations: 60.19 kB / 0.7576 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001247/1.173, allocations: 132.5 kB / 0.7577 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002162/1.175, allocations: 0.9166 MB / 0.7586 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003937/1.179, allocations: 1.352 MB / 0.7599 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005182/1.184, allocations: 4.883 MB / 0.7647 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004948/1.189, allocations: 317.9 kB / 0.765 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009054/1.19, allocations: 364.9 kB / 0.7653 GB, free: 105.8 MB / 490.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 () * Number of clocked 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.003967/1.194, allocations: 2.082 MB / 0.7674 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007829/1.195, allocations: 345.3 kB / 0.7677 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005067/1.2, allocations: 2.888 MB / 0.7705 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-05/1.2, allocations: 16.73 kB / 0.7705 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/1.2, allocations: 6.656 kB / 0.7706 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/1.2, allocations: 14.66 kB / 0.7706 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0136/1.214, allocations: 7.155 MB / 0.7776 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/1.214, allocations: 0 / 0.7776 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/1.215, allocations: 254.4 kB / 0.7778 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001926/1.217, allocations: 0.6997 MB / 0.7785 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001848/1.217, allocations: 29.91 kB / 0.7785 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004787/1.222, allocations: 4.453 MB / 0.7829 GB, free: 99.37 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/1.222, allocations: 0 / 0.7829 GB, free: 99.37 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007721/1.23, allocations: 5.235 MB / 0.788 GB, free: 97.21 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003181/1.233, allocations: 0.6151 MB / 0.7886 GB, free: 96.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001029/1.234, allocations: 23.92 kB / 0.7886 GB, free: 96.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/1.235, allocations: 91.53 kB / 0.7887 GB, free: 96.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002714/1.236, allocations: 83.38 kB / 0.7888 GB, free: 96.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/1.236, allocations: 39.66 kB / 0.7888 GB, free: 96.78 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004079/1.24, allocations: 2.538 MB / 0.7913 GB, free: 95.89 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.71e-07/1.24, allocations: 0 / 0.7913 GB, free: 95.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005956/1.246, allocations: 0.9508 MB / 0.7922 GB, free: 95.79 MB / 490.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 () * Number of clocked 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.000457/1.246, allocations: 164.2 kB / 0.7924 GB, free: 95.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006912/1.253, allocations: 4.706 MB / 0.797 GB, free: 94.03 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.253, allocations: 0 / 0.797 GB, free: 94.03 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001719/1.255, allocations: 1.381 MB / 0.7983 GB, free: 93.48 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/1.257, allocations: 392.8 kB / 0.7987 GB, free: 93.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01524/1.272, allocations: 10.39 MB / 0.8088 GB, free: 83.88 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003037/1.276, allocations: 3.315 MB / 0.8121 GB, free: 81.36 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004102/1.28, allocations: 1.826 MB / 0.8138 GB, free: 80.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006802/1.28, allocations: 237 kB / 0.8141 GB, free: 79.98 MB / 490.7 MB Notification: Performance of SimCode: time 9.92e-07/1.28, allocations: 2.625 kB / 0.8141 GB, free: 79.98 MB / 490.7 MB Notification: Performance of Templates: time 0.05764/1.338, allocations: 32.71 MB / 0.846 GB, free: 56.78 MB / 490.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)