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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 115.2 kB / 17.06 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 191 kB / 18 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 51.94 kB / 327.9 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1316, allocations: 46.62 MB / 374.5 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.005762/0.1374, allocations: 2.451 MB / 376.9 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002431/0.1399, allocations: 0.7724 MB / 377.7 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003714/0.1403, allocations: 7.938 kB / 377.7 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002564/0.1406, allocations: 39.59 kB / 377.7 MB, free: 1.301 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004986/0.1411, allocations: 99.11 kB / 377.8 MB, free: 1.203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005929/0.1417, allocations: 127.8 kB / 378 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007416/0.1425, allocations: 466.2 kB / 378.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.1428, allocations: 100.9 kB / 378.5 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004877/0.1433, allocations: 175.5 kB / 378.7 MB, free: 356 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000428/0.1437, allocations: 203.3 kB / 378.9 MB, free: 152 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.493e-05/0.1438, allocations: 40 kB / 378.9 MB, free: 112 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.1439, allocations: 36 kB / 379 MB, free: 76 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2599/0.4038, allocations: 91.52 kB / 379 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003197/0.4042, allocations: 177.4 kB / 379.2 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006301/0.4048, allocations: 405.9 kB / 379.6 MB, free: 10.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.4049, allocations: 3.375 kB / 379.6 MB, free: 10.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4049, allocations: 0 / 379.6 MB, free: 10.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.4049, allocations: 2.125 kB / 379.6 MB, free: 10.18 MB / 318.1 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.001542/0.4064, allocations: 0.6907 MB / 380.3 MB, free: 9.734 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.4065, allocations: 13.09 kB / 380.3 MB, free: 9.734 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.239e-05/0.4066, allocations: 34.62 kB / 380.4 MB, free: 9.719 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004435/0.407, allocations: 274.4 kB / 380.6 MB, free: 9.492 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.4072, allocations: 84.61 kB / 380.7 MB, free: 9.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.822e-05/0.4072, allocations: 31.86 kB / 380.7 MB, free: 9.426 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009198/0.4082, allocations: 379.3 kB / 381.1 MB, free: 9.363 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.4082, allocations: 12.06 kB / 381.1 MB, free: 9.359 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.4082, allocations: 9.375 kB / 381.1 MB, free: 9.359 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.4083, allocations: 9.188 kB / 381.1 MB, free: 9.359 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/0.4095, allocations: 391.7 kB / 381.5 MB, free: 9.355 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.4111, allocations: 0.9531 MB / 382.5 MB, free: 8.875 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.4123, allocations: 405.7 kB / 382.9 MB, free: 8.801 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006176/0.4129, allocations: 216.5 kB / 383.1 MB, free: 8.773 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.4129, allocations: 7.547 kB / 383.1 MB, free: 8.773 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.413, allocations: 40.5 kB / 383.1 MB, free: 8.734 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 2.245e-06/0.413, allocations: 4 kB / 383.1 MB, free: 8.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=38): time 0.004858/0.4178, allocations: 2.325 MB / 385.5 MB, free: 7.379 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.4179, allocations: 110.4 kB / 385.6 MB, free: 7.254 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.4182, allocations: 206.6 kB / 385.8 MB, free: 7.152 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.4182, allocations: 31.52 kB / 385.8 MB, free: 7.121 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.406e-05/0.4183, allocations: 154.9 kB / 386 MB, free: 6.988 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.4184, allocations: 145.5 kB / 386.1 MB, free: 6.875 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.4186, allocations: 74.58 kB / 386.2 MB, free: 6.832 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.609e-05/0.4186, allocations: 337.2 kB / 386.5 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/0.419, allocations: 105.5 kB / 386.6 MB, free: 6.477 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003299/0.4193, allocations: 168.2 kB / 386.8 MB, free: 6.387 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006167/0.4199, allocations: 294.3 kB / 387.1 MB, free: 6.246 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4199, allocations: 1.344 kB / 387.1 MB, free: 6.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007958/0.4207, allocations: 367.3 kB / 387.4 MB, free: 6.109 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.4208, allocations: 10.39 kB / 387.4 MB, free: 6.105 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.4208, allocations: 5.062 kB / 387.4 MB, free: 6.102 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.4208, allocations: 3.562 kB / 387.4 MB, free: 6.102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007237/0.4215, allocations: 147.4 kB / 387.6 MB, free: 6.094 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.4216, allocations: 6.719 kB / 387.6 MB, free: 6.094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.4218, allocations: 27.09 kB / 387.6 MB, free: 6.086 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.4218, allocations: 13.75 kB / 387.6 MB, free: 6.082 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001255/0.422, allocations: 146.7 kB / 387.8 MB, free: 5.945 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.574e-05/0.4221, allocations: 26.55 kB / 387.8 MB, free: 5.934 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.941e-05/0.4222, allocations: 36.62 kB / 387.8 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.4222, allocations: 5 kB / 387.8 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/0.4222, allocations: 5.062 kB / 387.8 MB, free: 5.895 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.4222, allocations: 3.047 kB / 387.8 MB, free: 5.895 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002296/0.4245, allocations: 1.339 MB / 389.2 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.4245, allocations: 2.219 kB / 389.2 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008801/0.4254, allocations: 170.9 kB / 389.3 MB, free: 5.039 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.4254, allocations: 7.281 kB / 389.4 MB, free: 5.035 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.4255, allocations: 12.16 kB / 389.4 MB, free: 5.031 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.4255, allocations: 5.203 kB / 389.4 MB, free: 5.031 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.4255, allocations: 8.812 kB / 389.4 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.4275, allocations: 0.9538 MB / 390.3 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.4276, allocations: 136.9 kB / 390.5 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.197e-05/0.4277, allocations: 8.469 kB / 390.5 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004183/0.4281, allocations: 49.14 kB / 390.5 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.4282, allocations: 48.14 kB / 390.6 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.4283, allocations: 15.62 kB / 390.6 MB, free: 4.352 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.4284, allocations: 151.1 kB / 390.7 MB, free: 4.254 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4284, allocations: 0 / 390.7 MB, free: 4.254 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005024/0.4289, allocations: 79.03 kB / 390.8 MB, free: 4.246 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001467/0.4291, allocations: 112.5 kB / 390.9 MB, free: 4.152 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001137/0.4302, allocations: 374.6 kB / 391.3 MB, free: 4.062 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.4303, allocations: 0 / 391.3 MB, free: 4.062 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007226/0.431, allocations: 252.8 kB / 391.5 MB, free: 4.004 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007307/0.4317, allocations: 72.7 kB / 391.6 MB, free: 3.973 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005131/0.4369, allocations: 1.43 MB / 393 MB, free: 3.328 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.4372, allocations: 0.7675 MB / 393.8 MB, free: 2.621 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002497/0.4374, allocations: 39.31 kB / 393.8 MB, free: 2.613 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.4376, allocations: 32.5 kB / 393.9 MB, free: 2.609 MB / 318.1 MB Notification: Performance of SimCode: time 8.61e-07/0.4376, allocations: 0 / 393.9 MB, free: 2.609 MB / 318.1 MB Notification: Performance of Templates: time 0.009854/0.4474, allocations: 4.345 MB / 398.2 MB, free: 1.668 MB / 318.1 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)