Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash") translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001843/0.001843, allocations: 118.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002036/0.002036, allocations: 215.7 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.425/1.425, allocations: 227.7 MB / 247.9 MB, free: 10.2 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 63.91 kB / 359.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2364, allocations: 50.54 MB / 410.2 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.00363/0.2401, allocations: 2.456 MB / 412.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.2414, allocations: 0.7713 MB / 413.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.2415, allocations: 7.938 kB / 413.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.2417, allocations: 47.58 kB / 413.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.2419, allocations: 107.1 kB / 413.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000328/0.2422, allocations: 119.8 kB / 413.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00048/0.2427, allocations: 474.2 kB / 414.2 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.2429, allocations: 64.89 kB / 414.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.2431, allocations: 187.5 kB / 414.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.2433, allocations: 207.3 kB / 414.6 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.983e-05/0.2434, allocations: 40 kB / 414.7 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.49e-05/0.2434, allocations: 36 kB / 414.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.749e-05/0.2435, allocations: 95.66 kB / 414.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.2437, allocations: 163.3 kB / 414.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004395/0.2441, allocations: 418.3 kB / 415.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2441, allocations: 0 / 415.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2441, allocations: 0 / 415.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.2441, allocations: 0 / 415.3 MB, free: 12.27 MB / 334.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.001669/0.2458, allocations: 0.6936 MB / 416 MB, free: 11.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.2458, allocations: 12.03 kB / 416.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.734e-05/0.2459, allocations: 32.75 kB / 416.1 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.2463, allocations: 268.8 kB / 416.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.2464, allocations: 96.2 kB / 416.4 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.435e-05/0.2465, allocations: 24 kB / 416.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009424/0.2475, allocations: 387.1 kB / 416.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.2475, allocations: 3.984 kB / 416.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.755e-05/0.2475, allocations: 12 kB / 416.9 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.2475, allocations: 4 kB / 416.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.2488, allocations: 395.5 kB / 417.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.2501, allocations: 0.9662 MB / 418.2 MB, free: 9.234 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.2512, allocations: 395.6 kB / 418.6 MB, free: 8.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006421/0.2519, allocations: 206.4 kB / 418.8 MB, free: 8.609 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.2519, allocations: 8 kB / 418.8 MB, free: 8.602 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.2519, allocations: 34.56 kB / 418.8 MB, free: 8.559 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.844e-06/0.2519, allocations: 0 / 418.8 MB, free: 8.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=38): time 0.005127/0.2571, allocations: 2.329 MB / 421.2 MB, free: 5.969 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.256e-05/0.2572, allocations: 111 kB / 421.3 MB, free: 5.836 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.2574, allocations: 207.2 kB / 421.5 MB, free: 5.625 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/0.2574, allocations: 33.64 kB / 421.5 MB, free: 5.586 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.2575, allocations: 152.8 kB / 421.7 MB, free: 5.434 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.2577, allocations: 134.8 kB / 421.8 MB, free: 5.301 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.2578, allocations: 82.06 kB / 421.9 MB, free: 5.215 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.258, allocations: 330.8 kB / 422.2 MB, free: 4.883 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003302/0.2583, allocations: 108.8 kB / 422.3 MB, free: 4.773 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/0.2587, allocations: 177.3 kB / 422.5 MB, free: 4.586 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006665/0.2593, allocations: 288.2 kB / 422.8 MB, free: 4.289 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2593, allocations: 0 / 422.8 MB, free: 4.289 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008416/0.2602, allocations: 365.2 kB / 423.1 MB, free: 3.926 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.2602, allocations: 8.094 kB / 423.1 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.2602, allocations: 4 kB / 423.1 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.2602, allocations: 7.984 kB / 423.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007213/0.2609, allocations: 147.8 kB / 423.3 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2609, allocations: 3.938 kB / 423.3 MB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.2612, allocations: 31.97 kB / 423.3 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.2612, allocations: 12 kB / 423.3 MB, free: 3.715 MB / 334.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.0001607/0.2613, allocations: 153.7 kB / 423.5 MB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.2615, allocations: 35.75 kB / 423.5 MB, free: 3.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.283e-05/0.2615, allocations: 29.52 kB / 423.5 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2615, allocations: 4 kB / 423.5 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.2615, allocations: 0 / 423.5 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.2615, allocations: 4 kB / 423.6 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002433/0.264, allocations: 1.331 MB / 424.9 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.264, allocations: 0 / 424.9 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008713/0.2648, allocations: 168 kB / 425 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.2649, allocations: 4 kB / 425.1 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.263e-05/0.2649, allocations: 19.92 kB / 425.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/0.2649, allocations: 7.938 kB / 425.1 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.2649, allocations: 4 kB / 425.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/0.267, allocations: 0.9478 MB / 426 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.2671, allocations: 132.9 kB / 426.2 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.774e-05/0.2672, allocations: 11.94 kB / 426.2 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004336/0.2676, allocations: 51.94 kB / 426.2 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.818e-05/0.2677, allocations: 36.05 kB / 426.3 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.2678, allocations: 19.92 kB / 426.3 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001386/0.2679, allocations: 148.6 kB / 426.4 MB, free: 472 kB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2679, allocations: 0 / 426.4 MB, free: 472 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.000462/0.2684, allocations: 84 kB / 426.5 MB, free: 388 kB / 334.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.0001497/0.2685, allocations: 118.3 kB / 426.6 MB, free: 260 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.2696, allocations: 365.9 kB / 427 MB, free: 15.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2696, allocations: 0 / 427 MB, free: 15.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006913/0.2702, allocations: 244 kB / 427.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006986/0.2709, allocations: 64.56 kB / 427.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005167/0.2761, allocations: 1.44 MB / 428.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.2766, allocations: 0.772 MB / 429.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001717/0.2767, allocations: 42.95 kB / 429.5 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.2769, allocations: 35.42 kB / 429.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of SimCode: time 1.042e-06/0.2769, allocations: 0 / 429.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of Templates: time 0.009195/0.286, allocations: 4.367 MB / 433.9 MB, free: 8.895 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches