Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002297/0.002304, allocations: 183.2 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2/2, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001173/0.001173, allocations: 99.17 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5109/0.5109, allocations: 43.55 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004999/0.0005, allocations: 12 kB / 431.4 MB, free: 5.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1311, allocations: 58.85 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.3945/0.5257, allocations: 56.71 MB / 0.5341 GB, free: 10.1 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03383/0.5596, allocations: 13.02 MB / 0.5468 GB, free: 1.242 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01343/0.5731, allocations: 280.7 kB / 0.5471 GB, free: 1.199 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009846/0.583, allocations: 2.821 MB / 0.5499 GB, free: 280 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03339/0.6165, allocations: 8.097 MB / 0.5578 GB, free: 12.4 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005178/0.6217, allocations: 0.6186 MB / 0.5584 GB, free: 12.13 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007298/0.6291, allocations: 2.5 MB / 0.5608 GB, free: 11.02 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01473/0.6438, allocations: 5.972 MB / 0.5666 GB, free: 8.699 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003831/0.6477, allocations: 1.209 MB / 0.5678 GB, free: 8.254 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004291/0.6521, allocations: 1.603 MB / 0.5694 GB, free: 7.543 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001414/0.6536, allocations: 177.8 kB / 0.5696 GB, free: 7.539 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003403/0.657, allocations: 0.7834 MB / 0.5703 GB, free: 7.227 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003826/0.6609, allocations: 1.843 MB / 0.5721 GB, free: 6.285 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002509/0.6634, allocations: 1.011 MB / 0.5731 GB, free: 5.426 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01183/0.6753, allocations: 6.644 MB / 0.5796 GB, free: 14.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.6754, allocations: 0 / 0.5796 GB, free: 14.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.6754, allocations: 0 / 0.5796 GB, free: 14.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003016/0.6757, allocations: 4 kB / 0.5796 GB, free: 14.76 MB / 410.7 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.03316/0.7089, allocations: 5.57 MB / 0.585 GB, free: 9.117 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.7089, allocations: 8.031 kB / 0.585 GB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01476/0.7237, allocations: 2.329 MB / 0.5873 GB, free: 6.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009037/0.7328, allocations: 2.937 MB / 0.5902 GB, free: 3.773 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004171/0.7333, allocations: 307.9 kB / 0.5905 GB, free: 3.469 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002158/0.7354, allocations: 404.8 kB / 0.5909 GB, free: 3.074 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04108/0.7766, allocations: 13 MB / 0.6036 GB, free: 5.336 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002622/0.7769, allocations: 51.53 kB / 0.6036 GB, free: 5.285 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001816/0.7787, allocations: 191.8 kB / 0.6038 GB, free: 5.098 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008317/0.7871, allocations: 2.37 MB / 0.6061 GB, free: 2.727 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0427/0.8298, allocations: 11.93 MB / 0.6178 GB, free: 6.777 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1029/0.9327, allocations: 48.13 MB / 0.6648 GB, free: 5.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3667/1.3, allocations: 5.831 MB / 0.6705 GB, free: 135.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001657/1.301, allocations: 0.6919 MB / 0.6711 GB, free: 135.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.03e-05/1.301, allocations: 62.08 kB / 0.6712 GB, free: 135.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=224): time 6.422e-06/1.301, allocations: 1.062 kB / 0.6712 GB, free: 135.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=255): time 0.1457/1.447, allocations: 29.27 MB / 0.6998 GB, free: 128.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.237e-05/1.447, allocations: 156.3 kB / 0.6999 GB, free: 128 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01016/1.457, allocations: 4.628 MB / 0.7044 GB, free: 126.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008576/1.458, allocations: 64.23 kB / 0.7045 GB, free: 126.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003011/1.461, allocations: 3.43 MB / 0.7079 GB, free: 123.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001829/1.463, allocations: 0.9566 MB / 0.7088 GB, free: 122.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001116/1.464, allocations: 138.6 kB / 0.7089 GB, free: 122.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006078/1.465, allocations: 0.5993 MB / 0.7095 GB, free: 122.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009734/1.475, allocations: 3.42 MB / 0.7128 GB, free: 121.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01254/1.487, allocations: 7.329 MB / 0.72 GB, free: 114.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01243/1.5, allocations: 4.89 MB / 0.7248 GB, free: 113 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002274/1.5, allocations: 42.34 kB / 0.7248 GB, free: 113 MB / 490.7 MB Notification: Performance of matching and sorting (n=892) (initialization): time 0.03232/1.532, allocations: 11.56 MB / 0.7361 GB, free: 108.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001299/1.533, allocations: 66.97 kB / 0.7362 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002145/1.533, allocations: 136 kB / 0.7363 GB, free: 108.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004989/1.538, allocations: 1.156 MB / 0.7374 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01203/1.55, allocations: 1.778 MB / 0.7392 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/1.562, allocations: 6.117 MB / 0.7451 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009653/1.572, allocations: 422.9 kB / 0.7455 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001945/1.574, allocations: 459.3 kB / 0.746 GB, free: 99.71 MB / 490.7 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.006871/1.581, allocations: 2.421 MB / 0.7483 GB, free: 97.58 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001489/1.582, allocations: 410.7 kB / 0.7487 GB, free: 97.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01763/1.6, allocations: 6.58 MB / 0.7552 GB, free: 90.64 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.609e-05/1.6, allocations: 33.44 kB / 0.7552 GB, free: 90.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-05/1.6, allocations: 4 kB / 0.7552 GB, free: 90.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.263e-05/1.6, allocations: 15.33 kB / 0.7552 GB, free: 90.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03585/1.636, allocations: 13.7 MB / 0.7686 GB, free: 76.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.944e-05/1.636, allocations: 4.375 kB / 0.7686 GB, free: 76.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006115/1.642, allocations: 0.6045 MB / 0.7692 GB, free: 76.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004493/1.647, allocations: 0.9485 MB / 0.7701 GB, free: 75.26 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008294/1.648, allocations: 92.83 kB / 0.7702 GB, free: 75.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01132/1.659, allocations: 5.84 MB / 0.7759 GB, free: 69.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/1.659, allocations: 5.812 kB / 0.7759 GB, free: 69.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02596/1.685, allocations: 11.51 MB / 0.7872 GB, free: 57.45 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003439/1.688, allocations: 0.9563 MB / 0.7881 GB, free: 56.46 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001378/1.69, allocations: 48 kB / 0.7881 GB, free: 56.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005058/1.695, allocations: 183.8 kB / 0.7883 GB, free: 56.24 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001218/1.696, allocations: 197.6 kB / 0.7885 GB, free: 56.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004315/1.697, allocations: 113.4 kB / 0.7886 GB, free: 55.94 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006656/1.703, allocations: 2.925 MB / 0.7915 GB, free: 53.01 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.433e-06/1.703, allocations: 0 / 0.7915 GB, free: 53.01 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008631/1.712, allocations: 1.28 MB / 0.7927 GB, free: 51.74 MB / 490.7 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.001194/1.713, allocations: 211.5 kB / 0.7929 GB, free: 51.53 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0185/1.732, allocations: 8.075 MB / 0.8008 GB, free: 43.47 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/1.732, allocations: 8.188 kB / 0.8008 GB, free: 43.46 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007649/1.739, allocations: 3.204 MB / 0.8039 GB, free: 40.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004245/1.744, allocations: 461.2 kB / 0.8044 GB, free: 39.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03304/1.777, allocations: 15.23 MB / 0.8192 GB, free: 24.53 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006807/1.784, allocations: 3.922 MB / 0.8231 GB, free: 20.57 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003316/1.787, allocations: 479 kB / 0.8235 GB, free: 20.11 MB / 490.7 MB Notification: Performance of SimCode: time 1.443e-06/1.787, allocations: 0 / 0.8235 GB, free: 20.11 MB / 490.7 MB Notification: Performance of Templates: time 0.5815/2.369, allocations: 94.83 MB / 0.9161 GB, free: 110 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1)