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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009041/0.009041, allocations: 101.2 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 197.1 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2185/0.2185, allocations: 39.97 MB / 309.9 MB, free: 4.02 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 69.78 kB / 435.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1564, allocations: 56.88 MB / 492.7 MB, free: 2.77 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01564/0.1721, allocations: 13.81 MB / 0.4946 GB, free: 4.898 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01244/0.1846, allocations: 4.381 MB / 0.4989 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003611/0.1883, allocations: 79.81 kB / 0.499 GB, free: 436 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007797/0.1962, allocations: 3.746 MB / 0.5026 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008318/0.2046, allocations: 2.108 MB / 0.5047 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003257/0.2079, allocations: 0.8071 MB / 0.5055 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008984/0.2169, allocations: 4.412 MB / 0.5098 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008883/0.2258, allocations: 4.93 MB / 0.5146 GB, free: 324 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3477/0.5736, allocations: 1.925 MB / 0.5165 GB, free: 8.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006158/0.5798, allocations: 2.609 MB / 0.519 GB, free: 7.816 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002021/0.5818, allocations: 439.2 kB / 0.5194 GB, free: 7.816 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004556/0.5864, allocations: 1.155 MB / 0.5206 GB, free: 7.816 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004816/0.5912, allocations: 2.348 MB / 0.5229 GB, free: 7.578 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005974/0.5972, allocations: 2.766 MB / 0.5256 GB, free: 6.621 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0141/0.6114, allocations: 8.616 MB / 0.534 GB, free: 4.711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.6114, allocations: 4.75 kB / 0.534 GB, free: 4.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.6114, allocations: 0 / 0.534 GB, free: 4.711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004585/0.6119, allocations: 0.5 kB / 0.534 GB, free: 4.711 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.03883/0.6507, allocations: 6.447 MB / 0.5403 GB, free: 1.594 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.6508, allocations: 17.41 kB / 0.5403 GB, free: 1.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008533/0.6593, allocations: 1.988 MB / 0.5422 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00928/0.6687, allocations: 2.826 MB / 0.545 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003074/0.669, allocations: 312.9 kB / 0.5453 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002094/0.6711, allocations: 406.7 kB / 0.5457 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02908/0.7002, allocations: 12.89 MB / 0.5583 GB, free: 6.066 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001799/0.7004, allocations: 56.33 kB / 0.5583 GB, free: 6.031 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006767/0.7011, allocations: 188.6 kB / 0.5585 GB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00462/0.7057, allocations: 2.374 MB / 0.5608 GB, free: 3.547 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03029/0.736, allocations: 11.81 MB / 0.5723 GB, free: 7.926 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1062/0.8423, allocations: 47.9 MB / 0.6191 GB, free: 7.551 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03216/0.8745, allocations: 5.703 MB / 0.6247 GB, free: 1.715 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008635/0.8832, allocations: 3.618 MB / 0.6282 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001842/0.8851, allocations: 0.7038 MB / 0.6289 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.589e-05/0.8852, allocations: 62.62 kB / 0.629 GB, free: 13.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=224): time 7.935e-06/0.8852, allocations: 0 / 0.629 GB, free: 13.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=255): time 0.1122/0.9974, allocations: 28.48 MB / 0.6568 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.038e-05/0.9975, allocations: 157.2 kB / 0.6569 GB, free: 488 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006719/1.004, allocations: 4.529 MB / 0.6614 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006882/1.005, allocations: 61.7 kB / 0.6614 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002436/1.007, allocations: 3.541 MB / 0.6649 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00134/1.009, allocations: 0.9557 MB / 0.6658 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002151/1.011, allocations: 1.469 MB / 0.6672 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001069/1.011, allocations: 305.1 kB / 0.6675 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005014/1.016, allocations: 3.449 MB / 0.6709 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007677/1.024, allocations: 7.394 MB / 0.6781 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01633/1.04, allocations: 11.67 MB / 0.6895 GB, free: 11.83 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001668/1.04, allocations: 40 kB / 0.6896 GB, free: 11.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02474/1.065, allocations: 11.78 MB / 0.7011 GB, free: 44 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001974/1.065, allocations: 64.05 kB / 0.7011 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002645/1.066, allocations: 136 kB / 0.7012 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003126/1.069, allocations: 1.129 MB / 0.7024 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007687/1.076, allocations: 1.782 MB / 0.7041 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008914/1.085, allocations: 6.348 MB / 0.7103 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007415/1.093, allocations: 415.6 kB / 0.7107 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001882/1.095, allocations: 454.8 kB / 0.7111 GB, free: 5.594 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * Number of states: 0 () * Number of discrete variables: 42 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (857): * Single equations (assignments): 853 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008461/1.103, allocations: 2.428 MB / 0.7135 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002194/1.105, allocations: 414.6 kB / 0.7139 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01521/1.121, allocations: 6.559 MB / 0.7203 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.217e-05/1.121, allocations: 28 kB / 0.7203 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.991e-05/1.121, allocations: 4 kB / 0.7203 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.197e-05/1.121, allocations: 15.95 kB / 0.7203 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.401/1.522, allocations: 13.64 MB / 0.7337 GB, free: 196.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.215e-05/1.522, allocations: 7 kB / 0.7337 GB, free: 196.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003685/1.526, allocations: 0.5923 MB / 0.7342 GB, free: 196.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002976/1.529, allocations: 0.957 MB / 0.7352 GB, free: 196.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008331/1.529, allocations: 87.59 kB / 0.7353 GB, free: 196.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008144/1.538, allocations: 6.1 MB / 0.7412 GB, free: 195.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/1.538, allocations: 8.344 kB / 0.7412 GB, free: 195.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01859/1.556, allocations: 11.06 MB / 0.752 GB, free: 191.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003414/1.56, allocations: 0.943 MB / 0.7529 GB, free: 191 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00164/1.561, allocations: 39.75 kB / 0.753 GB, free: 191 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003421/1.565, allocations: 179.8 kB / 0.7532 GB, free: 190.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005752/1.565, allocations: 202.5 kB / 0.7533 GB, free: 190.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002697/1.566, allocations: 112.8 kB / 0.7535 GB, free: 190.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005529/1.571, allocations: 2.84 MB / 0.7562 GB, free: 189.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.51e-07/1.571, allocations: 0 / 0.7562 GB, free: 189.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008615/1.58, allocations: 1.264 MB / 0.7575 GB, free: 189.8 MB / 0.5762 GB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007719/1.581, allocations: 190.6 kB / 0.7576 GB, free: 189.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01202/1.593, allocations: 8.151 MB / 0.7656 GB, free: 187 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/1.593, allocations: 2 kB / 0.7656 GB, free: 187 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004089/1.597, allocations: 3.203 MB / 0.7687 GB, free: 185.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003506/1.6, allocations: 0.5129 MB / 0.7692 GB, free: 184.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01928/1.62, allocations: 12.48 MB / 0.7814 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003551/1.623, allocations: 3.803 MB / 0.7851 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00482/1.628, allocations: 2.36 MB / 0.7874 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001444/1.63, allocations: 431.1 kB / 0.7879 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.082e-06/1.63, allocations: 0 / 0.7879 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.09607/1.726, allocations: 54.78 MB / 0.8414 GB, free: 113.1 MB / 0.5762 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)