Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Mechanics.Rotational.Examples.Backlash") translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_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.008168/0.008169, allocations: 100.6 kB / 15.73 MB, free: 5.492 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.001269/0.00127, allocations: 186.6 kB / 16.67 MB, free: 5.422 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.553/1.553, allocations: 205.1 MB / 222.5 MB, free: 12.21 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.002313/0.002313, allocations: 51.91 kB / 326.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1364, allocations: 46.62 MB / 373.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.004585/0.1411, allocations: 2.439 MB / 375.6 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.1431, allocations: 0.7763 MB / 376.4 MB, free: 1.332 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003115/0.1435, allocations: 7.938 kB / 376.4 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002665/0.1438, allocations: 47.58 kB / 376.4 MB, free: 1.277 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004696/0.1442, allocations: 107.1 kB / 376.5 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000529/0.1448, allocations: 123.8 kB / 376.6 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007095/0.1455, allocations: 470.2 kB / 377.1 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002774/0.1458, allocations: 92.86 kB / 377.2 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004273/0.1462, allocations: 187.5 kB / 377.4 MB, free: 320 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003621/0.1466, allocations: 211.2 kB / 377.6 MB, free: 108 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.312e-05/0.1467, allocations: 36 kB / 377.6 MB, free: 72 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.1468, allocations: 40 kB / 377.7 MB, free: 32 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2327/0.3795, allocations: 77.22 kB / 377.7 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000292/0.3799, allocations: 179.5 kB / 377.9 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005992/0.3805, allocations: 411.2 kB / 378.3 MB, free: 10.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3805, allocations: 0 / 378.3 MB, free: 10.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3805, allocations: 0 / 378.3 MB, free: 10.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.3805, allocations: 1.375 kB / 378.3 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.001429/0.382, allocations: 0.6809 MB / 379 MB, free: 9.742 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.382, allocations: 10.34 kB / 379 MB, free: 9.742 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.669e-05/0.3821, allocations: 36.84 kB / 379 MB, free: 9.727 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.3825, allocations: 280 kB / 379.3 MB, free: 9.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-05/0.3826, allocations: 85.52 kB / 379.4 MB, free: 9.438 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.109e-05/0.3827, allocations: 27.33 kB / 379.4 MB, free: 9.438 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008557/0.3835, allocations: 381.4 kB / 379.8 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.3836, allocations: 1.375 kB / 379.8 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/0.3836, allocations: 15.19 kB / 379.8 MB, free: 9.371 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.3836, allocations: 6.875 kB / 379.8 MB, free: 9.371 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.3848, allocations: 390.3 kB / 380.2 MB, free: 9.371 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.3863, allocations: 0.9575 MB / 381.2 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.3874, allocations: 401.8 kB / 381.6 MB, free: 8.805 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005927/0.388, allocations: 219.8 kB / 381.8 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.388, allocations: 6.875 kB / 381.8 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.3881, allocations: 40.5 kB / 381.8 MB, free: 8.738 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.784e-06/0.3881, allocations: 448 / 381.8 MB, free: 8.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=38): time 0.004277/0.3924, allocations: 2.314 MB / 384.1 MB, free: 7.395 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.3924, allocations: 108 kB / 384.2 MB, free: 7.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.3926, allocations: 206.2 kB / 384.4 MB, free: 7.168 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.3927, allocations: 31.92 kB / 384.5 MB, free: 7.137 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.852e-05/0.3928, allocations: 150.2 kB / 384.6 MB, free: 7.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.536e-05/0.3929, allocations: 137.5 kB / 384.7 MB, free: 6.914 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.393, allocations: 75.11 kB / 384.8 MB, free: 6.871 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.776e-05/0.3931, allocations: 337.7 kB / 385.2 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003027/0.3934, allocations: 110.1 kB / 385.3 MB, free: 6.512 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003256/0.3937, allocations: 167.5 kB / 385.4 MB, free: 6.426 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005723/0.3943, allocations: 292.6 kB / 385.7 MB, free: 6.281 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3943, allocations: 0.7031 kB / 385.7 MB, free: 6.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007613/0.3951, allocations: 369.7 kB / 386.1 MB, free: 6.141 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.3951, allocations: 10.53 kB / 386.1 MB, free: 6.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.3951, allocations: 5.125 kB / 386.1 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.3951, allocations: 3.75 kB / 386.1 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006701/0.3958, allocations: 149.8 kB / 386.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.3958, allocations: 3.719 kB / 386.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.3961, allocations: 31.39 kB / 386.3 MB, free: 6.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.3961, allocations: 13.16 kB / 386.3 MB, free: 6.113 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.0001152/0.3962, allocations: 146.6 kB / 386.4 MB, free: 5.977 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.839e-05/0.3963, allocations: 27.27 kB / 386.5 MB, free: 5.965 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.627e-05/0.3964, allocations: 40.72 kB / 386.5 MB, free: 5.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.3964, allocations: 4.938 kB / 386.5 MB, free: 5.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.3964, allocations: 0 / 386.5 MB, free: 5.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3964, allocations: 3.266 kB / 386.5 MB, free: 5.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/0.3987, allocations: 1.339 MB / 387.8 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.3987, allocations: 2.516 kB / 387.8 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008113/0.3995, allocations: 170.6 kB / 388 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.659e-06/0.3995, allocations: 4.109 kB / 388 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.756e-05/0.3996, allocations: 19.8 kB / 388 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.3996, allocations: 4.047 kB / 388 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.3996, allocations: 9.812 kB / 388 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.4014, allocations: 0.944 MB / 389 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.4015, allocations: 123.6 kB / 389.1 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.28e-05/0.4016, allocations: 21.16 kB / 389.1 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003947/0.402, allocations: 43.91 kB / 389.2 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.4021, allocations: 40.83 kB / 389.2 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/0.4021, allocations: 11.19 kB / 389.2 MB, free: 4.398 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.4023, allocations: 154.9 kB / 389.4 MB, free: 4.297 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4023, allocations: 1.25 kB / 389.4 MB, free: 4.297 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004773/0.4028, allocations: 82.62 kB / 389.5 MB, free: 4.285 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.0001163/0.4029, allocations: 113.7 kB / 389.6 MB, free: 4.188 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009478/0.4038, allocations: 366.6 kB / 389.9 MB, free: 4.105 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.4039, allocations: 0 / 389.9 MB, free: 4.105 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006047/0.4045, allocations: 259.8 kB / 390.2 MB, free: 4.043 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006696/0.4051, allocations: 71.45 kB / 390.2 MB, free: 4.012 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004665/0.4098, allocations: 1.435 MB / 391.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.4101, allocations: 0.7686 MB / 392.5 MB, free: 2.66 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002013/0.4103, allocations: 40.78 kB / 392.5 MB, free: 2.652 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.4105, allocations: 32.42 kB / 392.5 MB, free: 2.648 MB / 318.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4105, allocations: 0 / 392.5 MB, free: 2.648 MB / 318.1 MB Notification: Performance of Templates: time 0.01031/0.4208, allocations: 4.34 MB / 396.9 MB, free: 1.695 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1)