Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.Backlash.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.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.Backlash") translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.Backlash") [: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.00392/0.00392, allocations: 173.1 kB / 7.449 MB, free: 2.492 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.24/1.24, allocations: 170.6 MB / 178.4 MB, free: 15.45 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.001866/0.001866, allocations: 119.8 kB / 217.7 MB, free: 8.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.734e-06/7.865e-06, allocations: 4 kB / 261.7 MB, free: 26.66 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07022/0.07024, allocations: 38.76 MB / 300.5 MB, free: 3.902 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.238/0.3083, allocations: 66.63 MB / 367.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.3086, allocations: 72.52 kB / 367.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd: time 0.01312/0.3218, allocations: 4.405 MB / 371.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.758e-05/0.3219, allocations: 4 kB / 371.6 MB, free: 14.18 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001125/0.323, allocations: 0.5044 MB / 372.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.313e-05/0.3231, allocations: 12.03 kB / 372.1 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.812e-05/0.3232, allocations: 23.72 kB / 372.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004684/0.3237, allocations: 218.7 kB / 372.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002377/0.3239, allocations: 68.66 kB / 372.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.915e-05/0.324, allocations: 15.94 kB / 372.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003582/0.3243, allocations: 154.1 kB / 372.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003545/0.3247, allocations: 181.9 kB / 372.8 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.3247, allocations: 7.891 kB / 372.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.3248, allocations: 4 kB / 372.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.3248, allocations: 4 kB / 372.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.3258, allocations: 0.6187 MB / 373.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.3261, allocations: 166.6 kB / 373.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.3263, allocations: 99.89 kB / 373.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.3263, allocations: 3.984 kB / 373.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.3264, allocations: 38.38 kB / 373.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.773e-06/0.3264, allocations: 0 / 373.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.001745/0.3281, allocations: 1.125 MB / 374.8 MB, free: 11.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.3282, allocations: 83.05 kB / 374.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.3283, allocations: 127.1 kB / 375 MB, free: 10.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.3284, allocations: 25.7 kB / 375.1 MB, free: 10.78 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.621e-05/0.3285, allocations: 123.5 kB / 375.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.051e-05/0.3285, allocations: 91.78 kB / 375.3 MB, free: 10.58 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.353e-05/0.3286, allocations: 0 / 375.3 MB, free: 10.58 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3287, allocations: 326.6 kB / 375.6 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.3289, allocations: 78.42 kB / 375.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.329, allocations: 102.4 kB / 375.8 MB, free: 10.13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.3292, allocations: 69.91 kB / 375.8 MB, free: 10.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3292, allocations: 0 / 375.8 MB, free: 10.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003972/0.3296, allocations: 236.3 kB / 376.1 MB, free: 9.906 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.3296, allocations: 4 kB / 376.1 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.3297, allocations: 4 kB / 376.1 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3297, allocations: 0 / 376.1 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004849/0.3302, allocations: 102.7 kB / 376.2 MB, free: 9.801 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.3302, allocations: 11.94 kB / 376.2 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.3304, allocations: 11.98 kB / 376.2 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.3304, allocations: 4 kB / 376.2 MB, free: 9.773 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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 9.588e-05/0.3305, allocations: 108.9 kB / 376.3 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.429e-05/0.3306, allocations: 19.72 kB / 376.3 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.72e-05/0.3306, allocations: 23.19 kB / 376.4 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3306, allocations: 0 / 376.4 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.3306, allocations: 4 kB / 376.4 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.3307, allocations: 3.984 kB / 376.4 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.3317, allocations: 0.7766 MB / 377.1 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3317, allocations: 3.984 kB / 377.1 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005744/0.3323, allocations: 131.8 kB / 377.3 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.3323, allocations: 4 kB / 377.3 MB, free: 8.758 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.3324, allocations: 4 kB / 377.3 MB, free: 8.754 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3324, allocations: 0 / 377.3 MB, free: 8.754 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.3324, allocations: 4 kB / 377.3 MB, free: 8.75 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006103/0.333, allocations: 0.5369 MB / 377.8 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.3331, allocations: 115.9 kB / 377.9 MB, free: 8.117 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.072e-05/0.3332, allocations: 4 kB / 377.9 MB, free: 8.113 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002872/0.3335, allocations: 31.97 kB / 378 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.834e-05/0.3336, allocations: 19.91 kB / 378 MB, free: 8.066 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.3336, allocations: 11.38 kB / 378 MB, free: 8.059 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.855e-05/0.3337, allocations: 106.8 kB / 378.1 MB, free: 7.961 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003745/0.3341, allocations: 48 kB / 378.1 MB, free: 7.914 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (elastoBacklash.phi_rel,elastoBacklash.w_rel,springDamper.phi_rel,springDamper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.0002467/0.3343, allocations: 111.3 kB / 378.3 MB, free: 7.797 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003394/0.3347, allocations: 151.3 kB / 378.4 MB, free: 7.691 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.06e-05/0.3347, allocations: 11.94 kB / 378.4 MB, free: 7.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.3349, allocations: 98.44 kB / 378.5 MB, free: 7.613 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.3353, allocations: 35.72 kB / 378.5 MB, free: 7.582 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00378/0.3391, allocations: 1.037 MB / 379.6 MB, free: 6.547 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004997/0.3397, allocations: 0.7629 MB / 380.3 MB, free: 5.758 MB / 266.7 MB Notification: Performance of SimCode: time 7.12e-07/0.3397, allocations: 0 / 380.3 MB, free: 5.758 MB / 266.7 MB Notification: Performance of Templates: time 0.005896/0.3456, allocations: 2.245 MB / 382.6 MB, free: 3.52 MB / 266.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1)