Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.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.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash") translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2+maint.om/package.mo): time 0.001361/0.001361, allocations: 190.2 kB / 8.132 MB, free: 2.199 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.096/1.096, allocations: 194.2 MB / 202.8 MB, free: 8.664 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.001833/0.001833, allocations: 124.7 kB / 247.7 MB, free: 6.383 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.432e-06/6.522e-06, allocations: 0 / 297.6 MB, free: 8.043 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07319/0.07321, allocations: 44.49 MB / 342.1 MB, free: 11.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2038/0.2771, allocations: 72.87 MB / 414.9 MB, free: 22.24 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001693/0.2773, allocations: 74.64 kB / 415 MB, free: 22.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02106/0.2984, allocations: 7.199 MB / 422.2 MB, free: 16.35 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.2984, allocations: 4.188 kB / 422.2 MB, free: 16.34 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001223/0.2996, allocations: 0.6502 MB / 422.9 MB, free: 15.67 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2997, allocations: 8.031 kB / 422.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.856e-05/0.2998, allocations: 31.62 kB / 422.9 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.3001, allocations: 255.3 kB / 423.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003574/0.3005, allocations: 134.9 kB / 423.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.698e-05/0.3005, allocations: 12 kB / 423.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004768/0.301, allocations: 257 kB / 423.5 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004362/0.3015, allocations: 285.4 kB / 423.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.3015, allocations: 10.72 kB / 423.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.3015, allocations: 0 / 423.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.3015, allocations: 8 kB / 423.8 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.3028, allocations: 0.9143 MB / 424.7 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/0.3032, allocations: 271.5 kB / 425 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/0.3034, allocations: 146.6 kB / 425.2 MB, free: 13.72 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.3035, allocations: 11.67 kB / 425.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.3035, allocations: 45.19 kB / 425.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 1.863e-06/0.3035, allocations: 0 / 425.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.001997/0.3055, allocations: 1.739 MB / 426.9 MB, free: 11.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.3055, allocations: 110.8 kB / 427.1 MB, free: 11.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.3057, allocations: 155.8 kB / 427.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.3057, allocations: 27.95 kB / 427.2 MB, free: 11.55 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.944e-05/0.3057, allocations: 139.3 kB / 427.4 MB, free: 11.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.824e-05/0.3058, allocations: 132.5 kB / 427.5 MB, free: 11.31 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.458e-05/0.3058, allocations: 0 / 427.5 MB, free: 11.31 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.359e-05/0.3059, allocations: 339.4 kB / 427.8 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.3061, allocations: 118.2 kB / 427.9 MB, free: 10.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.3064, allocations: 166.4 kB / 428.1 MB, free: 10.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.3066, allocations: 109.2 kB / 428.2 MB, free: 10.72 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3066, allocations: 4 kB / 428.2 MB, free: 10.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005336/0.3071, allocations: 342.1 kB / 428.6 MB, free: 10.47 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.3071, allocations: 8 kB / 428.6 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3071, allocations: 0 / 428.6 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3072, allocations: 7.938 kB / 428.6 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008122/0.308, allocations: 183.4 kB / 428.8 MB, free: 10.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.308, allocations: 7.938 kB / 428.8 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.3082, allocations: 27.97 kB / 428.8 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.3083, allocations: 8 kB / 428.8 MB, free: 10.23 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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 7.353e-05/0.3084, allocations: 116.4 kB / 428.9 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.3085, allocations: 23.72 kB / 428.9 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.146e-05/0.3085, allocations: 27.08 kB / 429 MB, free: 10.08 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3085, allocations: 4 kB / 429 MB, free: 10.08 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3086, allocations: 0 / 429 MB, free: 10.08 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3086, allocations: 7.906 kB / 429 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.3099, allocations: 1.132 MB / 430.1 MB, free: 9.047 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3099, allocations: 4 kB / 430.1 MB, free: 9.043 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/0.3109, allocations: 223.4 kB / 430.3 MB, free: 8.828 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.3109, allocations: 7.906 kB / 430.3 MB, free: 8.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.505e-05/0.311, allocations: 9.578 kB / 430.3 MB, free: 8.812 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.311, allocations: 4 kB / 430.3 MB, free: 8.809 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.311, allocations: 0 / 430.3 MB, free: 8.809 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007313/0.3117, allocations: 0.8077 MB / 431.2 MB, free: 8.059 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.3118, allocations: 126.4 kB / 431.3 MB, free: 7.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.979e-05/0.3119, allocations: 4 kB / 431.3 MB, free: 7.926 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000501/0.3124, allocations: 63.94 kB / 431.3 MB, free: 7.863 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.507e-05/0.3125, allocations: 42.67 kB / 431.4 MB, free: 7.828 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/0.3126, allocations: 15.36 kB / 431.4 MB, free: 7.816 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.87e-05/0.3126, allocations: 125.3 kB / 431.5 MB, free: 7.707 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004479/0.3131, allocations: 68 kB / 431.6 MB, free: 7.641 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (elastoBacklash2.phi_rel,elastoBacklash2.w_rel,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 (38): * Single equations (assignments): 38 * 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.0001163/0.3132, allocations: 108.3 kB / 431.7 MB, free: 7.527 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003585/0.3136, allocations: 242.4 kB / 431.9 MB, free: 7.363 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3136, allocations: 0 / 431.9 MB, free: 7.363 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002544/0.3138, allocations: 167 kB / 432.1 MB, free: 7.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005245/0.3144, allocations: 47.67 kB / 432.1 MB, free: 7.215 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004729/0.3191, allocations: 1.373 MB / 433.5 MB, free: 5.871 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003434/0.3195, allocations: 0.8099 MB / 434.3 MB, free: 5.039 MB / 314.7 MB Notification: Performance of SimCode: time 3.51e-07/0.3195, allocations: 0 / 434.3 MB, free: 5.039 MB / 314.7 MB Notification: Performance of Templates: time 0.006588/0.3261, allocations: 3.593 MB / 437.9 MB, free: 1.508 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1)