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.001479/0.001479, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001565/0.001565, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.3723/0.3723, allocations: 40 MB / 310.4 MB, free: 9.68 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.0006075/0.0006075, allocations: 12 kB / 378.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1461, allocations: 57.97 MB / 436.8 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.3144/0.4607, allocations: 56.71 MB / 493.5 MB, free: 18.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03176/0.4925, allocations: 13.01 MB / 0.4946 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01584/0.5083, allocations: 281.8 kB / 0.4949 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01218/0.5206, allocations: 2.818 MB / 0.4976 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03298/0.5536, allocations: 8.09 MB / 0.5055 GB, free: 4.617 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005599/0.5592, allocations: 0.6309 MB / 0.5062 GB, free: 4.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007201/0.5664, allocations: 2.507 MB / 0.5086 GB, free: 3.223 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01187/0.5783, allocations: 5.974 MB / 0.5144 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003364/0.5817, allocations: 1.209 MB / 0.5156 GB, free: 468 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003394/0.5851, allocations: 1.604 MB / 0.5172 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009684/0.5861, allocations: 174.5 kB / 0.5174 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002447/0.5886, allocations: 0.7866 MB / 0.5181 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002426/0.591, allocations: 1.839 MB / 0.5199 GB, free: 15.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001915/0.593, allocations: 1.01 MB / 0.5209 GB, free: 14.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008314/0.6013, allocations: 6.646 MB / 0.5274 GB, free: 9.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.6013, allocations: 0 / 0.5274 GB, free: 9.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.6013, allocations: 0 / 0.5274 GB, free: 9.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003165/0.6016, allocations: 0 / 0.5274 GB, free: 9.875 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.0199/0.6215, allocations: 5.57 MB / 0.5328 GB, free: 5.227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.6216, allocations: 8.031 kB / 0.5328 GB, free: 5.219 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009232/0.6308, allocations: 2.337 MB / 0.5351 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007897/0.6388, allocations: 2.927 MB / 0.538 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002638/0.6391, allocations: 307.8 kB / 0.5383 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001513/0.6406, allocations: 407.7 kB / 0.5387 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03899/0.6796, allocations: 13 MB / 0.5514 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003881/0.68, allocations: 47.55 kB / 0.5514 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002194/0.6822, allocations: 191.8 kB / 0.5516 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0068/0.6891, allocations: 2.378 MB / 0.5539 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03558/0.7247, allocations: 11.92 MB / 0.5656 GB, free: 2.883 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08054/0.8053, allocations: 48.13 MB / 0.6126 GB, free: 1.625 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02047/0.8258, allocations: 5.837 MB / 0.6183 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00132/0.8272, allocations: 0.7026 MB / 0.6189 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.159e-05/0.8273, allocations: 63.86 kB / 0.619 GB, free: 10.76 MB / 494.1 MB Notification: Performance of pre-optimization done (n=224): time 6.653e-06/0.8273, allocations: 0 / 0.619 GB, free: 10.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=255): time 0.3353/1.163, allocations: 29.25 MB / 0.6476 GB, free: 137.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.703e-05/1.163, allocations: 157.4 kB / 0.6477 GB, free: 137.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007078/1.17, allocations: 4.625 MB / 0.6522 GB, free: 135.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009749/1.171, allocations: 71.36 kB / 0.6523 GB, free: 135.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002332/1.173, allocations: 3.541 MB / 0.6558 GB, free: 133 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001801/1.175, allocations: 0.9529 MB / 0.6567 GB, free: 132.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004792/1.176, allocations: 135.3 kB / 0.6568 GB, free: 132.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003607/1.176, allocations: 0.5943 MB / 0.6574 GB, free: 131.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005328/1.181, allocations: 3.423 MB / 0.6607 GB, free: 130.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008551/1.19, allocations: 7.33 MB / 0.6679 GB, free: 124.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00851/1.198, allocations: 4.889 MB / 0.6727 GB, free: 122.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002364/1.199, allocations: 38.66 kB / 0.6727 GB, free: 122.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=892) (initialization): time 0.02795/1.227, allocations: 11.72 MB / 0.6842 GB, free: 118.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001268/1.227, allocations: 65.23 kB / 0.6842 GB, free: 118.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002138/1.227, allocations: 137 kB / 0.6844 GB, free: 118.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003368/1.23, allocations: 1.141 MB / 0.6855 GB, free: 118.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008833/1.239, allocations: 1.772 MB / 0.6872 GB, free: 118.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009561/1.249, allocations: 6.126 MB / 0.6932 GB, free: 115 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008321/1.257, allocations: 421.1 kB / 0.6936 GB, free: 114.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001739/1.259, allocations: 456.2 kB / 0.694 GB, free: 114.8 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 (853): * Single equations (assignments): 849 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006152/1.265, allocations: 2.441 MB / 0.6964 GB, free: 113.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/1.266, allocations: 411.3 kB / 0.6968 GB, free: 113.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009663/1.276, allocations: 6.579 MB / 0.7032 GB, free: 108.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-05/1.276, allocations: 32 kB / 0.7033 GB, free: 108.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-05/1.276, allocations: 4 kB / 0.7033 GB, free: 108.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-05/1.276, allocations: 11.25 kB / 0.7033 GB, free: 108.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02251/1.299, allocations: 13.7 MB / 0.7166 GB, free: 96.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.945e-05/1.299, allocations: 0 / 0.7166 GB, free: 96.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00305/1.302, allocations: 0.601 MB / 0.7172 GB, free: 95.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002388/1.304, allocations: 0.9564 MB / 0.7182 GB, free: 94.56 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000482/1.305, allocations: 87.89 kB / 0.7183 GB, free: 94.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006533/1.311, allocations: 5.826 MB / 0.7239 GB, free: 88.52 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.094e-06/1.311, allocations: 11.94 kB / 0.724 GB, free: 88.51 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01471/1.326, allocations: 11.51 MB / 0.7352 GB, free: 76.76 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003346/1.329, allocations: 0.9525 MB / 0.7361 GB, free: 75.78 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001018/1.33, allocations: 44 kB / 0.7362 GB, free: 75.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002477/1.333, allocations: 191.7 kB / 0.7363 GB, free: 75.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004956/1.333, allocations: 197.6 kB / 0.7365 GB, free: 75.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002598/1.334, allocations: 118.6 kB / 0.7366 GB, free: 75.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003931/1.338, allocations: 2.917 MB / 0.7395 GB, free: 72.33 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.81e-07/1.338, allocations: 0 / 0.7395 GB, free: 72.33 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006639/1.344, allocations: 1.291 MB / 0.7408 GB, free: 71.04 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (230): * Single equations (assignments): 226 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006264/1.345, allocations: 207.1 kB / 0.741 GB, free: 70.84 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01096/1.356, allocations: 8.093 MB / 0.7489 GB, free: 62.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/1.356, allocations: 0 / 0.7489 GB, free: 62.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003766/1.36, allocations: 3.195 MB / 0.752 GB, free: 59.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002686/1.362, allocations: 454.2 kB / 0.7524 GB, free: 59.13 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02116/1.384, allocations: 14.67 MB / 0.7667 GB, free: 44.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003708/1.387, allocations: 3.91 MB / 0.7706 GB, free: 40.46 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005833/1.393, allocations: 2.373 MB / 0.7729 GB, free: 38.08 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001707/1.395, allocations: 435.1 kB / 0.7733 GB, free: 37.65 MB / 494.1 MB Notification: Performance of SimCode: time 1.513e-06/1.395, allocations: 0 / 0.7733 GB, free: 37.65 MB / 494.1 MB Notification: Performance of Templates: time 0.3299/1.725, allocations: 54.75 MB / 0.8268 GB, free: 137.7 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: