Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.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) 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(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad") [: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.006551/0.006551, allocations: 172 kB / 7.447 MB, free: 2.504 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.201/1.201, allocations: 170.6 MB / 178.4 MB, free: 15.47 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.001825/0.001825, allocations: 108.4 kB / 217.7 MB, free: 8.242 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.992e-06/6.032e-06, allocations: 0 / 261.7 MB, free: 26.68 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07844/0.07846, allocations: 38.77 MB / 300.5 MB, free: 3.922 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2886/0.3671, allocations: 67.47 MB / 368 MB, free: 1.09 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/0.3674, allocations: 68.03 kB / 368 MB, free: 1.055 MB / 250.7 MB Notification: Performance of FrontEnd: time 0.02567/0.3931, allocations: 8.762 MB / 376.8 MB, free: 9.871 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.045e-05/0.3932, allocations: 8 kB / 376.8 MB, free: 9.863 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001609/0.3948, allocations: 0.744 MB / 377.6 MB, free: 9.102 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.3949, allocations: 8.031 kB / 377.6 MB, free: 9.094 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002334/0.3951, allocations: 55.34 kB / 377.6 MB, free: 9.039 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000503/0.3956, allocations: 305.3 kB / 377.9 MB, free: 8.734 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.359e-05/0.3957, allocations: 19.98 kB / 377.9 MB, free: 8.715 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.3958, allocations: 28 kB / 378 MB, free: 8.688 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006865/0.3965, allocations: 342.8 kB / 378.3 MB, free: 8.469 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006157/0.3971, allocations: 332.9 kB / 378.6 MB, free: 8.223 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.3971, allocations: 15.89 kB / 378.6 MB, free: 8.207 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.541e-05/0.3972, allocations: 0 / 378.6 MB, free: 8.207 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.3972, allocations: 12 kB / 378.6 MB, free: 8.195 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002477/0.3997, allocations: 1.319 MB / 380 MB, free: 7.168 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005096/0.4002, allocations: 306.3 kB / 380.3 MB, free: 6.961 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000665/0.4009, allocations: 323.7 kB / 380.6 MB, free: 6.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.69e-05/0.401, allocations: 12.64 kB / 380.6 MB, free: 6.719 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.401, allocations: 45.72 kB / 380.6 MB, free: 6.672 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 2.985e-06/0.401, allocations: 4 kB / 380.6 MB, free: 6.668 MB / 266.7 MB Notification: Performance of matching and sorting (n=103): time 0.004408/0.4054, allocations: 2.198 MB / 382.8 MB, free: 4.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.4055, allocations: 64.41 kB / 382.9 MB, free: 4.762 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.4057, allocations: 201.8 kB / 383.1 MB, free: 4.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.595e-05/0.4058, allocations: 25.7 kB / 383.1 MB, free: 4.559 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.4059, allocations: 171.1 kB / 383.3 MB, free: 4.398 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002769/0.4062, allocations: 326.6 kB / 383.6 MB, free: 4.113 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.4062, allocations: 4 kB / 383.6 MB, free: 4.109 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.4064, allocations: 369.1 kB / 384 MB, free: 3.762 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003629/0.4068, allocations: 208.4 kB / 384.2 MB, free: 3.645 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000424/0.4072, allocations: 269.8 kB / 384.4 MB, free: 3.473 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003947/0.4076, allocations: 235 kB / 384.7 MB, free: 3.328 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4076, allocations: 0 / 384.7 MB, free: 3.328 MB / 266.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0009991/0.4086, allocations: 0.6301 MB / 385.3 MB, free: 2.855 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.4087, allocations: 8 kB / 385.3 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.4087, allocations: 0 / 385.3 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.182e-05/0.4087, allocations: 4 kB / 385.3 MB, free: 2.844 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009884/0.4097, allocations: 223.6 kB / 385.5 MB, free: 2.633 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-05/0.4098, allocations: 8 kB / 385.5 MB, free: 2.625 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004406/0.4102, allocations: 47.95 kB / 385.6 MB, free: 2.578 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.486e-05/0.4103, allocations: 23.94 kB / 385.6 MB, free: 2.559 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001664/0.4105, allocations: 124.5 kB / 385.7 MB, free: 2.434 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.4106, allocations: 55.34 kB / 385.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001632/0.4108, allocations: 55.31 kB / 385.8 MB, free: 2.363 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.4108, allocations: 8 kB / 385.8 MB, free: 2.355 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/0.4108, allocations: 7.922 kB / 385.9 MB, free: 2.348 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.4108, allocations: 3.984 kB / 385.9 MB, free: 2.344 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/0.4138, allocations: 1.733 MB / 387.6 MB, free: 0.918 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.357e-06/0.4138, allocations: 8.125 kB / 387.6 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009362/0.4147, allocations: 223.3 kB / 387.8 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.982e-05/0.4148, allocations: 11.98 kB / 387.8 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.772e-05/0.4148, allocations: 15.92 kB / 387.8 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/0.4148, allocations: 11.94 kB / 387.9 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/0.4149, allocations: 4 kB / 387.9 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001928/0.4168, allocations: 1.39 MB / 389.3 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002775/0.4171, allocations: 171 kB / 389.4 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-05/0.4172, allocations: 11.98 kB / 389.4 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004901/0.4177, allocations: 51.97 kB / 389.5 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.4178, allocations: 65.72 kB / 389.5 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.462e-05/0.4179, allocations: 31.5 kB / 389.6 MB, free: 15.1 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0001537/0.4181, allocations: 163.3 kB / 389.7 MB, free: 14.96 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005713/0.4186, allocations: 127.9 kB / 389.9 MB, free: 14.84 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002271/0.4189, allocations: 112.8 kB / 390 MB, free: 14.72 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009905/0.4199, allocations: 0.5932 MB / 390.6 MB, free: 14.31 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.4199, allocations: 0 / 390.6 MB, free: 14.31 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006019/0.4205, allocations: 383.5 kB / 390.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006797/0.4212, allocations: 70.33 kB / 391 MB, free: 13.99 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.4237, allocations: 1.207 MB / 392.2 MB, free: 12.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008185/0.4245, allocations: 0.9417 MB / 393.2 MB, free: 11.86 MB / 282.7 MB Notification: Performance of SimCode: time 2.625e-06/0.4245, allocations: 0 / 393.2 MB, free: 11.86 MB / 282.7 MB Notification: Performance of Templates: time 0.01398/0.4385, allocations: 6.845 MB / 400 MB, free: 5.016 MB / 282.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1)