Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001142/0.001142, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.621/1.621, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009329/0.0009326, allocations: 98.16 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.34e-05/1.343e-05, allocations: 4.219 kB / 343.7 MB, free: 8.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1081, allocations: 51.48 MB / 395.2 MB, free: 4.754 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3268/0.435, allocations: 79 MB / 474.2 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002006/0.4352, allocations: 64.97 kB / 474.2 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02036/0.4556, allocations: 7.781 MB / 482 MB, free: 7.695 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4557, allocations: 0 / 482 MB, free: 7.695 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.143e-05/0.4557, allocations: 5.031 kB / 482 MB, free: 7.691 MB / 346.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.001241/0.457, allocations: 0.6308 MB / 482.6 MB, free: 7.039 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.457, allocations: 8.031 kB / 482.7 MB, free: 7.031 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.444e-05/0.4571, allocations: 35.62 kB / 482.7 MB, free: 6.996 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.4574, allocations: 251.1 kB / 482.9 MB, free: 6.734 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003421/0.4578, allocations: 127.5 kB / 483.1 MB, free: 6.602 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.892e-05/0.4578, allocations: 16 kB / 483.1 MB, free: 6.586 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003964/0.4582, allocations: 255.3 kB / 483.3 MB, free: 6.422 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004028/0.4587, allocations: 280.5 kB / 483.6 MB, free: 6.207 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.4587, allocations: 7.906 kB / 483.6 MB, free: 6.199 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.4587, allocations: 0 / 483.6 MB, free: 6.199 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.4587, allocations: 10.94 kB / 483.6 MB, free: 6.191 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.4598, allocations: 0.9161 MB / 484.5 MB, free: 5.406 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003608/0.4602, allocations: 293.6 kB / 484.8 MB, free: 5.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.4603, allocations: 150.2 kB / 485 MB, free: 5.074 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.4604, allocations: 7.125 kB / 485 MB, free: 5.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.458e-05/0.4604, allocations: 34.56 kB / 485 MB, free: 5.027 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 1.412e-06/0.4604, allocations: 0 / 485 MB, free: 5.027 MB / 346.7 MB Notification: Performance of matching and sorting (n=38): time 0.001624/0.462, allocations: 1.766 MB / 486.8 MB, free: 3.207 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.4621, allocations: 106.8 kB / 486.9 MB, free: 3.078 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.4622, allocations: 155.8 kB / 487 MB, free: 2.934 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.4622, allocations: 25.7 kB / 487.1 MB, free: 2.902 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.076e-05/0.4623, allocations: 146.7 kB / 487.2 MB, free: 2.773 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.493e-05/0.4623, allocations: 135 kB / 487.3 MB, free: 2.656 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-05/0.4624, allocations: 4 kB / 487.3 MB, free: 2.652 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.517e-05/0.4625, allocations: 337.5 kB / 487.7 MB, free: 2.324 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.4626, allocations: 117.1 kB / 487.8 MB, free: 2.254 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.4628, allocations: 169.2 kB / 487.9 MB, free: 2.125 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.463, allocations: 115.5 kB / 488.1 MB, free: 2.055 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.463, allocations: 0 / 488.1 MB, free: 2.055 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004332/0.4634, allocations: 337.9 kB / 488.4 MB, free: 1.805 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.4634, allocations: 11.98 kB / 488.4 MB, free: 1.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.4634, allocations: 0 / 488.4 MB, free: 1.793 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.4635, allocations: 4 kB / 488.4 MB, free: 1.789 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006611/0.4641, allocations: 174.6 kB / 488.6 MB, free: 1.625 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.4641, allocations: 7.875 kB / 488.6 MB, free: 1.617 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.4643, allocations: 23.98 kB / 488.6 MB, free: 1.594 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.4644, allocations: 13.62 kB / 488.6 MB, free: 1.586 MB / 346.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 6.952e-05/0.4644, allocations: 112.9 kB / 488.7 MB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.818e-05/0.4645, allocations: 27.7 kB / 488.8 MB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.617e-05/0.4646, allocations: 28.08 kB / 488.8 MB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.4646, allocations: 4 kB / 488.8 MB, free: 1.426 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4646, allocations: 4 kB / 488.8 MB, free: 1.422 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.4646, allocations: 3.984 kB / 488.8 MB, free: 1.418 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.4657, allocations: 1.131 MB / 489.9 MB, free: 412 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.4657, allocations: 0 / 489.9 MB, free: 412 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008126/0.4665, allocations: 207.8 kB / 490.1 MB, free: 208 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.4666, allocations: 4 kB / 490.1 MB, free: 204 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.4666, allocations: 11.36 kB / 490.1 MB, free: 196 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.4666, allocations: 4 kB / 490.1 MB, free: 192 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4666, allocations: 7.938 kB / 490.2 MB, free: 184 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008363/0.4675, allocations: 0.8024 MB / 491 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.4676, allocations: 126.8 kB / 491.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.406e-05/0.4677, allocations: 4 kB / 491.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004164/0.4681, allocations: 59.94 kB / 491.1 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.4682, allocations: 51.09 kB / 491.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.4682, allocations: 15.98 kB / 491.2 MB, free: 15.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001029/0.4683, allocations: 120.8 kB / 491.3 MB, free: 15.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4683, allocations: 0 / 491.3 MB, free: 15.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004188/0.4688, allocations: 72 kB / 491.4 MB, free: 15.01 MB / 362.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.0001474/0.4689, allocations: 104.4 kB / 491.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003571/0.4693, allocations: 240.7 kB / 491.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4693, allocations: 4.188 kB / 491.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002418/0.4695, allocations: 158.9 kB / 491.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.47, allocations: 53.97 kB / 491.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004308/0.4744, allocations: 1.339 MB / 493.3 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.4748, allocations: 0.7721 MB / 494.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000178/0.475, allocations: 39.28 kB / 494.1 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.4751, allocations: 34.61 kB / 494.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4751, allocations: 0 / 494.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of Templates: time 0.006677/0.4818, allocations: 3.473 MB / 497.6 MB, free: 9.02 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches