Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") [: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.001427/0.001427, allocations: 187.9 kB / 8.134 MB, free: 2.207 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.137/1.137, allocations: 194.2 MB / 202.8 MB, free: 8.637 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.001788/0.001788, allocations: 113.4 kB / 247.7 MB, free: 6.359 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 9.117e-06/9.147e-06, allocations: 7.938 kB / 297.6 MB, free: 7.941 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07213/0.07216, allocations: 44.48 MB / 342.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2061/0.2783, allocations: 90.18 MB / 432.2 MB, free: 5.129 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.2786, allocations: 87 kB / 432.3 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.1888/0.4674, allocations: 69.31 MB / 0.4899 GB, free: 6.895 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001461/0.4676, allocations: 68 kB / 0.4899 GB, free: 6.828 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.007718/0.4753, allocations: 3.33 MB / 0.4932 GB, free: 3.438 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.171e-05/0.4754, allocations: 8.031 kB / 0.4932 GB, free: 3.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008395/0.4838, allocations: 1.699 MB / 0.4949 GB, free: 1.723 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01037/0.4942, allocations: 4.069 MB / 0.4988 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/0.4944, allocations: 112 kB / 0.4989 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009156/0.4953, allocations: 203.9 kB / 0.4991 GB, free: 13.28 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008101/0.5034, allocations: 5.186 MB / 0.5042 GB, free: 8.086 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1126/0.6161, allocations: 8.077 MB / 0.5121 GB, free: 119.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001373/0.6162, allocations: 52.47 kB / 0.5121 GB, free: 119.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004309/0.6167, allocations: 33.38 kB / 0.5122 GB, free: 119.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009425/0.6176, allocations: 0.9247 MB / 0.5131 GB, free: 119.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.032/0.6496, allocations: 41.62 MB / 0.5537 GB, free: 92.56 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002465/0.6522, allocations: 2.544 MB / 0.5562 GB, free: 91.88 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.6536, allocations: 1.526 MB / 0.5577 GB, free: 91.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006401/0.66, allocations: 5.146 MB / 0.5627 GB, free: 90 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.6601, allocations: 52.62 kB / 0.5628 GB, free: 89.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=114): time 3.758e-06/0.6601, allocations: 0 / 0.5628 GB, free: 89.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=123): time 0.01802/0.6781, allocations: 10.61 MB / 0.5731 GB, free: 86.61 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.6782, allocations: 144.3 kB / 0.5733 GB, free: 86.45 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003201/0.6814, allocations: 2.828 MB / 0.576 GB, free: 85.42 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.802e-05/0.6815, allocations: 25.7 kB / 0.5761 GB, free: 85.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009694/0.6825, allocations: 2.62 MB / 0.5786 GB, free: 83.37 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003299/0.6828, allocations: 0.4935 MB / 0.5791 GB, free: 83.03 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.683, allocations: 0 / 0.5791 GB, free: 83.03 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002308/0.6832, allocations: 0.5297 MB / 0.5796 GB, free: 82.63 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001883/0.6851, allocations: 1.626 MB / 0.5812 GB, free: 82.08 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003023/0.6881, allocations: 5.127 MB / 0.5862 GB, free: 76.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003296/0.6914, allocations: 2.902 MB / 0.589 GB, free: 75.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.064e-05/0.6915, allocations: 33.69 kB / 0.5891 GB, free: 75.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=709) (initialization): time 0.008554/0.7001, allocations: 6.013 MB / 0.5949 GB, free: 73.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.7001, allocations: 5.094 kB / 0.595 GB, free: 73.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001362/0.7002, allocations: 126.9 kB / 0.5951 GB, free: 73.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007017/0.7009, allocations: 342.2 kB / 0.5954 GB, free: 73.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004071/0.705, allocations: 1.292 MB / 0.5967 GB, free: 73.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/0.707, allocations: 2.224 MB / 0.5988 GB, free: 72.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003141/0.7101, allocations: 154.1 kB / 0.599 GB, free: 72.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003688/0.7105, allocations: 355.6 kB / 0.5993 GB, free: 71.97 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[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],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (681): * Single equations (assignments): 677 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000516/0.711, allocations: 422 kB / 0.5997 GB, free: 71.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003501/0.7114, allocations: 273 kB / 0.6 GB, free: 71.46 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004232/0.7156, allocations: 2.196 MB / 0.6021 GB, free: 70.74 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.968e-05/0.7157, allocations: 11.12 kB / 0.6021 GB, free: 70.74 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.7157, allocations: 3.875 kB / 0.6021 GB, free: 70.74 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.7157, allocations: 3.938 kB / 0.6021 GB, free: 70.74 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009342/0.7251, allocations: 5.18 MB / 0.6072 GB, free: 68.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.7251, allocations: 6.5 kB / 0.6072 GB, free: 68.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008492/0.7259, allocations: 156 kB / 0.6074 GB, free: 68.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002222/0.7282, allocations: 0.6505 MB / 0.608 GB, free: 68.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.029e-05/0.7283, allocations: 6.219 kB / 0.608 GB, free: 68.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004981/0.7333, allocations: 4.209 MB / 0.6121 GB, free: 66.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.7333, allocations: 3.906 kB / 0.6121 GB, free: 66.39 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006032/0.7393, allocations: 4.299 MB / 0.6163 GB, free: 64.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009024/0.7402, allocations: 0.498 MB / 0.6168 GB, free: 64.24 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003605/0.7406, allocations: 3.031 kB / 0.6168 GB, free: 64.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.7417, allocations: 29.12 kB / 0.6168 GB, free: 64.24 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.7418, allocations: 55.69 kB / 0.6169 GB, free: 64.22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.299e-05/0.7419, allocations: 32.81 kB / 0.6169 GB, free: 64.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002353/0.7443, allocations: 1.89 MB / 0.6188 GB, free: 63.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003966/0.7482, allocations: 0.6921 MB / 0.6194 GB, free: 63.52 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 87 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003295/0.7486, allocations: 142.3 kB / 0.6196 GB, free: 63.42 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004955/0.7535, allocations: 3.83 MB / 0.6233 GB, free: 60.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.7536, allocations: 0 / 0.6233 GB, free: 60.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.7547, allocations: 1.049 MB / 0.6243 GB, free: 59.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.7561, allocations: 290.2 kB / 0.6246 GB, free: 59.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.7668, allocations: 5.875 MB / 0.6303 GB, free: 53.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00374/0.7705, allocations: 3.072 MB / 0.6333 GB, free: 51.4 MB / 394.7 MB Notification: Performance of SimCode: time 8.01e-07/0.7706, allocations: 0 / 0.6333 GB, free: 51.4 MB / 394.7 MB Notification: Performance of Templates: time 0.0478/0.8184, allocations: 27.97 MB / 0.6607 GB, free: 27.84 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1)