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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004553/0.004554, allocations: 180.7 kB / 7.455 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.165/1.165, allocations: 170.6 MB / 178.4 MB, free: 15.71 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001691/0.001691, allocations: 111.8 kB / 217.7 MB, free: 8.488 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1638/0.1638, allocations: 37.97 MB / 294.8 MB, free: 9.645 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.566e-06/8.657e-06, allocations: 1.344 kB / 349.5 MB, free: 37.15 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08751/0.08753, allocations: 48.71 MB / 398.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3397/0.4273, allocations: 92.49 MB / 490.7 MB, free: 13.27 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/0.4276, allocations: 72.12 kB / 490.8 MB, free: 13.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.2156/0.6433, allocations: 79.41 MB / 0.5568 GB, free: 11.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000344/0.6437, allocations: 87.94 kB / 0.5569 GB, free: 11.7 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1555 * Number of variables: 1555 Notification: Performance of Generate backend data structure: time 0.01881/0.6625, allocations: 4.169 MB / 0.561 GB, free: 7.473 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.6626, allocations: 8.031 kB / 0.561 GB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01119/0.6737, allocations: 1.858 MB / 0.5628 GB, free: 5.594 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01482/0.6886, allocations: 4.787 MB / 0.5675 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002838/0.6889, allocations: 148 kB / 0.5676 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002154/0.6911, allocations: 255.9 kB / 0.5679 GB, free: 392 kB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0134/0.7045, allocations: 6.287 MB / 0.574 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02367/0.7283, allocations: 9.637 MB / 0.5834 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002893/0.7286, allocations: 59.41 kB / 0.5835 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001707/0.7303, allocations: 32 kB / 0.5835 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002535/0.7329, allocations: 1.076 MB / 0.5845 GB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3271/1.06, allocations: 48.75 MB / 0.6322 GB, free: 61.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002944/1.063, allocations: 2.608 MB / 0.6347 GB, free: 60.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001759/1.065, allocations: 1.759 MB / 0.6364 GB, free: 60.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008211/1.073, allocations: 5.583 MB / 0.6419 GB, free: 59.19 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/1.073, allocations: 58.42 kB / 0.6419 GB, free: 59.15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=139): time 4.719e-06/1.073, allocations: 0 / 0.6419 GB, free: 59.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=146): time 0.0198/1.093, allocations: 9.897 MB / 0.6516 GB, free: 56.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/1.093, allocations: 139.8 kB / 0.6517 GB, free: 56.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004205/1.097, allocations: 3.075 MB / 0.6547 GB, free: 56.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002616/1.097, allocations: 25.7 kB / 0.6547 GB, free: 55.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001284/1.099, allocations: 3.053 MB / 0.6577 GB, free: 54.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005337/1.099, allocations: 0.5923 MB / 0.6583 GB, free: 53.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/1.1, allocations: 0 / 0.6583 GB, free: 53.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002587/1.1, allocations: 0.5688 MB / 0.6589 GB, free: 53.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002413/1.102, allocations: 2.071 MB / 0.6609 GB, free: 53.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003844/1.106, allocations: 5.919 MB / 0.6667 GB, free: 48.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004816/1.111, allocations: 3.486 MB / 0.6701 GB, free: 48.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001268/1.111, allocations: 42.45 kB / 0.6701 GB, free: 48.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.01502/1.126, allocations: 7.806 MB / 0.6777 GB, free: 47.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/1.126, allocations: 6.781 kB / 0.6777 GB, free: 47.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005588/1.132, allocations: 2.768 MB / 0.6804 GB, free: 46.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003554/1.135, allocations: 1.075 MB / 0.6815 GB, free: 46.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00575/1.141, allocations: 1.408 MB / 0.6829 GB, free: 46.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005229/1.146, allocations: 4.496 MB / 0.6873 GB, free: 43.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005947/1.152, allocations: 251.6 kB / 0.6875 GB, free: 43.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001244/1.154, allocations: 391.1 kB / 0.6879 GB, free: 43.34 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 36 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (765): * Single equations (assignments): 756 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.001017/1.155, allocations: 443.1 kB / 0.6883 GB, free: 42.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007501/1.155, allocations: 309.6 kB / 0.6886 GB, free: 42.81 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006287/1.162, allocations: 2.953 MB / 0.6915 GB, free: 41.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004494/1.166, allocations: 2.513 MB / 0.6939 GB, free: 40.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.581e-05/1.166, allocations: 4 kB / 0.6939 GB, free: 40.13 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.859e-05/1.166, allocations: 7.125 kB / 0.6939 GB, free: 40.13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006525/1.173, allocations: 3.102 MB / 0.697 GB, free: 37.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/1.173, allocations: 0 / 0.697 GB, free: 37.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/1.174, allocations: 233.5 kB / 0.6972 GB, free: 37.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002972/1.177, allocations: 0.9629 MB / 0.6981 GB, free: 36.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002027/1.177, allocations: 15.66 kB / 0.6981 GB, free: 36.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004837/1.182, allocations: 4.812 MB / 0.7028 GB, free: 32.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007432/1.183, allocations: 1.378 MB / 0.7042 GB, free: 30.95 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007611/1.191, allocations: 5.41 MB / 0.7095 GB, free: 26.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/1.192, allocations: 367.9 kB / 0.7098 GB, free: 25.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004468/1.192, allocations: 15.75 kB / 0.7098 GB, free: 25.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001565/1.194, allocations: 79.69 kB / 0.7099 GB, free: 25.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002093/1.194, allocations: 62.23 kB / 0.71 GB, free: 25.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/1.194, allocations: 42.66 kB / 0.71 GB, free: 25.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.003511/1.198, allocations: 2.033 MB / 0.712 GB, free: 23.92 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005949/1.204, allocations: 0.9442 MB / 0.7129 GB, free: 22.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 107 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004773/1.204, allocations: 147.9 kB / 0.7131 GB, free: 22.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008665/1.213, allocations: 5.465 MB / 0.7184 GB, free: 17.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.213, allocations: 0 / 0.7184 GB, free: 17.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003614/1.216, allocations: 2.083 MB / 0.7204 GB, free: 16.01 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/1.219, allocations: 320.2 kB / 0.7207 GB, free: 15.74 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01897/1.238, allocations: 8.023 MB / 0.7286 GB, free: 8.594 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005691/1.243, allocations: 3.589 MB / 0.7321 GB, free: 5.812 MB / 426.7 MB Notification: Performance of SimCode: time 1.703e-06/1.243, allocations: 0 / 0.7321 GB, free: 5.812 MB / 426.7 MB Notification: Performance of Templates: time 0.08082/1.324, allocations: 35.8 MB / 0.767 GB, free: 6.719 MB / 458.7 MB 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)