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.01022/0.01022, allocations: 104.2 kB / 15.74 MB, free: 6.059 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.001695/0.001695, allocations: 196.2 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.582/1.582, 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.1+maint.om/package.mo): time 0.1834/0.1834, allocations: 38 MB / 307.9 MB, free: 5.969 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.001487/0.001487, allocations: 72.55 kB / 433 MB, free: 14.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1349, allocations: 56.47 MB / 489.5 MB, free: 5.859 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01664/0.1516, allocations: 13.8 MB / 0.4915 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01135/0.163, allocations: 4.381 MB / 0.4958 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003279/0.1664, allocations: 79.81 kB / 0.4958 GB, free: 3.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007883/0.1743, allocations: 3.742 MB / 0.4995 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006761/0.1811, allocations: 2.163 MB / 0.5016 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002708/0.1839, allocations: 0.8071 MB / 0.5024 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007596/0.1915, allocations: 4.416 MB / 0.5067 GB, free: 8.355 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007683/0.1992, allocations: 4.934 MB / 0.5115 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004311/0.2036, allocations: 1.939 MB / 0.5134 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2983/0.5019, allocations: 2.6 MB / 0.5159 GB, free: 9.312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001815/0.5038, allocations: 439.9 kB / 0.5164 GB, free: 9.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003358/0.5072, allocations: 1.154 MB / 0.5175 GB, free: 9.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003033/0.5102, allocations: 2.346 MB / 0.5198 GB, free: 9.312 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004352/0.5146, allocations: 2.76 MB / 0.5225 GB, free: 8.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01281/0.5274, allocations: 8.622 MB / 0.5309 GB, free: 7.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5274, allocations: 0 / 0.5309 GB, free: 7.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5274, allocations: 0 / 0.5309 GB, free: 7.336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003452/0.5278, allocations: 0 / 0.5309 GB, free: 7.336 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.02208/0.5499, allocations: 6.447 MB / 0.5372 GB, free: 4.359 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.5499, allocations: 13.08 kB / 0.5372 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006836/0.5568, allocations: 1.993 MB / 0.5392 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005944/0.5628, allocations: 2.824 MB / 0.5419 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002787/0.5631, allocations: 312.7 kB / 0.5422 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009489/0.564, allocations: 407.5 kB / 0.5426 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02937/0.5934, allocations: 12.89 MB / 0.5552 GB, free: 10.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002903/0.5937, allocations: 46.28 kB / 0.5552 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001946/0.5957, allocations: 191.2 kB / 0.5554 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00458/0.6003, allocations: 2.369 MB / 0.5577 GB, free: 8.387 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02889/0.6292, allocations: 11.81 MB / 0.5693 GB, free: 12.76 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08062/0.7098, allocations: 47.9 MB / 0.616 GB, free: 12.39 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01876/0.7286, allocations: 5.709 MB / 0.6216 GB, free: 6.543 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00547/0.7342, allocations: 3.608 MB / 0.6251 GB, free: 2.93 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001202/0.7354, allocations: 0.697 MB / 0.6258 GB, free: 2.137 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.571e-05/0.7355, allocations: 71.17 kB / 0.6259 GB, free: 2.062 MB / 478.1 MB Notification: Performance of pre-optimization done (n=224): time 5.981e-06/0.7355, allocations: 0 / 0.6259 GB, free: 2.062 MB / 478.1 MB Notification: Performance of matching and sorting (n=255): time 0.08736/0.8229, allocations: 28.49 MB / 0.6537 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.865e-05/0.823, allocations: 154.5 kB / 0.6539 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01121/0.8342, allocations: 4.521 MB / 0.6583 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006943/0.8349, allocations: 62.73 kB / 0.6583 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003696/0.8386, allocations: 3.549 MB / 0.6618 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001619/0.8403, allocations: 0.949 MB / 0.6627 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004386/0.8447, allocations: 1.48 MB / 0.6642 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.8448, allocations: 301.1 kB / 0.6645 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005994/0.8508, allocations: 3.453 MB / 0.6678 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009146/0.86, allocations: 7.388 MB / 0.675 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01784/0.8778, allocations: 11.67 MB / 0.6864 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002226/0.8781, allocations: 40 kB / 0.6865 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of matching and sorting (n=896) (initialization): time 0.03005/0.9082, allocations: 11.78 MB / 0.698 GB, free: 5.035 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000235/0.9085, allocations: 66.44 kB / 0.698 GB, free: 4.973 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003794/0.9089, allocations: 136 kB / 0.6982 GB, free: 4.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00312/0.912, allocations: 1.121 MB / 0.6993 GB, free: 3.715 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007431/0.9195, allocations: 1.782 MB / 0.701 GB, free: 1.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008737/0.9282, allocations: 6.355 MB / 0.7072 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007582/0.9359, allocations: 421.7 kB / 0.7076 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002058/0.9379, allocations: 459.8 kB / 0.7081 GB, free: 10.57 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.007704/0.9457, allocations: 2.424 MB / 0.7104 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001597/0.9473, allocations: 414.6 kB / 0.7108 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01389/0.9612, allocations: 6.555 MB / 0.7172 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.947e-05/0.9613, allocations: 30.27 kB / 0.7173 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.206e-05/0.9613, allocations: 3.938 kB / 0.7173 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.105e-05/0.9614, allocations: 15.95 kB / 0.7173 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03687/0.9983, allocations: 13.64 MB / 0.7306 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.127e-05/0.9983, allocations: 4.312 kB / 0.7306 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003707/1.002, allocations: 0.5928 MB / 0.7312 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002796/1.005, allocations: 0.9487 MB / 0.7321 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008125/1.006, allocations: 91.89 kB / 0.7322 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3465/1.352, allocations: 6.092 MB / 0.7381 GB, free: 200.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.352, allocations: 3.719 kB / 0.7381 GB, free: 200.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01837/1.371, allocations: 11.07 MB / 0.749 GB, free: 197.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002742/1.373, allocations: 0.9392 MB / 0.7499 GB, free: 197 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009737/1.374, allocations: 42.72 kB / 0.7499 GB, free: 196.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002501/1.377, allocations: 185.2 kB / 0.7501 GB, free: 196.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006229/1.378, allocations: 196.5 kB / 0.7503 GB, free: 196.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000331/1.378, allocations: 108.5 kB / 0.7504 GB, free: 196.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005527/1.383, allocations: 2.847 MB / 0.7532 GB, free: 195.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.3e-07/1.384, allocations: 0 / 0.7532 GB, free: 195.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007759/1.391, allocations: 1.268 MB / 0.7544 GB, free: 195.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.0006707/1.392, allocations: 179.5 kB / 0.7546 GB, free: 195.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0114/1.403, allocations: 8.155 MB / 0.7625 GB, free: 193 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.188e-06/1.403, allocations: 1.312 kB / 0.7625 GB, free: 193 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004301/1.408, allocations: 3.208 MB / 0.7657 GB, free: 191.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003911/1.412, allocations: 0.5113 MB / 0.7662 GB, free: 191.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02429/1.436, allocations: 12.49 MB / 0.7784 GB, free: 180.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007582/1.444, allocations: 3.799 MB / 0.7821 GB, free: 177.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.01206/1.456, allocations: 2.366 MB / 0.7844 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002627/1.458, allocations: 431.1 kB / 0.7848 GB, free: 175 MB / 0.5762 GB Notification: Performance of SimCode: time 2.044e-06/1.458, allocations: 0 / 0.7848 GB, free: 175 MB / 0.5762 GB Notification: Performance of Templates: time 0.1327/1.591, allocations: 54.67 MB / 0.8382 GB, free: 120.4 MB / 0.5762 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)