Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperParallel.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.SpringDamperParallel,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperParallel") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperParallel,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperParallel") [: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.002963/0.002963, allocations: 183.2 kB / 7.458 MB, free: 2.492 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.255/1.255, allocations: 194.2 MB / 202.1 MB, free: 8.73 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.001675/0.001675, allocations: 119.9 kB / 247.1 MB, free: 6.348 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.1636/0.1636, allocations: 39.95 MB / 331.9 MB, free: 4.945 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.806e-06/8.836e-06, allocations: 7.938 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08759/0.08761, allocations: 54.87 MB / 447.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2782/0.3659, allocations: 94.92 MB / 0.5299 GB, free: 5.449 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/0.3661, allocations: 69.09 kB / 0.5299 GB, free: 5.418 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.271/0.6371, allocations: 111.4 MB / 0.6387 GB, free: 13.81 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002153/0.6373, allocations: 124 kB / 0.6388 GB, free: 13.69 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2401 * Number of variables: 2401 Notification: Performance of Generate backend data structure: time 0.01753/0.6549, allocations: 6.327 MB / 0.645 GB, free: 7.289 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.6549, allocations: 15.97 kB / 0.645 GB, free: 7.273 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/0.6654, allocations: 2.312 MB / 0.6473 GB, free: 4.945 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008557/0.674, allocations: 3.662 MB / 0.6509 GB, free: 1.219 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002795/0.6743, allocations: 220 kB / 0.6511 GB, free: 1.004 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001954/0.6763, allocations: 403.8 kB / 0.6514 GB, free: 0.6094 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01767/0.694, allocations: 10.65 MB / 0.6619 GB, free: 5.949 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1594/0.8534, allocations: 15.16 MB / 0.6767 GB, free: 142.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005036/0.8539, allocations: 79.84 kB / 0.6767 GB, free: 142.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002781/0.8567, allocations: 37.78 kB / 0.6768 GB, free: 142.2 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002802/0.8595, allocations: 1.875 MB / 0.6786 GB, free: 142.2 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08144/0.941, allocations: 69.58 MB / 0.7466 GB, free: 107 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00736/0.9484, allocations: 6.902 MB / 0.7533 GB, free: 103.7 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005707/0.9541, allocations: 5.61 MB / 0.7588 GB, free: 101.4 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/0.9552, allocations: 1.113 MB / 0.7599 GB, free: 100.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.79e-05/0.9553, allocations: 74.88 kB / 0.7599 GB, free: 100.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=361): time 7.755e-06/0.9553, allocations: 0 / 0.7599 GB, free: 100.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=508): time 0.1454/1.101, allocations: 63.12 MB / 0.8216 GB, free: 58.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/1.101, allocations: 263.4 kB / 0.8218 GB, free: 58.19 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004616/1.105, allocations: 3.383 MB / 0.8251 GB, free: 55.29 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001213/1.107, allocations: 31.67 kB / 0.8252 GB, free: 55.25 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001623/1.108, allocations: 3.961 MB / 0.829 GB, free: 51.72 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002067/1.11, allocations: 1.762 MB / 0.8307 GB, free: 50.12 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007184/1.111, allocations: 2.25 kB / 0.8307 GB, free: 50.12 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004246/1.112, allocations: 0.7123 MB / 0.8314 GB, free: 49.51 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006651/1.118, allocations: 5.554 MB / 0.8369 GB, free: 44.05 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009676/1.128, allocations: 10.07 MB / 0.8467 GB, free: 31.83 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01145/1.139, allocations: 8.017 MB / 0.8545 GB, free: 23.91 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001164/1.14, allocations: 44 kB / 0.8546 GB, free: 23.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=1251) (initialization): time 0.03219/1.172, allocations: 18.07 MB / 0.8722 GB, free: 5.77 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/1.172, allocations: 4.938 kB / 0.8722 GB, free: 5.766 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001376/1.172, allocations: 160 kB / 0.8724 GB, free: 5.609 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009058/1.181, allocations: 3.292 MB / 0.8756 GB, free: 2.289 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009737/1.191, allocations: 2.238 MB / 0.8778 GB, free: 48 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1784/1.369, allocations: 24.02 MB / 0.9012 GB, free: 122.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008831/1.378, allocations: 322.1 kB / 0.9015 GB, free: 122.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00224/1.38, allocations: 0.5741 MB / 0.9021 GB, free: 122.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 719 * Number of states: 0 () * Number of discrete variables: 51 (prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],universal2.cylinderColor[3],universal2.cylinderColor[2],universal2.cylinderColor[1],pm3.sphereColor[3],pm3.sphereColor[2],pm3.sphereColor[1],springDamperParallel2.color[3],springDamperParallel2.color[2],springDamperParallel2.color[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pm2.sphereColor[3],pm2.sphereColor[2],pm2.sphereColor[1],springDamperParallel1.color[3],springDamperParallel1.color[2],springDamperParallel1.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],pm1.sphereColor[3],pm1.sphereColor[2],pm1.sphereColor[1],springDamperParallel.color[3],springDamperParallel.color[2],springDamperParallel.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 (1156): * Single equations (assignments): 1143 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 9,(3,100.0%) 12,(1,100.0%) 4,(1,100.0%) 9,(3,100.0%) 12,(1,100.0%) 4,(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002269/1.383, allocations: 0.5227 MB / 0.9026 GB, free: 122.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00124/1.384, allocations: 463.6 kB / 0.9031 GB, free: 122.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02349/1.407, allocations: 13.86 MB / 0.9166 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001177/1.408, allocations: 51.47 kB / 0.9166 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.434e-05/1.408, allocations: 16.97 kB / 0.9167 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001009/1.408, allocations: 23.72 kB / 0.9167 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0457/1.453, allocations: 25.86 MB / 0.9419 GB, free: 116.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.431e-05/1.454, allocations: 6.344 kB / 0.9419 GB, free: 116.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005286/1.459, allocations: 0.8362 MB / 0.9428 GB, free: 116.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01009/1.469, allocations: 3.474 MB / 0.9461 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001433/1.47, allocations: 36.47 kB / 0.9462 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01813/1.489, allocations: 19.55 MB / 0.9653 GB, free: 102.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.489, allocations: 4.781 kB / 0.9653 GB, free: 102.2 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02975/1.518, allocations: 21.97 MB / 0.9867 GB, free: 88.48 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003569/1.522, allocations: 1.542 MB / 0.9882 GB, free: 87.08 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001366/1.523, allocations: 15.09 kB / 0.9882 GB, free: 87.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00382/1.527, allocations: 217.7 kB / 0.9885 GB, free: 86.94 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006966/1.528, allocations: 257 kB / 0.9887 GB, free: 86.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005037/1.528, allocations: 162.7 kB / 0.9889 GB, free: 86.65 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.003354/1.532, allocations: 2.219 MB / 0.991 GB, free: 84.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008266/1.54, allocations: 1.69 MB / 0.9927 GB, free: 83.02 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 18 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic.s,prismatic.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v,pm3.r_0[1],pm3.r_0[2],pm3.r_0[3],pm3.v_0[1],pm3.v_0[2],pm3.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (425): * Single equations (assignments): 407 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 7 {(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008374/1.541, allocations: 192 kB / 0.9929 GB, free: 82.89 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01787/1.559, allocations: 14.48 MB / 1.007 GB, free: 70 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/1.559, allocations: 0 / 1.007 GB, free: 70 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01201/1.571, allocations: 8.118 MB / 1.015 GB, free: 62.59 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/1.574, allocations: 312 kB / 1.015 GB, free: 62.31 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03388/1.608, allocations: 16.53 MB / 1.031 GB, free: 47.93 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00942/1.617, allocations: 5.35 MB / 1.037 GB, free: 43.86 MB / 474.7 MB Notification: Performance of SimCode: time 7.42e-07/1.617, allocations: 4 kB / 1.037 GB, free: 43.86 MB / 474.7 MB Notification: Performance of Templates: time 0.3184/1.935, allocations: 94.7 MB / 1.129 GB, free: 109.8 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperParallel.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperParallel.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperParallel -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe 2>&1)