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.001434/0.001433, allocations: 156.1 kB / 7.633 MB, free: 1.445 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.448/1.448, allocations: 170.6 MB / 178.7 MB, free: 7.047 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.001556/0.001556, allocations: 102.2 kB / 218 MB, free: 15.34 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.1878/0.1878, allocations: 37.97 MB / 295.1 MB, free: 2.094 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.365e-05/1.368e-05, allocations: 4 kB / 350 MB, free: 32.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3, allocations: 48.68 MB / 398.7 MB, free: 6.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1429/0.443, allocations: 94.45 MB / 493.2 MB, free: 4.648 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.4433, allocations: 79.94 kB / 493.3 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4744/0.9177, allocations: 82.34 MB / 0.5621 GB, free: 94.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.446e-06/0.9177, allocations: 0 / 0.5621 GB, free: 94.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003937/0.9181, allocations: 81.41 kB / 0.5622 GB, free: 94.95 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01951/0.9377, allocations: 4.486 MB / 0.5666 GB, free: 93.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.9377, allocations: 9.906 kB / 0.5666 GB, free: 93.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01117/0.9489, allocations: 2.217 MB / 0.5687 GB, free: 92.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01472/0.9636, allocations: 4.502 MB / 0.5731 GB, free: 92.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002763/0.964, allocations: 137.2 kB / 0.5733 GB, free: 92.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002246/0.9662, allocations: 257.4 kB / 0.5735 GB, free: 92.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01287/0.9791, allocations: 6.399 MB / 0.5798 GB, free: 92.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01946/0.9986, allocations: 9.621 MB / 0.5891 GB, free: 88.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002435/0.9989, allocations: 58.47 kB / 0.5892 GB, free: 88.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001452/1, allocations: 31.53 kB / 0.5892 GB, free: 88.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001464/1.002, allocations: 1.008 MB / 0.5902 GB, free: 88.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05021/1.052, allocations: 45.42 MB / 0.6346 GB, free: 54.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003643/1.056, allocations: 3.231 MB / 0.6377 GB, free: 52.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001911/1.058, allocations: 1.753 MB / 0.6394 GB, free: 51.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007173/1.065, allocations: 4.617 MB / 0.6439 GB, free: 48.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/1.065, allocations: 51.34 kB / 0.644 GB, free: 48.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=142): time 4.659e-06/1.065, allocations: 0 / 0.644 GB, free: 48.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.02131/1.086, allocations: 11.07 MB / 0.6548 GB, free: 38.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/1.086, allocations: 141.3 kB / 0.6549 GB, free: 38.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006551/1.093, allocations: 3.073 MB / 0.6579 GB, free: 35.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002942/1.093, allocations: 29.7 kB / 0.658 GB, free: 35.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001935/1.095, allocations: 3.2 MB / 0.6611 GB, free: 32.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006701/1.096, allocations: 0.5781 MB / 0.6617 GB, free: 32.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/1.096, allocations: 0 / 0.6617 GB, free: 32.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002653/1.096, allocations: 0.5583 MB / 0.6622 GB, free: 31.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002162/1.099, allocations: 1.826 MB / 0.664 GB, free: 30.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003506/1.102, allocations: 5.634 MB / 0.6695 GB, free: 22.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003513/1.106, allocations: 3.184 MB / 0.6726 GB, free: 19.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.466e-05/1.106, allocations: 40 kB / 0.6726 GB, free: 19.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.01088/1.117, allocations: 7.275 MB / 0.6797 GB, free: 12.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.545e-05/1.117, allocations: 72.09 kB / 0.6798 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.713e-05/1.117, allocations: 139.9 kB / 0.6799 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002102/1.119, allocations: 0.9139 MB / 0.6808 GB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004608/1.123, allocations: 1.4 MB / 0.6822 GB, free: 9.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004737/1.128, allocations: 4.61 MB / 0.6867 GB, free: 5.121 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005584/1.134, allocations: 219.6 kB / 0.6869 GB, free: 4.906 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008939/1.135, allocations: 376 kB / 0.6873 GB, free: 4.539 MB / 410.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.0008468/1.136, allocations: 438.6 kB / 0.6877 GB, free: 4.102 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004121/1.136, allocations: 323.3 kB / 0.688 GB, free: 3.785 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004436/1.14, allocations: 2.722 MB / 0.6907 GB, free: 1.043 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/1.141, allocations: 16 kB / 0.6907 GB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/1.141, allocations: 4 kB / 0.6907 GB, free: 1.023 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/1.141, allocations: 7.984 kB / 0.6907 GB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0121/1.153, allocations: 6.218 MB / 0.6968 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/1.153, allocations: 4 kB / 0.6968 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/1.154, allocations: 243.7 kB / 0.697 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002069/1.156, allocations: 0.7011 MB / 0.6977 GB, free: 9.832 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001309/1.156, allocations: 4 kB / 0.6977 GB, free: 9.828 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005292/1.162, allocations: 4.185 MB / 0.7018 GB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/1.162, allocations: 3.953 kB / 0.7018 GB, free: 5.531 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007979/1.17, allocations: 5.003 MB / 0.7067 GB, free: 496 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2988/1.468, allocations: 0.5634 MB / 0.7072 GB, free: 98.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001169/1.47, allocations: 4.016 kB / 0.7072 GB, free: 98.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/1.471, allocations: 73.23 kB / 0.7073 GB, free: 98.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003032/1.471, allocations: 86.27 kB / 0.7074 GB, free: 98.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/1.472, allocations: 39.53 kB / 0.7074 GB, free: 98.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004295/1.476, allocations: 2.041 MB / 0.7094 GB, free: 98.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 3e-07/1.476, allocations: 0 / 0.7094 GB, free: 98.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005921/1.482, allocations: 0.8148 MB / 0.7102 GB, free: 98.01 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.0004299/1.482, allocations: 137.8 kB / 0.7103 GB, free: 97.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008054/1.49, allocations: 4.383 MB / 0.7146 GB, free: 97.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.49, allocations: 1 kB / 0.7146 GB, free: 97.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002031/1.492, allocations: 1.312 MB / 0.7159 GB, free: 97.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002271/1.495, allocations: 316.7 kB / 0.7162 GB, free: 97.67 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01582/1.511, allocations: 7.103 MB / 0.7231 GB, free: 96.24 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003332/1.514, allocations: 3.317 MB / 0.7264 GB, free: 95.45 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004563/1.518, allocations: 1.863 MB / 0.7282 GB, free: 95.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006915/1.519, allocations: 224.3 kB / 0.7284 GB, free: 95.41 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/1.519, allocations: 3.75 kB / 0.7284 GB, free: 95.41 MB / 426.7 MB Notification: Performance of Templates: time 0.05477/1.574, allocations: 27.99 MB / 0.7557 GB, free: 94.04 MB / 426.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)