Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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 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.1_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.1_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.007625/0.007625, allocations: 102.1 kB / 15.73 MB, free: 6.492 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.001599/0.001599, allocations: 191.7 kB / 16.67 MB, free: 6.379 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.547/1.547, allocations: 205.1 MB / 222.5 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.336/0.336, allocations: 37.99 MB / 307.9 MB, free: 10.01 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.1. 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.001504/0.001504, allocations: 71.91 kB / 433 MB, free: 5.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3788, allocations: 56.45 MB / 489.5 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01591/0.3948, allocations: 13.81 MB / 0.4915 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01314/0.408, allocations: 4.379 MB / 0.4958 GB, free: 7.172 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004404/0.4125, allocations: 80.72 kB / 0.4958 GB, free: 7.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007805/0.4203, allocations: 3.74 MB / 0.4995 GB, free: 5.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009794/0.4301, allocations: 2.113 MB / 0.5015 GB, free: 4.262 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003003/0.4332, allocations: 0.7981 MB / 0.5023 GB, free: 3.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009518/0.4427, allocations: 4.423 MB / 0.5066 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008222/0.451, allocations: 4.93 MB / 0.5115 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006505/0.4575, allocations: 1.947 MB / 0.5134 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007528/0.4651, allocations: 2.601 MB / 0.5159 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002835/0.468, allocations: 439.8 kB / 0.5163 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005099/0.4731, allocations: 1.157 MB / 0.5174 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005268/0.4784, allocations: 2.35 MB / 0.5197 GB, free: 8.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008395/0.4869, allocations: 2.762 MB / 0.5224 GB, free: 5.902 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01517/0.5021, allocations: 8.619 MB / 0.5309 GB, free: 13.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.415e-06/0.5022, allocations: 0 / 0.5309 GB, free: 13.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5022, allocations: 0 / 0.5309 GB, free: 13.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003818/0.5026, allocations: 0 / 0.5309 GB, free: 13.25 MB / 414.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.02346/0.526, allocations: 6.447 MB / 0.5372 GB, free: 6.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.5261, allocations: 11.89 kB / 0.5372 GB, free: 6.719 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007169/0.5333, allocations: 1.994 MB / 0.5391 GB, free: 4.715 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007458/0.5408, allocations: 2.819 MB / 0.5419 GB, free: 1.836 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002732/0.5411, allocations: 307.8 kB / 0.5422 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002077/0.5432, allocations: 411.6 kB / 0.5426 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0283/0.5715, allocations: 12.9 MB / 0.5551 GB, free: 3.492 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001565/0.5717, allocations: 47.59 kB / 0.5552 GB, free: 3.445 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005976/0.5723, allocations: 183.8 kB / 0.5554 GB, free: 3.266 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004573/0.5769, allocations: 2.37 MB / 0.5577 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02512/0.602, allocations: 11.81 MB / 0.5692 GB, free: 5.062 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07138/0.6735, allocations: 47.91 MB / 0.616 GB, free: 4.012 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01833/0.6918, allocations: 5.712 MB / 0.6216 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00471/0.6966, allocations: 3.622 MB / 0.6251 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00106/0.6977, allocations: 0.7026 MB / 0.6258 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.531e-05/0.6978, allocations: 55.88 kB / 0.6259 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=224): time 4.678e-06/0.6978, allocations: 0 / 0.6259 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=255): time 0.3915/1.089, allocations: 28.48 MB / 0.6537 GB, free: 119.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.919e-05/1.089, allocations: 153.3 kB / 0.6538 GB, free: 119.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008911/1.098, allocations: 4.524 MB / 0.6582 GB, free: 117.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008331/1.099, allocations: 61.89 kB / 0.6583 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002556/1.102, allocations: 3.538 MB / 0.6617 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00163/1.103, allocations: 0.956 MB / 0.6627 GB, free: 114.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002264/1.106, allocations: 1.478 MB / 0.6641 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.849e-05/1.106, allocations: 304.5 kB / 0.6644 GB, free: 113.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005486/1.111, allocations: 3.45 MB / 0.6678 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007459/1.119, allocations: 7.391 MB / 0.675 GB, free: 105.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01252/1.131, allocations: 11.68 MB / 0.6864 GB, free: 97.45 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001932/1.132, allocations: 43.03 kB / 0.6864 GB, free: 97.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02179/1.153, allocations: 11.77 MB / 0.6979 GB, free: 88.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001314/1.154, allocations: 65.09 kB / 0.698 GB, free: 88.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000219/1.154, allocations: 137.8 kB / 0.6981 GB, free: 88.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002713/1.156, allocations: 1.133 MB / 0.6992 GB, free: 87.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006854/1.163, allocations: 1.774 MB / 0.701 GB, free: 85.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007011/1.17, allocations: 6.349 MB / 0.7072 GB, free: 78.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008086/1.178, allocations: 419.5 kB / 0.7076 GB, free: 78.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001764/1.18, allocations: 456.9 kB / 0.708 GB, free: 78.1 MB / 0.4981 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.005212/1.186, allocations: 2.423 MB / 0.7104 GB, free: 75.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001452/1.187, allocations: 414.7 kB / 0.7108 GB, free: 75.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009147/1.196, allocations: 6.555 MB / 0.7172 GB, free: 68.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-05/1.196, allocations: 31.94 kB / 0.7172 GB, free: 68.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-05/1.196, allocations: 4 kB / 0.7172 GB, free: 68.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.568e-05/1.196, allocations: 11.95 kB / 0.7172 GB, free: 68.63 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02431/1.221, allocations: 13.64 MB / 0.7305 GB, free: 54.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.522e-05/1.221, allocations: 4 kB / 0.7305 GB, free: 54.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00314/1.224, allocations: 0.5996 MB / 0.7311 GB, free: 54.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002401/1.226, allocations: 0.9494 MB / 0.732 GB, free: 53.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005632/1.227, allocations: 95.83 kB / 0.7321 GB, free: 53.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006645/1.233, allocations: 6.087 MB / 0.7381 GB, free: 47.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/1.233, allocations: 4 kB / 0.7381 GB, free: 47.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01491/1.248, allocations: 11.07 MB / 0.7489 GB, free: 35.87 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003465/1.252, allocations: 0.9407 MB / 0.7498 GB, free: 34.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001556/1.253, allocations: 47.98 kB / 0.7499 GB, free: 34.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003393/1.257, allocations: 183.8 kB / 0.75 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007586/1.258, allocations: 193.6 kB / 0.7502 GB, free: 34.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004604/1.258, allocations: 111.9 kB / 0.7503 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005158/1.263, allocations: 2.839 MB / 0.7531 GB, free: 31.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.11e-07/1.263, allocations: 0 / 0.7531 GB, free: 31.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008464/1.272, allocations: 1.272 MB / 0.7543 GB, free: 30.28 MB / 0.4981 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.001025/1.273, allocations: 185.5 kB / 0.7545 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01255/1.285, allocations: 8.163 MB / 0.7625 GB, free: 21.94 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/1.286, allocations: 192 / 0.7625 GB, free: 21.94 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004737/1.29, allocations: 3.209 MB / 0.7656 GB, free: 18.72 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006147/1.296, allocations: 0.5008 MB / 0.7661 GB, free: 18.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02919/1.326, allocations: 12.48 MB / 0.7783 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005748/1.331, allocations: 3.809 MB / 0.782 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006477/1.338, allocations: 2.36 MB / 0.7843 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002315/1.34, allocations: 431 kB / 0.7847 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of SimCode: time 1.714e-06/1.34, allocations: 0 / 0.7847 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of Templates: time 0.1079/1.448, allocations: 54.78 MB / 0.8382 GB, free: 8.398 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1)