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.00141/0.00141, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01118/0.01118, allocations: 170 kB / 16.26 MB, free: 6.613 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.676/1.676, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4146/0.4146, allocations: 40.01 MB / 310.7 MB, free: 9.586 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.0005431/0.0005431, allocations: 12.56 kB / 379.5 MB, free: 11.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1524, allocations: 57.96 MB / 437.4 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.3359/0.4884, allocations: 64.62 MB / 0.4903 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03745/0.5259, allocations: 12.99 MB / 0.503 GB, free: 3.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01662/0.5426, allocations: 285.8 kB / 0.5032 GB, free: 3.453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002694/0.5453, allocations: 0.5046 MB / 0.5037 GB, free: 3.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008417/0.5537, allocations: 1.971 MB / 0.5056 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002527/0.5563, allocations: 0.6298 MB / 0.5063 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0127/0.569, allocations: 6.502 MB / 0.5126 GB, free: 100 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01451/0.5836, allocations: 6.759 MB / 0.5192 GB, free: 13.31 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005677/0.5893, allocations: 1.375 MB / 0.5206 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006315/0.5957, allocations: 2.325 MB / 0.5228 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001456/0.5971, allocations: 174.7 kB / 0.523 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003901/0.6011, allocations: 0.9554 MB / 0.5239 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004315/0.6054, allocations: 2.035 MB / 0.5259 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006382/0.6118, allocations: 2.418 MB / 0.5283 GB, free: 9.305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01568/0.6275, allocations: 7.982 MB / 0.5361 GB, free: 2.547 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.6276, allocations: 4 kB / 0.5361 GB, free: 2.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.448e-06/0.6276, allocations: 0 / 0.5361 GB, free: 2.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004631/0.6281, allocations: 0 / 0.5361 GB, free: 2.543 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.02314/0.6512, allocations: 5.309 MB / 0.5413 GB, free: 13.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.6513, allocations: 8.031 kB / 0.5413 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008589/0.6599, allocations: 2.045 MB / 0.5433 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007873/0.6678, allocations: 2.78 MB / 0.546 GB, free: 8.258 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004196/0.6683, allocations: 303.9 kB / 0.5463 GB, free: 7.957 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002136/0.6704, allocations: 411.6 kB / 0.5467 GB, free: 7.555 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03257/0.703, allocations: 12.91 MB / 0.5593 GB, free: 9.902 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003274/0.7034, allocations: 47.53 kB / 0.5593 GB, free: 9.855 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002289/0.7057, allocations: 195.8 kB / 0.5595 GB, free: 9.664 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00534/0.7111, allocations: 2.367 MB / 0.5618 GB, free: 7.293 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02658/0.7377, allocations: 11.84 MB / 0.5734 GB, free: 11.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07927/0.817, allocations: 48.13 MB / 0.6204 GB, free: 10.19 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01967/0.8367, allocations: 5.727 MB / 0.626 GB, free: 4.316 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005335/0.8421, allocations: 3.607 MB / 0.6295 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.261/1.103, allocations: 0.6983 MB / 0.6302 GB, free: 142.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.288e-05/1.103, allocations: 60.34 kB / 0.6302 GB, free: 142.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=224): time 6.753e-06/1.103, allocations: 1.094 kB / 0.6302 GB, free: 142.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=255): time 0.0762/1.179, allocations: 28.52 MB / 0.6581 GB, free: 135.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.81e-05/1.18, allocations: 157 kB / 0.6582 GB, free: 135.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008006/1.188, allocations: 4.524 MB / 0.6626 GB, free: 134 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008965/1.188, allocations: 61.95 kB / 0.6627 GB, free: 133.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002966/1.191, allocations: 3.543 MB / 0.6662 GB, free: 131.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001788/1.193, allocations: 0.9562 MB / 0.6671 GB, free: 130.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001245/1.195, allocations: 0.5737 MB / 0.6677 GB, free: 130.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.952e-05/1.195, allocations: 302.5 kB / 0.6679 GB, free: 129.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006722/1.201, allocations: 3.46 MB / 0.6713 GB, free: 128.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009854/1.211, allocations: 7.4 MB / 0.6785 GB, free: 122.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01507/1.226, allocations: 11.69 MB / 0.69 GB, free: 114 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001942/1.227, allocations: 40.72 kB / 0.69 GB, free: 114 MB / 494.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02193/1.249, allocations: 11.8 MB / 0.7015 GB, free: 107.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/1.249, allocations: 64 kB / 0.7016 GB, free: 107.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001527/1.249, allocations: 140.6 kB / 0.7017 GB, free: 107.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002494/1.251, allocations: 1.128 MB / 0.7028 GB, free: 106.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006401/1.258, allocations: 1.779 MB / 0.7046 GB, free: 105.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006621/1.264, allocations: 6.022 MB / 0.7104 GB, free: 99.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007013/1.271, allocations: 417.1 kB / 0.7108 GB, free: 99.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001692/1.273, allocations: 455.5 kB / 0.7113 GB, free: 99.21 MB / 494.1 MB 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.006517/1.28, allocations: 2.434 MB / 0.7136 GB, free: 96.86 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001439/1.281, allocations: 419.2 kB / 0.714 GB, free: 96.45 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01136/1.293, allocations: 6.567 MB / 0.7205 GB, free: 89.86 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.754e-05/1.293, allocations: 28 kB / 0.7205 GB, free: 89.83 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.857e-05/1.293, allocations: 8 kB / 0.7205 GB, free: 89.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-05/1.293, allocations: 11.95 kB / 0.7205 GB, free: 89.81 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02421/1.317, allocations: 13.8 MB / 0.734 GB, free: 75.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.116e-05/1.317, allocations: 7.125 kB / 0.734 GB, free: 75.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003086/1.32, allocations: 0.5922 MB / 0.7346 GB, free: 75.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002427/1.322, allocations: 0.9488 MB / 0.7355 GB, free: 74.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000601/1.323, allocations: 95.81 kB / 0.7356 GB, free: 74.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00625/1.329, allocations: 5.738 MB / 0.7412 GB, free: 68.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.329, allocations: 4 kB / 0.7412 GB, free: 68.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01503/1.344, allocations: 11.08 MB / 0.752 GB, free: 57.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003506/1.348, allocations: 0.9484 MB / 0.7529 GB, free: 56.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00181/1.35, allocations: 51.92 kB / 0.753 GB, free: 56.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003508/1.353, allocations: 179.8 kB / 0.7532 GB, free: 56.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005872/1.354, allocations: 193.7 kB / 0.7533 GB, free: 55.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003726/1.354, allocations: 113.3 kB / 0.7534 GB, free: 55.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005826/1.36, allocations: 2.843 MB / 0.7562 GB, free: 52.92 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.71e-07/1.36, allocations: 4 kB / 0.7562 GB, free: 52.92 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007985/1.368, allocations: 1.264 MB / 0.7575 GB, free: 51.66 MB / 494.1 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 () * 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.0008882/1.369, allocations: 186.2 kB / 0.7576 GB, free: 51.47 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01244/1.382, allocations: 8.144 MB / 0.7656 GB, free: 43.35 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.382, allocations: 0 / 0.7656 GB, free: 43.35 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004542/1.386, allocations: 3.224 MB / 0.7687 GB, free: 40.12 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00545/1.392, allocations: 493.5 kB / 0.7692 GB, free: 39.65 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02133/1.413, allocations: 15.2 MB / 0.7841 GB, free: 24.39 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003727/1.417, allocations: 3.806 MB / 0.7878 GB, free: 20.55 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005561/1.422, allocations: 2.372 MB / 0.7901 GB, free: 18.17 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001483/1.424, allocations: 427.1 kB / 0.7905 GB, free: 17.75 MB / 494.1 MB Notification: Performance of SimCode: time 1.102e-06/1.424, allocations: 0 / 0.7905 GB, free: 17.75 MB / 494.1 MB Notification: Performance of Templates: time 0.3506/1.774, allocations: 55.2 MB / 0.8444 GB, free: 139 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: