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.001017/0.001017, allocations: 179.6 kB / 16.38 MB, free: 5.762 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.151/1.151, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001512/0.001512, allocations: 116.8 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002952/0.0002957, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07822/0.07853, allocations: 44.5 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2265/0.3051, allocations: 73.7 MB / 428.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.3053, allocations: 67.47 kB / 428.8 MB, free: 15.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0182/0.3235, allocations: 7.541 MB / 436.4 MB, free: 9.578 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3236, allocations: 0 / 436.4 MB, free: 9.578 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.3236, allocations: 12 kB / 436.4 MB, free: 9.566 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.001025/0.3246, allocations: 0.6472 MB / 437 MB, free: 8.895 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.3247, allocations: 9.906 kB / 437 MB, free: 8.887 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.858e-05/0.3247, allocations: 38.22 kB / 437.1 MB, free: 8.852 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.325, allocations: 262.2 kB / 437.3 MB, free: 8.578 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000302/0.3253, allocations: 126.9 kB / 437.5 MB, free: 8.449 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.839e-05/0.3254, allocations: 31.19 kB / 437.5 MB, free: 8.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007543/0.3261, allocations: 407.6 kB / 437.9 MB, free: 8.098 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.3261, allocations: 11.16 kB / 437.9 MB, free: 8.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.3262, allocations: 5.812 kB / 437.9 MB, free: 8.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.3262, allocations: 8 kB / 437.9 MB, free: 8.082 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.3272, allocations: 464.3 kB / 438.4 MB, free: 7.707 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009361/0.3282, allocations: 0.9747 MB / 439.3 MB, free: 6.867 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000851/0.329, allocations: 449.9 kB / 439.8 MB, free: 6.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.3291, allocations: 11.3 kB / 439.8 MB, free: 6.473 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.305e-05/0.3291, allocations: 34.56 kB / 439.8 MB, free: 6.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 1.363e-06/0.3291, allocations: 448 / 439.8 MB, free: 6.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.003796/0.3329, allocations: 2.51 MB / 442.3 MB, free: 3.949 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.3329, allocations: 106.8 kB / 442.4 MB, free: 3.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.333, allocations: 186 kB / 442.6 MB, free: 3.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.3331, allocations: 29.02 kB / 442.6 MB, free: 3.629 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.3331, allocations: 144 kB / 442.8 MB, free: 3.508 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.892e-05/0.3332, allocations: 149.1 kB / 442.9 MB, free: 3.379 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.036e-05/0.3332, allocations: 6.688 kB / 442.9 MB, free: 3.379 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.189e-05/0.3333, allocations: 335.7 kB / 443.3 MB, free: 3.051 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/0.3336, allocations: 116.9 kB / 443.4 MB, free: 2.965 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.3338, allocations: 167.3 kB / 443.5 MB, free: 2.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/0.3341, allocations: 132.5 kB / 443.7 MB, free: 2.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.3341, allocations: 0 / 443.7 MB, free: 2.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006269/0.3347, allocations: 377.3 kB / 444 MB, free: 2.438 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3348, allocations: 11.95 kB / 444.1 MB, free: 2.426 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3348, allocations: 0 / 444.1 MB, free: 2.426 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3348, allocations: 4 kB / 444.1 MB, free: 2.422 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006081/0.3354, allocations: 171.8 kB / 444.2 MB, free: 2.258 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.3354, allocations: 4 kB / 444.2 MB, free: 2.254 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.3356, allocations: 31.16 kB / 444.3 MB, free: 2.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.3356, allocations: 8 kB / 444.3 MB, free: 2.223 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 () * Number of clocked 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 9.568e-05/0.3357, allocations: 148 kB / 444.4 MB, free: 2.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.948e-05/0.3358, allocations: 24.84 kB / 444.4 MB, free: 2.066 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.475e-05/0.3359, allocations: 42.91 kB / 444.5 MB, free: 2.043 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3359, allocations: 4 kB / 444.5 MB, free: 2.039 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3359, allocations: 2.5 kB / 444.5 MB, free: 2.039 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3359, allocations: 0 / 444.5 MB, free: 2.039 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.3377, allocations: 1.393 MB / 445.9 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.3377, allocations: 10.09 kB / 445.9 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007606/0.3385, allocations: 207.3 kB / 446.1 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3385, allocations: 4 kB / 446.1 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.3385, allocations: 15.17 kB / 446.1 MB, free: 0.543 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.3385, allocations: 7.953 kB / 446.1 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3385, allocations: 11.88 kB / 446.1 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.3403, allocations: 1.138 MB / 447.3 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.3405, allocations: 128.8 kB / 447.4 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.3405, allocations: 15.98 kB / 447.4 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004029/0.3409, allocations: 55.95 kB / 447.5 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.935e-05/0.341, allocations: 43.94 kB / 447.5 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.3411, allocations: 12 kB / 447.5 MB, free: 15.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001047/0.3412, allocations: 151.5 kB / 447.7 MB, free: 14.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3412, allocations: 0 / 447.7 MB, free: 14.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004014/0.3416, allocations: 88 kB / 447.7 MB, free: 14.81 MB / 330.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 () * Number of clocked 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.0001453/0.3417, allocations: 112.4 kB / 447.9 MB, free: 14.69 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009198/0.3427, allocations: 405.3 kB / 448.3 MB, free: 14.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3427, allocations: 0 / 448.3 MB, free: 14.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00063/0.3433, allocations: 293.5 kB / 448.5 MB, free: 14.01 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005123/0.3438, allocations: 52.62 kB / 448.6 MB, free: 13.96 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004906/0.3488, allocations: 1.739 MB / 450.3 MB, free: 12.19 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.3491, allocations: 0.7763 MB / 451.1 MB, free: 11.38 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000172/0.3493, allocations: 42.95 kB / 451.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.3494, allocations: 35.42 kB / 451.2 MB, free: 11.3 MB / 330.7 MB Notification: Performance of SimCode: time 1.683e-06/0.3494, allocations: 4 kB / 451.2 MB, free: 11.3 MB / 330.7 MB Notification: Performance of Templates: time 0.006457/0.3559, allocations: 3.701 MB / 454.9 MB, free: 7.656 MB / 330.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)