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.001544/0.001544, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002763/0.002763, allocations: 191.4 kB / 16.14 MB, free: 6.703 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.637/1.637, allocations: 205.1 MB / 222 MB, free: 4.777 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.3633/0.3633, allocations: 37.97 MB / 307.3 MB, free: 10.03 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.001449/0.001449, allocations: 64.47 kB / 374.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1501, allocations: 56.47 MB / 431 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.344/0.4941, allocations: 66.25 MB / 497.3 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03446/0.5286, allocations: 13.05 MB / 0.4984 GB, free: 6.008 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02012/0.5488, allocations: 283.8 kB / 0.4986 GB, free: 5.965 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009257/0.5582, allocations: 3.743 MB / 0.5023 GB, free: 4.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008044/0.5663, allocations: 1.974 MB / 0.5042 GB, free: 3.332 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002528/0.5688, allocations: 0.7411 MB / 0.5049 GB, free: 2.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01217/0.581, allocations: 6.506 MB / 0.5113 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009675/0.5908, allocations: 4.892 MB / 0.5161 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006612/0.5974, allocations: 1.725 MB / 0.5178 GB, free: 14.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007126/0.6046, allocations: 2.759 MB / 0.5204 GB, free: 13.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002767/0.6074, allocations: 321.3 kB / 0.5208 GB, free: 13.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005501/0.613, allocations: 1.102 MB / 0.5218 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00528/0.6183, allocations: 2.248 MB / 0.524 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009033/0.6273, allocations: 2.664 MB / 0.5266 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01698/0.6444, allocations: 8.232 MB / 0.5347 GB, free: 3.062 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/0.6445, allocations: 0 / 0.5347 GB, free: 3.062 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.055e-06/0.6445, allocations: 0 / 0.5347 GB, free: 3.062 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005059/0.645, allocations: 0 / 0.5347 GB, free: 3.062 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.02982/0.6748, allocations: 6.451 MB / 0.541 GB, free: 12.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.134e-05/0.6749, allocations: 12.03 kB / 0.541 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009302/0.6842, allocations: 1.994 MB / 0.5429 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009016/0.6933, allocations: 2.784 MB / 0.5456 GB, free: 7.676 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004924/0.6939, allocations: 299.9 kB / 0.5459 GB, free: 7.379 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002915/0.6968, allocations: 407.7 kB / 0.5463 GB, free: 6.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03931/0.7362, allocations: 12.88 MB / 0.5589 GB, free: 9.355 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004727/0.7367, allocations: 55.52 kB / 0.559 GB, free: 9.301 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002733/0.7395, allocations: 191.8 kB / 0.5591 GB, free: 9.113 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004999/0.7445, allocations: 2.363 MB / 0.5614 GB, free: 6.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02828/0.7728, allocations: 11.81 MB / 0.573 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08708/0.86, allocations: 48.14 MB / 0.62 GB, free: 9.664 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01899/0.879, allocations: 5.708 MB / 0.6256 GB, free: 3.805 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00514/0.8842, allocations: 3.613 MB / 0.6291 GB, free: 188 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3734/1.258, allocations: 0.6926 MB / 0.6298 GB, free: 95.13 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.869e-05/1.258, allocations: 56.94 kB / 0.6298 GB, free: 95.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=224): time 8.095e-06/1.258, allocations: 1.531 kB / 0.6298 GB, free: 95.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=255): time 0.08964/1.347, allocations: 28.48 MB / 0.6576 GB, free: 91.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.307e-05/1.348, allocations: 156.9 kB / 0.6578 GB, free: 91.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01076/1.358, allocations: 4.521 MB / 0.6622 GB, free: 90.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001404/1.36, allocations: 61.91 kB / 0.6623 GB, free: 90.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003582/1.363, allocations: 3.541 MB / 0.6657 GB, free: 87.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002404/1.366, allocations: 0.9534 MB / 0.6667 GB, free: 86.63 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002955/1.369, allocations: 1.472 MB / 0.6681 GB, free: 85.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.945e-05/1.369, allocations: 305.1 kB / 0.6684 GB, free: 85.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006378/1.375, allocations: 3.452 MB / 0.6718 GB, free: 84.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008931/1.384, allocations: 7.397 MB / 0.679 GB, free: 78.24 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01407/1.398, allocations: 11.68 MB / 0.6904 GB, free: 70.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001863/1.399, allocations: 40.03 kB / 0.6904 GB, free: 70.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02262/1.421, allocations: 11.78 MB / 0.7019 GB, free: 61.44 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002361/1.422, allocations: 64 kB / 0.702 GB, free: 61.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000326/1.422, allocations: 136 kB / 0.7021 GB, free: 61.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002949/1.425, allocations: 1.133 MB / 0.7032 GB, free: 60.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00721/1.432, allocations: 1.775 MB / 0.705 GB, free: 58.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007325/1.439, allocations: 6.013 MB / 0.7108 GB, free: 52.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008824/1.448, allocations: 422.6 kB / 0.7112 GB, free: 52.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002114/1.45, allocations: 463.8 kB / 0.7117 GB, free: 51.78 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.007039/1.458, allocations: 2.423 MB / 0.714 GB, free: 49.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002314/1.46, allocations: 406.8 kB / 0.7144 GB, free: 49.08 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01262/1.473, allocations: 6.559 MB / 0.7208 GB, free: 42.51 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.236e-05/1.473, allocations: 33.36 kB / 0.7209 GB, free: 42.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-05/1.473, allocations: 5.078 kB / 0.7209 GB, free: 42.47 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.783e-05/1.473, allocations: 11.95 kB / 0.7209 GB, free: 42.46 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03657/1.509, allocations: 13.76 MB / 0.7343 GB, free: 28.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.313e-05/1.509, allocations: 4 kB / 0.7343 GB, free: 28.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003513/1.513, allocations: 0.5961 MB / 0.7349 GB, free: 28.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002532/1.516, allocations: 0.9517 MB / 0.7358 GB, free: 27.17 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007247/1.516, allocations: 97.09 kB / 0.7359 GB, free: 27.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006705/1.523, allocations: 5.726 MB / 0.7415 GB, free: 21.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.161e-05/1.523, allocations: 6.531 kB / 0.7415 GB, free: 21.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01781/1.541, allocations: 11.05 MB / 0.7523 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004056/1.545, allocations: 0.933 MB / 0.7532 GB, free: 9.129 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001956/1.547, allocations: 50.89 kB / 0.7533 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003614/1.551, allocations: 175.8 kB / 0.7534 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000769/1.551, allocations: 200.2 kB / 0.7536 GB, free: 8.715 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004352/1.552, allocations: 111.9 kB / 0.7537 GB, free: 8.605 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007821/1.56, allocations: 2.844 MB / 0.7565 GB, free: 5.762 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.062e-06/1.56, allocations: 0 / 0.7565 GB, free: 5.762 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01315/1.573, allocations: 1.267 MB / 0.7578 GB, free: 4.5 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.001474/1.574, allocations: 200.1 kB / 0.7579 GB, free: 4.332 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01572/1.59, allocations: 8.117 MB / 0.7659 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-05/1.59, allocations: 8.188 kB / 0.7659 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006436/1.597, allocations: 3.202 MB / 0.769 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007304/1.604, allocations: 494 kB / 0.7695 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03723/1.641, allocations: 15.04 MB / 0.7842 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01051/1.652, allocations: 3.805 MB / 0.7879 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.01048/1.662, allocations: 2.368 MB / 0.7902 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003005/1.666, allocations: 427 kB / 0.7906 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of SimCode: time 3.276e-06/1.666, allocations: 0 / 0.7906 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of Templates: time 0.399/2.064, allocations: 56.28 MB / 0.8456 GB, free: 203.9 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)