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.009034/0.009034, allocations: 104 kB / 15.73 MB, free: 6.043 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.001708/0.001708, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.601/1.601, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.3342/0.3342, allocations: 38 MB / 307.9 MB, free: 9.992 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.001605/0.001605, allocations: 76.5 kB / 433 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.43, allocations: 56.46 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01582/0.4459, allocations: 13.81 MB / 0.4915 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01219/0.4581, allocations: 4.371 MB / 0.4957 GB, free: 7.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004362/0.4626, allocations: 85.38 kB / 0.4958 GB, free: 7.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008537/0.4711, allocations: 3.739 MB / 0.4995 GB, free: 5.449 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008817/0.48, allocations: 2.111 MB / 0.5015 GB, free: 4.191 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00283/0.4829, allocations: 0.8018 MB / 0.5023 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008114/0.491, allocations: 4.416 MB / 0.5066 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007483/0.4985, allocations: 4.926 MB / 0.5114 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006504/0.5051, allocations: 1.934 MB / 0.5133 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006317/0.5114, allocations: 2.607 MB / 0.5159 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001645/0.5131, allocations: 440.1 kB / 0.5163 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003524/0.5167, allocations: 1.157 MB / 0.5174 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005022/0.5217, allocations: 2.33 MB / 0.5197 GB, free: 8.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009523/0.5313, allocations: 2.766 MB / 0.5224 GB, free: 5.926 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01524/0.5466, allocations: 8.607 MB / 0.5308 GB, free: 13.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.5466, allocations: 7.875 kB / 0.5308 GB, free: 13.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5466, allocations: 0 / 0.5308 GB, free: 13.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004091/0.5471, allocations: 0 / 0.5308 GB, free: 13.28 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.02533/0.5724, allocations: 6.447 MB / 0.5371 GB, free: 6.758 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.5725, allocations: 11.89 kB / 0.5371 GB, free: 6.746 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008195/0.5807, allocations: 1.994 MB / 0.5391 GB, free: 4.742 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007284/0.588, allocations: 2.827 MB / 0.5418 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003073/0.5883, allocations: 307.8 kB / 0.5421 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001806/0.5901, allocations: 411.7 kB / 0.5425 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03592/0.6261, allocations: 12.9 MB / 0.5551 GB, free: 3.512 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000406/0.6265, allocations: 47.53 kB / 0.5552 GB, free: 3.465 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002856/0.6294, allocations: 187.8 kB / 0.5553 GB, free: 3.281 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005513/0.635, allocations: 2.37 MB / 0.5577 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02879/0.6638, allocations: 11.8 MB / 0.5692 GB, free: 5.086 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07984/0.7437, allocations: 47.91 MB / 0.616 GB, free: 4.027 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02025/0.764, allocations: 5.708 MB / 0.6215 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005394/0.7694, allocations: 3.618 MB / 0.6251 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001287/0.7708, allocations: 0.6987 MB / 0.6258 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.267e-05/0.7709, allocations: 59.8 kB / 0.6258 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=224): time 5.881e-06/0.7709, allocations: 0 / 0.6258 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=255): time 0.419/1.19, allocations: 28.48 MB / 0.6536 GB, free: 119.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.214e-05/1.19, allocations: 155.2 kB / 0.6538 GB, free: 119.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00975/1.2, allocations: 4.523 MB / 0.6582 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001666/1.201, allocations: 69.02 kB / 0.6583 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.004779/1.206, allocations: 3.527 MB / 0.6617 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0021/1.208, allocations: 0.9622 MB / 0.6626 GB, free: 114.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003524/1.212, allocations: 1.478 MB / 0.6641 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.512e-05/1.212, allocations: 302.3 kB / 0.6644 GB, free: 113.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006351/1.218, allocations: 3.447 MB / 0.6677 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008836/1.227, allocations: 7.394 MB / 0.675 GB, free: 105.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01377/1.241, allocations: 11.68 MB / 0.6864 GB, free: 97.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002/1.241, allocations: 42.81 kB / 0.6864 GB, free: 97.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02429/1.266, allocations: 11.77 MB / 0.6979 GB, free: 88.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001178/1.266, allocations: 64 kB / 0.698 GB, free: 88.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001478/1.266, allocations: 136 kB / 0.6981 GB, free: 88.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00282/1.269, allocations: 1.129 MB / 0.6992 GB, free: 87.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007197/1.276, allocations: 1.782 MB / 0.7009 GB, free: 85.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007631/1.284, allocations: 6.354 MB / 0.7071 GB, free: 78.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0102/1.294, allocations: 419.5 kB / 0.7075 GB, free: 78.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002474/1.296, allocations: 459.8 kB / 0.708 GB, free: 78.11 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.00632/1.303, allocations: 2.42 MB / 0.7103 GB, free: 75.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001506/1.304, allocations: 410.7 kB / 0.7107 GB, free: 75.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0098/1.314, allocations: 6.559 MB / 0.7171 GB, free: 68.69 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.215e-05/1.314, allocations: 31.3 kB / 0.7172 GB, free: 68.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.948e-05/1.314, allocations: 4 kB / 0.7172 GB, free: 68.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.91e-05/1.314, allocations: 15.95 kB / 0.7172 GB, free: 68.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02626/1.341, allocations: 13.64 MB / 0.7305 GB, free: 54.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.121e-05/1.341, allocations: 4 kB / 0.7305 GB, free: 54.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003137/1.344, allocations: 0.5966 MB / 0.7311 GB, free: 54.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00238/1.346, allocations: 0.9488 MB / 0.732 GB, free: 53.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004663/1.347, allocations: 99.81 kB / 0.7321 GB, free: 53.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006475/1.353, allocations: 6.083 MB / 0.7381 GB, free: 47.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/1.353, allocations: 11.97 kB / 0.7381 GB, free: 47.06 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01551/1.369, allocations: 11.06 MB / 0.7489 GB, free: 35.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00363/1.372, allocations: 0.9368 MB / 0.7498 GB, free: 34.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001606/1.374, allocations: 44 kB / 0.7498 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003452/1.377, allocations: 179.8 kB / 0.75 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006093/1.378, allocations: 201.6 kB / 0.7502 GB, free: 34.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002726/1.378, allocations: 115.6 kB / 0.7503 GB, free: 34.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004285/1.383, allocations: 2.839 MB / 0.7531 GB, free: 31.56 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.91e-07/1.383, allocations: 0 / 0.7531 GB, free: 31.56 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.009481/1.392, allocations: 1.26 MB / 0.7543 GB, free: 30.3 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.00129/1.394, allocations: 191.4 kB / 0.7545 GB, free: 30.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01487/1.408, allocations: 8.156 MB / 0.7625 GB, free: 21.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-05/1.409, allocations: 4 kB / 0.7625 GB, free: 21.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004751/1.413, allocations: 3.202 MB / 0.7656 GB, free: 18.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003938/1.417, allocations: 0.5181 MB / 0.7661 GB, free: 18.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02119/1.438, allocations: 12.48 MB / 0.7783 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005845/1.444, allocations: 3.805 MB / 0.782 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.008449/1.453, allocations: 2.356 MB / 0.7843 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002494/1.455, allocations: 431 kB / 0.7847 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of SimCode: time 2.325e-06/1.455, allocations: 4 kB / 0.7847 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of Templates: time 0.1066/1.562, allocations: 54.67 MB / 0.8381 GB, free: 8.465 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)