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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.555/1.555, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.4219/0.4219, allocations: 39.93 MB / 309.7 MB, free: 9.348 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.001498/0.001498, allocations: 66.41 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1467, allocations: 56.89 MB / 434.5 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01316/0.1599, allocations: 11.79 MB / 446.3 MB, free: 7.816 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.1706, allocations: 3.922 MB / 450.2 MB, free: 3.883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003241/0.1739, allocations: 67.81 kB / 450.3 MB, free: 3.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006128/0.1801, allocations: 2.714 MB / 453 MB, free: 1.094 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3639/0.5441, allocations: 1.875 MB / 454.9 MB, free: 36.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002085/0.5462, allocations: 0.6906 MB / 455.6 MB, free: 36.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006559/0.5528, allocations: 3.76 MB / 459.3 MB, free: 36.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004315/0.5572, allocations: 3.785 MB / 463.1 MB, free: 36.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003038/0.5602, allocations: 1.549 MB / 464.7 MB, free: 35.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003356/0.5636, allocations: 2.129 MB / 466.8 MB, free: 35.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007761/0.5644, allocations: 343.4 kB / 467.1 MB, free: 35.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/0.5668, allocations: 1.075 MB / 468.2 MB, free: 35.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001747/0.5686, allocations: 1.927 MB / 470.1 MB, free: 35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002117/0.5707, allocations: 2.247 MB / 472.4 MB, free: 33.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007184/0.5779, allocations: 6.954 MB / 479.3 MB, free: 31.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.5779, allocations: 0 / 479.3 MB, free: 31.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.5779, allocations: 0 / 479.3 MB, free: 31.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002191/0.5782, allocations: 3.469 kB / 479.3 MB, free: 31.12 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.02126/0.5994, allocations: 5.332 MB / 484.7 MB, free: 28.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.5995, allocations: 20.86 kB / 484.7 MB, free: 28.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008754/0.6083, allocations: 1.882 MB / 486.6 MB, free: 28.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007024/0.6153, allocations: 2.355 MB / 488.9 MB, free: 27.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004202/0.6158, allocations: 243.7 kB / 489.2 MB, free: 26.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002023/0.6178, allocations: 319.5 kB / 489.5 MB, free: 26.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02864/0.6465, allocations: 10.74 MB / 0.4885 GB, free: 22.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002011/0.6467, allocations: 39.31 kB / 0.4885 GB, free: 22.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006935/0.6475, allocations: 149.7 kB / 0.4887 GB, free: 22.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004148/0.6516, allocations: 1.982 MB / 0.4906 GB, free: 21.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0229/0.6745, allocations: 9.636 MB / 0.5 GB, free: 18.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05796/0.7325, allocations: 39.26 MB / 0.5383 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01436/0.7469, allocations: 3.933 MB / 0.5422 GB, free: 6.051 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003013/0.75, allocations: 1.884 MB / 0.544 GB, free: 4.156 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/0.7512, allocations: 0.6805 MB / 0.5447 GB, free: 3.375 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.02e-05/0.7513, allocations: 43.56 kB / 0.5447 GB, free: 3.324 MB / 414.1 MB Notification: Performance of pre-optimization done (n=151): time 5.781e-06/0.7513, allocations: 3.938 kB / 0.5447 GB, free: 3.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=157): time 0.05287/0.8042, allocations: 13.93 MB / 0.5583 GB, free: 5.281 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.8043, allocations: 149.4 kB / 0.5585 GB, free: 5.105 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006747/0.8111, allocations: 4.074 MB / 0.5625 GB, free: 1.004 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005172/0.8116, allocations: 45.7 kB / 0.5625 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002497/0.8141, allocations: 3.131 MB / 0.5656 GB, free: 13.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001003/0.8152, allocations: 0.624 MB / 0.5662 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001712/0.8169, allocations: 1.194 MB / 0.5673 GB, free: 11.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.817, allocations: 301.1 kB / 0.5676 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003325/0.8203, allocations: 2.108 MB / 0.5697 GB, free: 9.582 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006111/0.8265, allocations: 5.802 MB / 0.5754 GB, free: 1.934 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01094/0.8374, allocations: 8.576 MB / 0.5837 GB, free: 7.535 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001345/0.8376, allocations: 36 kB / 0.5838 GB, free: 7.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=761) (initialization): time 0.02141/0.859, allocations: 8.419 MB / 0.592 GB, free: 15.07 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002735/0.8594, allocations: 71.92 kB / 0.5921 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003838/0.8598, allocations: 132 kB / 0.5922 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002868/0.8627, allocations: 0.9148 MB / 0.5931 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005298/0.868, allocations: 1.365 MB / 0.5944 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008327/0.8763, allocations: 5.202 MB / 0.5995 GB, free: 7.254 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006461/0.8829, allocations: 323.5 kB / 0.5998 GB, free: 6.938 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001733/0.8847, allocations: 376 kB / 0.6002 GB, free: 6.57 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * Number of states: 0 () * Number of discrete variables: 36 (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.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 (722): * Single equations (assignments): 718 * 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.005729/0.8904, allocations: 2.08 MB / 0.6022 GB, free: 4.48 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001133/0.8916, allocations: 350.8 kB / 0.6025 GB, free: 4.137 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008186/0.8998, allocations: 3.171 MB / 0.6056 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.152e-05/0.8998, allocations: 19.05 kB / 0.6056 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-05/0.8999, allocations: 7.938 kB / 0.6056 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.567e-05/0.8999, allocations: 3.984 kB / 0.6056 GB, free: 0.918 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02122/0.9211, allocations: 7.954 MB / 0.6134 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.027e-05/0.9212, allocations: 4.094 kB / 0.6134 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001647/0.9229, allocations: 299.5 kB / 0.6137 GB, free: 8.621 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002328/0.9252, allocations: 0.7147 MB / 0.6144 GB, free: 7.902 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003615/0.9256, allocations: 47.97 kB / 0.6144 GB, free: 7.855 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006674/0.9323, allocations: 4.764 MB / 0.6191 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.9323, allocations: 4.031 kB / 0.6191 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/0.9432, allocations: 5.717 MB / 0.6247 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002478/0.9457, allocations: 0.6253 MB / 0.6253 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001097/0.9468, allocations: 28 kB / 0.6253 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002175/0.949, allocations: 94.06 kB / 0.6254 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004265/0.9495, allocations: 104.8 kB / 0.6255 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002313/0.9497, allocations: 51.97 kB / 0.6256 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006611/0.9563, allocations: 2.554 MB / 0.6281 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9564, allocations: 0 / 0.6281 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007248/0.9636, allocations: 0.9587 MB / 0.629 GB, free: 8.758 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (126): * Single equations (assignments): 122 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008613/0.9645, allocations: 161.4 kB / 0.6291 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01156/0.9761, allocations: 5.694 MB / 0.6347 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.9761, allocations: 0 / 0.6347 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002708/0.9788, allocations: 1.554 MB / 0.6362 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004785/0.9837, allocations: 445.4 kB / 0.6366 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2979/1.282, allocations: 9.078 MB / 0.6455 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003755/1.285, allocations: 3.246 MB / 0.6487 GB, free: 159.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005011/1.29, allocations: 1.888 MB / 0.6505 GB, free: 159.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009264/1.291, allocations: 268 kB / 0.6508 GB, free: 159.7 MB / 0.4981 GB Notification: Performance of SimCode: time 2.044e-06/1.291, allocations: 0 / 0.6508 GB, free: 159.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.09632/1.388, allocations: 37.28 MB / 0.6872 GB, free: 147.8 MB / 0.4981 GB 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)