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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001014/0.001014, allocations: 182.4 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.668/1.668, allocations: 194.2 MB / 208.4 MB, free: 6.641 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.001784/0.001784, allocations: 120.7 kB / 253.5 MB, free: 9.504 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.46e-05/3.463e-05, allocations: 0 / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09211/0.09217, allocations: 44.51 MB / 349.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3762/0.4684, allocations: 73.62 MB / 423.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/0.4688, allocations: 67.59 kB / 423.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01945/0.4883, allocations: 7.539 MB / 430.7 MB, free: 8.602 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.634e-06/0.4883, allocations: 0 / 430.7 MB, free: 8.602 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.4884, allocations: 7.531 kB / 430.7 MB, free: 8.602 MB / 298.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.001129/0.4895, allocations: 0.6197 MB / 431.3 MB, free: 8.117 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.4895, allocations: 11.5 kB / 431.3 MB, free: 8.117 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.214e-05/0.4896, allocations: 34.73 kB / 431.3 MB, free: 8.098 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.49, allocations: 261.2 kB / 431.6 MB, free: 7.855 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003288/0.4903, allocations: 139.5 kB / 431.7 MB, free: 7.766 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6e-05/0.4904, allocations: 22.06 kB / 431.7 MB, free: 7.766 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004759/0.4909, allocations: 313.4 kB / 432.1 MB, free: 7.656 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.4909, allocations: 3.906 kB / 432.1 MB, free: 7.652 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.4909, allocations: 11.34 kB / 432.1 MB, free: 7.652 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.4909, allocations: 7.688 kB / 432.1 MB, free: 7.652 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000437/0.4914, allocations: 272.9 kB / 432.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.4926, allocations: 0.9809 MB / 433.3 MB, free: 6.957 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004647/0.4931, allocations: 320.8 kB / 433.6 MB, free: 6.867 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.4933, allocations: 151.1 kB / 433.8 MB, free: 6.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.4933, allocations: 11.78 kB / 433.8 MB, free: 6.832 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.4934, allocations: 41.59 kB / 433.8 MB, free: 6.789 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.442e-06/0.4934, allocations: 0 / 433.8 MB, free: 6.789 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.001856/0.4952, allocations: 1.844 MB / 435.7 MB, free: 5.352 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/0.4953, allocations: 106.8 kB / 435.8 MB, free: 5.227 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.4955, allocations: 184.5 kB / 436 MB, free: 5.117 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.4955, allocations: 35.95 kB / 436 MB, free: 5.082 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.554e-05/0.4956, allocations: 144.9 kB / 436.1 MB, free: 4.973 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.734e-05/0.4957, allocations: 131.7 kB / 436.3 MB, free: 4.875 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.158e-05/0.4957, allocations: 10.66 kB / 436.3 MB, free: 4.875 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.471e-05/0.4958, allocations: 337.2 kB / 436.6 MB, free: 4.551 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.496, allocations: 126.9 kB / 436.7 MB, free: 4.547 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.4962, allocations: 182.7 kB / 436.9 MB, free: 4.484 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.4964, allocations: 121 kB / 437 MB, free: 4.465 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4964, allocations: 3.844 kB / 437 MB, free: 4.465 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005182/0.4969, allocations: 373.2 kB / 437.4 MB, free: 4.375 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.497, allocations: 7.688 kB / 437.4 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.497, allocations: 4.094 kB / 437.4 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.497, allocations: 3.844 kB / 437.4 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006405/0.4977, allocations: 166.8 kB / 437.6 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.4977, allocations: 7.828 kB / 437.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.4979, allocations: 27.39 kB / 437.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.4979, allocations: 11.62 kB / 437.6 MB, free: 4.32 MB / 298.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.657e-05/0.498, allocations: 124.2 kB / 437.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.039e-05/0.4981, allocations: 31.05 kB / 437.8 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.267e-05/0.4981, allocations: 32.83 kB / 437.8 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.4982, allocations: 11.59 kB / 437.8 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.4982, allocations: 0 / 437.8 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.4982, allocations: 0 / 437.8 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.4994, allocations: 1.206 MB / 439 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4994, allocations: 0 / 439 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007996/0.5002, allocations: 208.8 kB / 439.2 MB, free: 3.324 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.5002, allocations: 3.875 kB / 439.2 MB, free: 3.324 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.5002, allocations: 26.94 kB / 439.3 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.5003, allocations: 3.906 kB / 439.3 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5003, allocations: 7.844 kB / 439.3 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007615/0.501, allocations: 0.8248 MB / 440.1 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.996e-05/0.5011, allocations: 131.3 kB / 440.2 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.393e-05/0.5012, allocations: 11.34 kB / 440.2 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004008/0.5016, allocations: 64.69 kB / 440.3 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.742e-05/0.5017, allocations: 38.45 kB / 440.3 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.5017, allocations: 15.05 kB / 440.3 MB, free: 2.617 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.569e-05/0.5018, allocations: 159.2 kB / 440.5 MB, free: 2.523 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5019, allocations: 0 / 440.5 MB, free: 2.523 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003832/0.5022, allocations: 85.02 kB / 440.6 MB, free: 2.52 MB / 298.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.0001388/0.5024, allocations: 112.2 kB / 440.7 MB, free: 2.426 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003826/0.5028, allocations: 259 kB / 440.9 MB, free: 2.406 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.5028, allocations: 0 / 440.9 MB, free: 2.406 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002585/0.5031, allocations: 179.3 kB / 441.1 MB, free: 2.383 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005196/0.5036, allocations: 54.02 kB / 441.2 MB, free: 2.367 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003966/0.5076, allocations: 1.341 MB / 442.5 MB, free: 1.629 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.5078, allocations: 0.778 MB / 443.3 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000164/0.5079, allocations: 38.14 kB / 443.3 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.508, allocations: 38.08 kB / 443.4 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of SimCode: time 6.52e-07/0.5081, allocations: 3.938 kB / 443.4 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of Templates: time 0.006737/0.5148, allocations: 3.71 MB / 447.1 MB, free: 13.93 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)