Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002423/0.002423, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.989/1.989, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 78.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.785e-05/3.812e-05, allocations: 3.984 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1321, allocations: 47.58 MB / 369.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4923/0.6245, allocations: 77.95 MB / 447 MB, free: 15.21 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.6248, allocations: 66.83 kB / 447.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03742/0.6622, allocations: 7.655 MB / 454.8 MB, free: 8.715 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.6623, allocations: 0 / 454.8 MB, free: 8.715 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.516e-05/0.6623, allocations: 11.98 kB / 454.8 MB, free: 8.703 MB / 330.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.002064/0.6644, allocations: 0.627 MB / 455.4 MB, free: 8.051 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.6645, allocations: 8.031 kB / 455.4 MB, free: 8.043 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.6646, allocations: 35.62 kB / 455.4 MB, free: 8.008 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004538/0.6651, allocations: 252.6 kB / 455.7 MB, free: 7.742 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005918/0.6657, allocations: 137 kB / 455.8 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.434e-05/0.6658, allocations: 29.72 kB / 455.9 MB, free: 7.586 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008073/0.6666, allocations: 317.8 kB / 456.2 MB, free: 7.352 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.6667, allocations: 4 kB / 456.2 MB, free: 7.348 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.99e-05/0.6667, allocations: 11.06 kB / 456.2 MB, free: 7.344 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.6668, allocations: 4 kB / 456.2 MB, free: 7.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008058/0.6676, allocations: 270.8 kB / 456.4 MB, free: 7.164 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001993/0.6696, allocations: 0.9861 MB / 457.4 MB, free: 6.301 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008562/0.6705, allocations: 323.2 kB / 457.7 MB, free: 6.047 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004117/0.6709, allocations: 156 kB / 457.9 MB, free: 5.941 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.488e-05/0.671, allocations: 4 kB / 457.9 MB, free: 5.938 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.671, allocations: 38.06 kB / 457.9 MB, free: 5.895 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 3.897e-06/0.671, allocations: 4 kB / 457.9 MB, free: 5.891 MB / 330.7 MB Notification: Performance of matching and sorting (n=38): time 0.003662/0.6747, allocations: 1.852 MB / 459.8 MB, free: 4.012 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.476e-05/0.6748, allocations: 109.9 kB / 459.9 MB, free: 3.883 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.6751, allocations: 178.2 kB / 460.1 MB, free: 3.711 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.79e-05/0.6752, allocations: 33.64 kB / 460.1 MB, free: 3.672 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.6753, allocations: 207 kB / 460.3 MB, free: 3.469 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.6754, allocations: 134 kB / 460.4 MB, free: 3.336 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.6755, allocations: 12 kB / 460.5 MB, free: 3.324 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.6756, allocations: 338.8 kB / 460.8 MB, free: 2.984 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003812/0.676, allocations: 116.9 kB / 460.9 MB, free: 2.871 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004443/0.6765, allocations: 185.4 kB / 461.1 MB, free: 2.668 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/0.6769, allocations: 118.1 kB / 461.2 MB, free: 2.555 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.6769, allocations: 4 kB / 461.2 MB, free: 2.551 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001031/0.6779, allocations: 357.3 kB / 461.6 MB, free: 2.195 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.678, allocations: 4 kB / 461.6 MB, free: 2.191 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.678, allocations: 0 / 461.6 MB, free: 2.191 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.678, allocations: 4 kB / 461.6 MB, free: 2.188 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.6794, allocations: 175.9 kB / 461.7 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.6794, allocations: 4 kB / 461.7 MB, free: 2.012 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004421/0.6799, allocations: 23.98 kB / 461.8 MB, free: 1.988 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.6799, allocations: 12 kB / 461.8 MB, free: 1.977 MB / 330.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 0.0001511/0.6801, allocations: 132.8 kB / 461.9 MB, free: 1.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.6802, allocations: 31.62 kB / 461.9 MB, free: 1.809 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.6804, allocations: 25.66 kB / 462 MB, free: 1.781 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.6804, allocations: 4 kB / 462 MB, free: 1.777 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.6804, allocations: 3.953 kB / 462 MB, free: 1.773 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.6804, allocations: 7.984 kB / 462 MB, free: 1.766 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002489/0.6829, allocations: 1.206 MB / 463.2 MB, free: 476 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.683, allocations: 4.031 kB / 463.2 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001729/0.6847, allocations: 203.8 kB / 463.4 MB, free: 268 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.641e-05/0.6848, allocations: 7.984 kB / 463.4 MB, free: 260 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-05/0.6848, allocations: 12 kB / 463.4 MB, free: 248 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.513e-06/0.6848, allocations: 3.938 kB / 463.4 MB, free: 244 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.6848, allocations: 4 kB / 463.4 MB, free: 240 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/0.6864, allocations: 0.827 MB / 464.2 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002213/0.6866, allocations: 128.8 kB / 464.4 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.382e-05/0.6867, allocations: 19.94 kB / 464.4 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007701/0.6875, allocations: 60.08 kB / 464.4 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.6877, allocations: 36.03 kB / 464.5 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/0.6877, allocations: 23.94 kB / 464.5 MB, free: 15.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000192/0.6879, allocations: 151.1 kB / 464.6 MB, free: 14.89 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6879, allocations: 4 kB / 464.6 MB, free: 14.89 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006235/0.6886, allocations: 88 kB / 464.7 MB, free: 14.8 MB / 346.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.0001817/0.6888, allocations: 107.1 kB / 464.8 MB, free: 14.69 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007343/0.6895, allocations: 263.6 kB / 465.1 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.6895, allocations: 4 kB / 465.1 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005222/0.6901, allocations: 168.4 kB / 465.3 MB, free: 14.26 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008119/0.6909, allocations: 69.42 kB / 465.3 MB, free: 14.19 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008695/0.6996, allocations: 1.378 MB / 466.7 MB, free: 12.76 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/0.7001, allocations: 0.7762 MB / 467.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.7004, allocations: 31.42 kB / 467.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of SimCode: time 1.232e-06/0.7004, allocations: 0 / 467.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of Templates: time 0.00919/0.7096, allocations: 3.74 MB / 471.3 MB, free: 8.188 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches