Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity") translateModel(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.002534/0.002534, allocations: 181.4 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.218/1.218, allocations: 194.2 MB / 202.1 MB, free: 8.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001693/0.001693, allocations: 116.8 kB / 247.1 MB, free: 6.379 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.165/0.165, allocations: 39.93 MB / 331.9 MB, free: 4.957 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.484e-06/7.514e-06, allocations: 4 kB / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09987/0.09989, allocations: 54.87 MB / 447.6 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2999/0.3999, allocations: 99.22 MB / 0.5341 GB, free: 1.289 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.4002, allocations: 75.58 kB / 0.5341 GB, free: 1.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.208/0.6082, allocations: 79.55 MB / 0.6118 GB, free: 9.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003001/0.6085, allocations: 87.94 kB / 0.6119 GB, free: 9.594 MB / 426.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.01642/0.625, allocations: 4.174 MB / 0.616 GB, free: 5.352 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.625, allocations: 8.031 kB / 0.616 GB, free: 5.344 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/0.6353, allocations: 1.874 MB / 0.6178 GB, free: 3.461 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01332/0.6486, allocations: 4.803 MB / 0.6225 GB, free: 14.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002507/0.6489, allocations: 140 kB / 0.6226 GB, free: 14.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001914/0.6508, allocations: 255.9 kB / 0.6229 GB, free: 14.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01182/0.6627, allocations: 6.296 MB / 0.629 GB, free: 7.898 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01689/0.6796, allocations: 9.638 MB / 0.6384 GB, free: 13.19 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001625/0.6798, allocations: 59.41 kB / 0.6385 GB, free: 13.13 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008828/0.6807, allocations: 36 kB / 0.6385 GB, free: 13.09 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001384/0.6821, allocations: 1.08 MB / 0.6396 GB, free: 12.01 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2498/0.9319, allocations: 48.75 MB / 0.6872 GB, free: 51.88 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002762/0.9347, allocations: 2.608 MB / 0.6897 GB, free: 51.23 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001687/0.9364, allocations: 1.759 MB / 0.6915 GB, free: 51.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008845/0.9453, allocations: 5.613 MB / 0.6969 GB, free: 49.52 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.296e-05/0.9455, allocations: 41.97 kB / 0.697 GB, free: 49.48 MB / 474.7 MB Notification: Performance of pre-optimization done (n=139): time 9.578e-06/0.9455, allocations: 3.938 kB / 0.697 GB, free: 49.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=146): time 0.01996/0.9654, allocations: 9.895 MB / 0.7066 GB, free: 46.82 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.9655, allocations: 143.2 kB / 0.7068 GB, free: 46.67 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004191/0.9697, allocations: 3.07 MB / 0.7098 GB, free: 46.35 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002608/0.97, allocations: 29.2 kB / 0.7098 GB, free: 46.32 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001523/0.9715, allocations: 3.048 MB / 0.7128 GB, free: 44.51 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005878/0.9721, allocations: 0.5966 MB / 0.7134 GB, free: 44.18 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.9724, allocations: 0 / 0.7134 GB, free: 44.18 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002719/0.9726, allocations: 0.5707 MB / 0.7139 GB, free: 43.87 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002426/0.9751, allocations: 2.081 MB / 0.716 GB, free: 43.85 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003721/0.9788, allocations: 5.936 MB / 0.7217 GB, free: 38.81 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004372/0.9832, allocations: 3.506 MB / 0.7252 GB, free: 38.79 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.561e-05/0.9833, allocations: 39.59 kB / 0.7252 GB, free: 38.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.02046/1.004, allocations: 8.25 MB / 0.7333 GB, free: 38.16 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/1.004, allocations: 3.875 kB / 0.7333 GB, free: 38.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009601/1.013, allocations: 3.222 MB / 0.7364 GB, free: 38.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008985/1.022, allocations: 1.583 MB / 0.738 GB, free: 38.06 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005244/1.028, allocations: 1.41 MB / 0.7393 GB, free: 37.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006714/1.035, allocations: 5.362 MB / 0.7446 GB, free: 34.87 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005635/1.04, allocations: 243.3 kB / 0.7448 GB, free: 34.85 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001514/1.042, allocations: 388 kB / 0.7452 GB, free: 34.8 MB / 474.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): 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 prepare postOptimizeDAE: time 0.002621/1.044, allocations: 454.2 kB / 0.7456 GB, free: 34.43 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001181/1.046, allocations: 301.1 kB / 0.7459 GB, free: 34.26 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006255/1.052, allocations: 2.955 MB / 0.7488 GB, free: 33.29 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004328/1.056, allocations: 2.512 MB / 0.7512 GB, free: 32.51 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.922e-05/1.056, allocations: 3.844 kB / 0.7512 GB, free: 32.51 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.362e-05/1.056, allocations: 7.406 kB / 0.7512 GB, free: 32.51 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0068/1.063, allocations: 3.095 MB / 0.7543 GB, free: 31.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/1.063, allocations: 3.891 kB / 0.7543 GB, free: 31.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/1.065, allocations: 226.1 kB / 0.7545 GB, free: 31.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002916/1.067, allocations: 0.9641 MB / 0.7554 GB, free: 31.17 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000239/1.068, allocations: 23.39 kB / 0.7555 GB, free: 31.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004943/1.073, allocations: 4.814 MB / 0.7602 GB, free: 28.03 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007257/1.073, allocations: 1.381 MB / 0.7615 GB, free: 26.66 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007948/1.081, allocations: 5.413 MB / 0.7668 GB, free: 24.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009787/1.082, allocations: 363.2 kB / 0.7671 GB, free: 24.22 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008693/1.083, allocations: 11.75 kB / 0.7671 GB, free: 24.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00186/1.085, allocations: 75.25 kB / 0.7672 GB, free: 24.22 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/1.085, allocations: 68.05 kB / 0.7673 GB, free: 24.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/1.086, allocations: 42.64 kB / 0.7673 GB, free: 24.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.004329/1.09, allocations: 2.033 MB / 0.7693 GB, free: 23.45 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007222/1.097, allocations: 0.9643 MB / 0.7703 GB, free: 23.45 MB / 474.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.0006331/1.098, allocations: 150.3 kB / 0.7704 GB, free: 23.34 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01177/1.11, allocations: 5.493 MB / 0.7758 GB, free: 21.31 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/1.11, allocations: 3.75 kB / 0.7758 GB, free: 21.31 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004465/1.114, allocations: 2.089 MB / 0.7778 GB, free: 20.39 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002219/1.116, allocations: 309.4 kB / 0.7781 GB, free: 20.25 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0179/1.134, allocations: 8.018 MB / 0.7859 GB, free: 17.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004365/1.139, allocations: 3.6 MB / 0.7894 GB, free: 15.17 MB / 474.7 MB Notification: Performance of SimCode: time 9.01e-07/1.139, allocations: 0 / 0.7894 GB, free: 15.17 MB / 474.7 MB Notification: Performance of Templates: time 0.07348/1.212, allocations: 37.4 MB / 0.826 GB, free: 2.512 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1)