Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap.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.ElastoGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap") translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap") [: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.004585/0.004585, allocations: 174.8 kB / 7.451 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.369/1.369, allocations: 170.6 MB / 178.4 MB, free: 15.74 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.001855/0.001855, allocations: 119.9 kB / 217.7 MB, free: 8.52 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 9.938e-06/9.968e-06, allocations: 4 kB / 261.7 MB, free: 26.71 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1071, allocations: 38.76 MB / 300.5 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3084/0.4156, allocations: 65.96 MB / 366.5 MB, free: 2.594 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/0.416, allocations: 66.16 kB / 366.5 MB, free: 2.559 MB / 250.7 MB Notification: Performance of FrontEnd: time 0.01515/0.4311, allocations: 5.314 MB / 371.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.559e-05/0.4312, allocations: 4.188 kB / 371.8 MB, free: 14.24 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001221/0.4324, allocations: 0.5562 MB / 372.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.4325, allocations: 16.03 kB / 372.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.4327, allocations: 35.56 kB / 372.4 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004219/0.4331, allocations: 260.7 kB / 372.7 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.127e-05/0.4331, allocations: 12 kB / 372.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.976e-05/0.4332, allocations: 19.91 kB / 372.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005026/0.4337, allocations: 211.7 kB / 372.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004743/0.4342, allocations: 209 kB / 373.1 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.4342, allocations: 0 / 373.1 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.4343, allocations: 4 kB / 373.1 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.4343, allocations: 4 kB / 373.1 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.4361, allocations: 0.7442 MB / 373.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/0.4365, allocations: 178.1 kB / 374.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/0.4368, allocations: 171.3 kB / 374.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.826e-05/0.4369, allocations: 7.984 kB / 374.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/0.4369, allocations: 43.55 kB / 374.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.914e-06/0.4369, allocations: 4 kB / 374.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.00286/0.4398, allocations: 1.469 MB / 375.8 MB, free: 10.81 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.4398, allocations: 60.06 kB / 375.8 MB, free: 10.74 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.4401, allocations: 155.8 kB / 376 MB, free: 10.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.4401, allocations: 25.7 kB / 376 MB, free: 10.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.973e-05/0.4402, allocations: 136.7 kB / 376.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.4404, allocations: 205.8 kB / 376.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.86e-05/0.4404, allocations: 0 / 376.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4406, allocations: 344.9 kB / 376.7 MB, free: 9.918 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.4408, allocations: 134.1 kB / 376.8 MB, free: 9.844 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.441, allocations: 128.3 kB / 376.9 MB, free: 9.766 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.4413, allocations: 149.4 kB / 377.1 MB, free: 9.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4413, allocations: 0 / 377.1 MB, free: 9.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006527/0.4419, allocations: 402.5 kB / 377.5 MB, free: 9.383 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.442, allocations: 7.906 kB / 377.5 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.442, allocations: 0 / 377.5 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/0.442, allocations: 11.89 kB / 377.5 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005607/0.4426, allocations: 130.9 kB / 377.6 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.4426, allocations: 0 / 377.6 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.4429, allocations: 23.98 kB / 377.6 MB, free: 9.215 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.73e-05/0.4429, allocations: 15.38 kB / 377.6 MB, free: 9.203 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0001238/0.443, allocations: 112.3 kB / 377.8 MB, free: 9.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.749e-05/0.4431, allocations: 31.62 kB / 377.8 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.4433, allocations: 44.27 kB / 377.8 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.4433, allocations: 11.88 kB / 377.8 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/0.4433, allocations: 3.906 kB / 377.8 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.4433, allocations: 3.984 kB / 377.8 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/0.4452, allocations: 1.156 MB / 379 MB, free: 7.996 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.4453, allocations: 4 kB / 379 MB, free: 7.992 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000565/0.4458, allocations: 126.5 kB / 379.1 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/0.4459, allocations: 12 kB / 379.1 MB, free: 7.863 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.4459, allocations: 15.89 kB / 379.2 MB, free: 7.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/0.4459, allocations: 8 kB / 379.2 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.4459, allocations: 7.938 kB / 379.2 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001261/0.4472, allocations: 0.9897 MB / 380.2 MB, free: 6.859 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.4473, allocations: 108.6 kB / 380.3 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.155e-05/0.4474, allocations: 11.98 kB / 380.3 MB, free: 6.723 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002942/0.4477, allocations: 23.98 kB / 380.3 MB, free: 6.699 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.466e-05/0.4478, allocations: 42.73 kB / 380.3 MB, free: 6.664 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-05/0.4478, allocations: 19.38 kB / 380.4 MB, free: 6.645 MB / 266.7 MB Notification: Performance of sort global known variables: time 0.0001836/0.448, allocations: 125.8 kB / 380.5 MB, free: 6.539 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000452/0.4485, allocations: 83.94 kB / 380.6 MB, free: 6.457 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 4 (springDamper2.s_rel,springDamper2.v_rel,elastoGap2.s_rel,elastoGap2.v_rel) * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.0001851/0.4487, allocations: 107.1 kB / 380.7 MB, free: 6.344 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008355/0.4495, allocations: 361 kB / 381 MB, free: 6.102 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.4496, allocations: 4 kB / 381 MB, free: 6.098 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005554/0.4501, allocations: 217.3 kB / 381.2 MB, free: 5.941 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008444/0.451, allocations: 68.28 kB / 381.3 MB, free: 5.887 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.4528, allocations: 0.7822 MB / 382.1 MB, free: 5.105 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006015/0.4534, allocations: 0.8394 MB / 382.9 MB, free: 4.242 MB / 266.7 MB Notification: Performance of SimCode: time 7.02e-07/0.4534, allocations: 0 / 382.9 MB, free: 4.242 MB / 266.7 MB Notification: Performance of Templates: time 0.01041/0.4638, allocations: 4.208 MB / 387.1 MB, free: 40 kB / 266.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1)