Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.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.Forces.Spring2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2") translateModel(ModelicaTest.MultiBody.Forces.Spring2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2") [: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.003496/0.003496, 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.231/1.231, allocations: 194.2 MB / 202.1 MB, free: 8.723 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.0017/0.0017, allocations: 122.5 kB / 247.1 MB, free: 6.387 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.1823/0.1823, allocations: 39.94 MB / 331.9 MB, free: 4.973 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.283e-06/7.313e-06, allocations: 4 kB / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1036, allocations: 54.87 MB / 447.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3263/0.4299, allocations: 94.75 MB / 0.5297 GB, free: 5.684 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/0.4302, allocations: 74.97 kB / 0.5298 GB, free: 5.648 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.2483/0.6784, allocations: 92.77 MB / 0.6203 GB, free: 0.8359 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003094/0.6788, allocations: 92 kB / 0.6204 GB, free: 0.7461 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: 1679 * Number of variables: 1679 Notification: Performance of Generate backend data structure: time 0.02824/0.707, allocations: 5.491 MB / 0.6258 GB, free: 11.19 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.7071, allocations: 8.031 kB / 0.6258 GB, free: 11.18 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01406/0.7212, allocations: 2.341 MB / 0.6281 GB, free: 8.828 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02141/0.7426, allocations: 7.227 MB / 0.6352 GB, free: 1.535 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003998/0.7431, allocations: 156 kB / 0.6353 GB, free: 1.383 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003174/0.7463, allocations: 287.8 kB / 0.6356 GB, free: 1.102 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01598/0.7623, allocations: 7.398 MB / 0.6428 GB, free: 9.688 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02615/0.7884, allocations: 10.93 MB / 0.6535 GB, free: 13.54 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000389/0.7889, allocations: 79.34 kB / 0.6535 GB, free: 13.46 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002402/0.7913, allocations: 32 kB / 0.6536 GB, free: 13.43 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002587/0.7939, allocations: 1.28 MB / 0.6548 GB, free: 12.14 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2651/1.059, allocations: 57.79 MB / 0.7113 GB, free: 122.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0068/1.066, allocations: 3.619 MB / 0.7148 GB, free: 122 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005186/1.071, allocations: 2.717 MB / 0.7175 GB, free: 122 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02189/1.093, allocations: 8.823 MB / 0.7261 GB, free: 119.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.569e-05/1.093, allocations: 56.75 kB / 0.7261 GB, free: 119.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=193): time 5.972e-06/1.093, allocations: 0 / 0.7261 GB, free: 119.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=222): time 0.06331/1.156, allocations: 19.09 MB / 0.7448 GB, free: 115.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.948e-05/1.157, allocations: 203.7 kB / 0.745 GB, free: 115 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005536/1.162, allocations: 3.524 MB / 0.7484 GB, free: 113.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007122/1.163, allocations: 25.7 kB / 0.7484 GB, free: 113.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001999/1.165, allocations: 3.285 MB / 0.7516 GB, free: 111.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001642/1.167, allocations: 0.8809 MB / 0.7525 GB, free: 110.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003537/1.167, allocations: 0 / 0.7525 GB, free: 110.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003529/1.167, allocations: 0.6178 MB / 0.7531 GB, free: 110.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003651/1.171, allocations: 3.013 MB / 0.756 GB, free: 109.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00571/1.177, allocations: 7.353 MB / 0.7632 GB, free: 102.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007692/1.184, allocations: 4.825 MB / 0.7679 GB, free: 101.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000227/1.185, allocations: 42.09 kB / 0.768 GB, free: 101.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=973) (initialization): time 0.03132/1.216, allocations: 12.05 MB / 0.7797 GB, free: 93.56 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/1.216, allocations: 4 kB / 0.7797 GB, free: 93.55 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01704/1.233, allocations: 6.305 MB / 0.7859 GB, free: 88.63 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01102/1.244, allocations: 3.102 MB / 0.7889 GB, free: 86.44 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005986/1.25, allocations: 1.684 MB / 0.7906 GB, free: 84.97 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01641/1.267, allocations: 15.37 MB / 0.8056 GB, free: 70.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00853/1.275, allocations: 497.8 kB / 0.8061 GB, free: 70.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002007/1.277, allocations: 465.8 kB / 0.8065 GB, free: 69.91 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 705 * Number of states: 0 () * Number of discrete variables: 42 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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 (896): * Single equations (assignments): 876 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 11,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001298/1.279, allocations: 496.6 kB / 0.807 GB, free: 69.43 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008325/1.279, allocations: 379.1 kB / 0.8073 GB, free: 69.05 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01374/1.293, allocations: 6.699 MB / 0.8139 GB, free: 63.95 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01316/1.306, allocations: 6.104 MB / 0.8198 GB, free: 59.25 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.354e-05/1.306, allocations: 8 kB / 0.8199 GB, free: 59.25 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.024e-05/1.306, allocations: 14.5 kB / 0.8199 GB, free: 59.24 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02711/1.334, allocations: 13.83 MB / 0.8334 GB, free: 45.55 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-05/1.334, allocations: 7.875 kB / 0.8334 GB, free: 45.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002077/1.336, allocations: 355.5 kB / 0.8337 GB, free: 45.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009986/1.346, allocations: 3.126 MB / 0.8368 GB, free: 42.04 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007158/1.347, allocations: 43.94 kB / 0.8368 GB, free: 42 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01748/1.364, allocations: 16.48 MB / 0.8529 GB, free: 24.86 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001954/1.366, allocations: 4.151 MB / 0.857 GB, free: 20.35 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01731/1.383, allocations: 10.3 MB / 0.867 GB, free: 9.969 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001345/1.385, allocations: 436.1 kB / 0.8674 GB, free: 9.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008531/1.386, allocations: 27.97 kB / 0.8675 GB, free: 9.492 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002548/1.388, allocations: 191.7 kB / 0.8676 GB, free: 9.305 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003224/1.388, allocations: 113.8 kB / 0.8677 GB, free: 9.195 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002184/1.389, allocations: 71.95 kB / 0.8678 GB, free: 9.125 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.003978/1.393, allocations: 2.342 MB / 0.8701 GB, free: 6.773 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007432/1.4, allocations: 1.361 MB / 0.8714 GB, free: 5.422 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 36 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 147 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 10,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005899/1.401, allocations: 185.5 kB / 0.8716 GB, free: 5.238 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.179/1.58, allocations: 8.765 MB / 0.8802 GB, free: 142.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/1.58, allocations: 0 / 0.8802 GB, free: 142.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007477/1.587, allocations: 4.215 MB / 0.8843 GB, free: 141.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/1.59, allocations: 392.5 kB / 0.8847 GB, free: 141.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02191/1.612, allocations: 11.11 MB / 0.8955 GB, free: 139.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004545/1.616, allocations: 4.005 MB / 0.8994 GB, free: 138.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.002e-06/1.616, allocations: 0 / 0.8994 GB, free: 138.3 MB / 474.7 MB Notification: Performance of Templates: time 0.09326/1.71, allocations: 55.78 MB / 0.9539 GB, free: 125.5 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.pipe 2>&1)