Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity.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.Frames.AngularVelocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity") translateModel(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007647/0.007647, allocations: 97.38 kB / 15.73 MB, free: 6.066 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.001823/0.001824, allocations: 195.5 kB / 16.68 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.54/1.54, 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.3111/0.3111, allocations: 38 MB / 307.9 MB, free: 9.977 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.001489/0.00149, allocations: 75.89 kB / 433.1 MB, free: 5.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3033, allocations: 56.45 MB / 489.5 MB, free: 19.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01094/0.3143, allocations: 11.9 MB / 0.4897 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01134/0.3257, allocations: 4.176 MB / 0.4938 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003862/0.3298, allocations: 68.41 kB / 0.4938 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005545/0.3353, allocations: 2.843 MB / 0.4966 GB, free: 7.312 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005314/0.3407, allocations: 1.878 MB / 0.4984 GB, free: 6.445 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001732/0.3424, allocations: 0.7047 MB / 0.4991 GB, free: 6.129 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005133/0.3476, allocations: 3.846 MB / 0.5029 GB, free: 4.055 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00413/0.3517, allocations: 3.881 MB / 0.5067 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003194/0.3549, allocations: 1.591 MB / 0.5082 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003016/0.358, allocations: 2.124 MB / 0.5103 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009891/0.359, allocations: 354.5 kB / 0.5106 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002812/0.3618, allocations: 1.207 MB / 0.5118 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002194/0.364, allocations: 1.982 MB / 0.5137 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003059/0.3671, allocations: 2.316 MB / 0.516 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01009/0.3772, allocations: 7.39 MB / 0.5232 GB, free: 5.098 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.3772, allocations: 0 / 0.5232 GB, free: 5.098 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.3772, allocations: 4 kB / 0.5232 GB, free: 5.094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002915/0.3775, allocations: 3.938 kB / 0.5232 GB, free: 5.09 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: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.0129/0.3904, allocations: 4.975 MB / 0.5281 GB, free: 36 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.088e-05/0.3905, allocations: 15.88 kB / 0.5281 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007911/0.3984, allocations: 1.962 MB / 0.53 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005378/0.4039, allocations: 2.327 MB / 0.5323 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002441/0.4042, allocations: 264 kB / 0.5325 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001543/0.4057, allocations: 419.7 kB / 0.5329 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01965/0.4254, allocations: 10.42 MB / 0.5431 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001884/0.4256, allocations: 43.64 kB / 0.5432 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001156/0.4268, allocations: 163.8 kB / 0.5433 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003241/0.4301, allocations: 1.939 MB / 0.5452 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01816/0.4482, allocations: 8.659 MB / 0.5537 GB, free: 5.043 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05635/0.5046, allocations: 40.34 MB / 0.5931 GB, free: 11.52 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009884/0.5146, allocations: 3.818 MB / 0.5968 GB, free: 7.555 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002741/0.5174, allocations: 1.767 MB / 0.5985 GB, free: 5.777 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0136/0.531, allocations: 8.272 MB / 0.6066 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/0.5311, allocations: 51.5 kB / 0.6066 GB, free: 13.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=153): time 6.432e-06/0.5311, allocations: 3.938 kB / 0.6066 GB, free: 13.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=160): time 0.03281/0.5639, allocations: 13.27 MB / 0.6196 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001357/0.5653, allocations: 1.711 MB / 0.6213 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006816/0.5721, allocations: 3.987 MB / 0.6252 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003631/0.5725, allocations: 53.67 kB / 0.6252 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002414/0.575, allocations: 3.337 MB / 0.6285 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001018/0.576, allocations: 0.6708 MB / 0.6291 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002556/0.5786, allocations: 1.242 MB / 0.6304 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.859e-05/0.5787, allocations: 305.1 kB / 0.6306 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003405/0.5821, allocations: 2.19 MB / 0.6328 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2438/0.8259, allocations: 5.94 MB / 0.6386 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00942/0.8353, allocations: 8.707 MB / 0.6471 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001967/0.8356, allocations: 38.47 kB / 0.6471 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=792) (initialization): time 0.0224/0.858, allocations: 9.625 MB / 0.6565 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001276/0.8582, allocations: 62.81 kB / 0.6566 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01145/0.8696, allocations: 3.875 MB / 0.6604 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01051/0.8802, allocations: 2.225 MB / 0.6625 GB, free: 109.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004986/0.8852, allocations: 1.403 MB / 0.6639 GB, free: 108.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009466/0.8947, allocations: 7.496 MB / 0.6712 GB, free: 104.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005034/0.8998, allocations: 429 kB / 0.6716 GB, free: 104.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008839/0.9007, allocations: 374.9 kB / 0.672 GB, free: 104.4 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 39 (FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (754): * Single equations (assignments): 745 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003697/0.9044, allocations: 2.125 MB / 0.6741 GB, free: 103.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006874/0.9051, allocations: 353.2 kB / 0.6744 GB, free: 103.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005735/0.9108, allocations: 3.168 MB / 0.6775 GB, free: 102.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004206/0.9151, allocations: 2.693 MB / 0.6801 GB, free: 101 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.9151, allocations: 0 / 0.6801 GB, free: 101 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.811e-05/0.9151, allocations: 11.78 kB / 0.6801 GB, free: 101 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01429/0.9294, allocations: 9.177 MB / 0.6891 GB, free: 95.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/0.9295, allocations: 3.859 kB / 0.6891 GB, free: 95.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/0.9307, allocations: 272 kB / 0.6894 GB, free: 95.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002764/0.9334, allocations: 1.039 MB / 0.6904 GB, free: 94.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001465/0.9336, allocations: 35.98 kB / 0.6904 GB, free: 94.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004406/0.938, allocations: 5.333 MB / 0.6956 GB, free: 89.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006739/0.9387, allocations: 1.563 MB / 0.6972 GB, free: 87.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006955/0.9457, allocations: 5.598 MB / 0.7026 GB, free: 82.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008321/0.9465, allocations: 415.2 kB / 0.703 GB, free: 81.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006661/0.9472, allocations: 42.64 kB / 0.7031 GB, free: 81.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001622/0.9488, allocations: 147.8 kB / 0.7032 GB, free: 81.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000278/0.9491, allocations: 91.86 kB / 0.7033 GB, free: 81.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/0.9492, allocations: 47.97 kB / 0.7033 GB, free: 81.47 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002982/0.9522, allocations: 2.473 MB / 0.7057 GB, free: 79.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9523, allocations: 4 kB / 0.7057 GB, free: 79.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005227/0.9575, allocations: 1.106 MB / 0.7068 GB, free: 77.91 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * 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 (126): * Single equations (assignments): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004428/0.958, allocations: 165.4 kB / 0.707 GB, free: 77.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009011/0.967, allocations: 5.884 MB / 0.7127 GB, free: 71.83 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.967, allocations: 4 kB / 0.7127 GB, free: 71.83 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003655/0.9707, allocations: 2.26 MB / 0.7149 GB, free: 69.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003145/0.9739, allocations: 445.1 kB / 0.7154 GB, free: 69.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01606/0.9899, allocations: 9.841 MB / 0.725 GB, free: 59.19 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005723/0.9957, allocations: 3.293 MB / 0.7282 GB, free: 55.86 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006107/1.002, allocations: 1.897 MB / 0.73 GB, free: 53.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/1.003, allocations: 235.4 kB / 0.7303 GB, free: 53.73 MB / 0.4981 GB Notification: Performance of SimCode: time 2.665e-06/1.003, allocations: 0 / 0.7303 GB, free: 53.73 MB / 0.4981 GB Notification: Performance of Templates: time 0.07314/1.076, allocations: 37 MB / 0.7664 GB, free: 16.81 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1)