Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2.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.Forces.Spring2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2") translateModel(ModelicaTest.MultiBody.Forces.Spring2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.003477/0.003477, allocations: 171.7 kB / 7.445 MB, free: 2.508 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.252/1.252, allocations: 170.6 MB / 178.4 MB, free: 15.4 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.001715/0.001715, allocations: 124.3 kB / 217.7 MB, free: 8.168 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.1842/0.1842, allocations: 37.98 MB / 294.8 MB, free: 9.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.177e-06/9.207e-06, allocations: 1.344 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1263, allocations: 48.7 MB / 398.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.367/0.4933, allocations: 88.04 MB / 486.2 MB, free: 13.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.4936, allocations: 73.28 kB / 486.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.2483/0.742, allocations: 92.61 MB / 0.5654 GB, free: 2.426 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002978/0.7423, allocations: 96.12 kB / 0.5655 GB, free: 2.332 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: 1679 * Number of variables: 1679 Notification: Performance of Generate backend data structure: time 0.0373/0.7796, allocations: 5.501 MB / 0.5708 GB, free: 12.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.2e-05/0.7797, allocations: 8.031 kB / 0.5708 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02122/0.8009, allocations: 2.291 MB / 0.5731 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02521/0.8262, allocations: 7.199 MB / 0.5801 GB, free: 3.262 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000381/0.8266, allocations: 152 kB / 0.5802 GB, free: 3.113 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002661/0.8293, allocations: 287.8 kB / 0.5805 GB, free: 2.832 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01596/0.8453, allocations: 7.398 MB / 0.5877 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02594/0.8713, allocations: 10.94 MB / 0.5984 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002586/0.8716, allocations: 79.23 kB / 0.5985 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00127/0.8729, allocations: 36 kB / 0.5985 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002086/0.8749, allocations: 1.272 MB / 0.5998 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2723/1.147, allocations: 57.77 MB / 0.6562 GB, free: 91.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005112/1.152, allocations: 3.626 MB / 0.6597 GB, free: 90.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003847/1.156, allocations: 2.72 MB / 0.6624 GB, free: 90.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01533/1.172, allocations: 8.81 MB / 0.671 GB, free: 87.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/1.172, allocations: 49.59 kB / 0.671 GB, free: 87.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=193): time 7.154e-06/1.172, allocations: 5.906 kB / 0.671 GB, free: 87.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=222): time 0.0414/1.213, allocations: 19.09 MB / 0.6897 GB, free: 84.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/1.213, allocations: 202.6 kB / 0.6899 GB, free: 83.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005421/1.219, allocations: 3.524 MB / 0.6933 GB, free: 82.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007933/1.22, allocations: 25.7 kB / 0.6933 GB, free: 82.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001724/1.221, allocations: 3.282 MB / 0.6966 GB, free: 80.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001322/1.223, allocations: 0.8891 MB / 0.6974 GB, free: 79.63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004172/1.223, allocations: 3.938 kB / 0.6974 GB, free: 79.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003485/1.223, allocations: 0.6157 MB / 0.698 GB, free: 79.19 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003713/1.227, allocations: 3 MB / 0.701 GB, free: 78.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005507/1.233, allocations: 7.335 MB / 0.7081 GB, free: 71.37 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007246/1.24, allocations: 4.813 MB / 0.7128 GB, free: 70 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001365/1.24, allocations: 44.44 kB / 0.7129 GB, free: 70 MB / 426.7 MB Notification: Performance of matching and sorting (n=973) (initialization): time 0.03135/1.271, allocations: 11.77 MB / 0.7244 GB, free: 66.67 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/1.271, allocations: 3.938 kB / 0.7244 GB, free: 66.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01506/1.287, allocations: 6.083 MB / 0.7303 GB, free: 64.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009691/1.296, allocations: 2.871 MB / 0.7331 GB, free: 62.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006704/1.303, allocations: 1.738 MB / 0.7348 GB, free: 61.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01511/1.318, allocations: 14.43 MB / 0.7489 GB, free: 47.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009241/1.327, allocations: 497.4 kB / 0.7494 GB, free: 47.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001918/1.329, allocations: 461.5 kB / 0.7498 GB, free: 47.05 MB / 426.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 (905): * Single equations (assignments): 885 * 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 {1,1,1} * 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.001358/1.331, allocations: 0.4955 MB / 0.7503 GB, free: 46.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008753/1.332, allocations: 375.1 kB / 0.7507 GB, free: 46.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01436/1.346, allocations: 6.708 MB / 0.7572 GB, free: 41.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01341/1.36, allocations: 6.095 MB / 0.7632 GB, free: 36.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-05/1.36, allocations: 8 kB / 0.7632 GB, free: 36.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-05/1.36, allocations: 9.562 kB / 0.7632 GB, free: 36.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0315/1.391, allocations: 13.84 MB / 0.7767 GB, free: 25.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.441e-05/1.391, allocations: 0 / 0.7767 GB, free: 25.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002252/1.394, allocations: 356.7 kB / 0.777 GB, free: 25.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01019/1.404, allocations: 3.117 MB / 0.7801 GB, free: 22.72 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007019/1.404, allocations: 54.98 kB / 0.7801 GB, free: 22.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01827/1.423, allocations: 16.48 MB / 0.7962 GB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002077/1.425, allocations: 4.14 MB / 0.8003 GB, free: 1.035 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1955/1.62, allocations: 10.3 MB / 0.8103 GB, free: 115.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001529/1.622, allocations: 437.8 kB / 0.8107 GB, free: 115.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0017/1.624, allocations: 31.25 kB / 0.8108 GB, free: 115.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003656/1.627, allocations: 193.4 kB / 0.811 GB, free: 115.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006293/1.628, allocations: 108.2 kB / 0.8111 GB, free: 115.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002639/1.628, allocations: 72.97 kB / 0.8111 GB, free: 115.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.004374/1.633, allocations: 2.348 MB / 0.8134 GB, free: 115.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009178/1.642, allocations: 1.345 MB / 0.8147 GB, free: 115.2 MB / 426.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.0009382/1.643, allocations: 178.9 kB / 0.8149 GB, free: 115.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01681/1.66, allocations: 8.387 MB / 0.8231 GB, free: 114.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/1.66, allocations: 0 / 0.8231 GB, free: 114.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008899/1.669, allocations: 4.222 MB / 0.8272 GB, free: 113.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003343/1.672, allocations: 389.4 kB / 0.8276 GB, free: 113.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0246/1.697, allocations: 11.1 MB / 0.8384 GB, free: 110.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006014/1.703, allocations: 4.002 MB / 0.8423 GB, free: 109.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.653e-06/1.703, allocations: 0 / 0.8423 GB, free: 109.9 MB / 426.7 MB Notification: Performance of Templates: time 0.09445/1.797, allocations: 54.05 MB / 0.8951 GB, free: 91.26 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2.pipe 2>&1)