Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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.0.0_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.0.0_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 175.4 kB / 8.344 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 221.5 MB / 230.3 MB, free: 7.504 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008478/0.0008478, allocations: 84.89 kB / 281.2 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.774e-05/1.779e-05, allocations: 4 kB / 337 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1197, allocations: 50.42 MB / 387.5 MB, free: 7.547 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3168/0.4366, allocations: 78.18 MB / 465.6 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.4369, allocations: 67.97 kB / 465.7 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0223/0.4593, allocations: 7.734 MB / 473.4 MB, free: 8.832 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4593, allocations: 0 / 473.4 MB, free: 8.832 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.4593, allocations: 4 kB / 473.4 MB, free: 8.828 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.00123/0.4606, allocations: 0.6239 MB / 474.1 MB, free: 8.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.4606, allocations: 12.03 kB / 474.1 MB, free: 8.148 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.045e-05/0.4607, allocations: 35.62 kB / 474.1 MB, free: 8.113 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003572/0.4611, allocations: 258.4 kB / 474.4 MB, free: 7.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003611/0.4614, allocations: 127.8 kB / 474.5 MB, free: 7.684 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.363e-05/0.4615, allocations: 19.94 kB / 474.5 MB, free: 7.664 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004804/0.462, allocations: 257 kB / 474.8 MB, free: 7.414 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004737/0.4625, allocations: 283 kB / 475 MB, free: 7.121 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.4625, allocations: 7.906 kB / 475 MB, free: 7.113 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/0.4625, allocations: 0 / 475 MB, free: 7.113 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.4626, allocations: 8 kB / 475 MB, free: 7.105 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.4638, allocations: 0.9055 MB / 476 MB, free: 6.156 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004516/0.4643, allocations: 291.8 kB / 476.2 MB, free: 5.844 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.4645, allocations: 151 kB / 476.4 MB, free: 5.688 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.4646, allocations: 7.938 kB / 476.4 MB, free: 5.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.4646, allocations: 46.61 kB / 476.4 MB, free: 5.625 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 1.753e-06/0.4646, allocations: 4 kB / 476.4 MB, free: 5.621 MB / 346.7 MB Notification: Performance of matching and sorting (n=38): time 0.002323/0.4669, allocations: 1.753 MB / 478.2 MB, free: 3.605 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/0.467, allocations: 106.8 kB / 478.3 MB, free: 3.477 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.4672, allocations: 166.5 kB / 478.5 MB, free: 3.301 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.4673, allocations: 26.36 kB / 478.5 MB, free: 3.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.4674, allocations: 148.9 kB / 478.6 MB, free: 3.117 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.4675, allocations: 137.9 kB / 478.8 MB, free: 2.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.06e-05/0.4675, allocations: 0 / 478.8 MB, free: 2.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.4677, allocations: 334.8 kB / 479.1 MB, free: 2.645 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.4679, allocations: 116.9 kB / 479.2 MB, free: 2.531 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.4681, allocations: 172.6 kB / 479.4 MB, free: 2.344 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.4683, allocations: 110.7 kB / 479.5 MB, free: 2.238 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.4683, allocations: 0 / 479.5 MB, free: 2.238 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005468/0.4688, allocations: 349.5 kB / 479.8 MB, free: 1.895 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.4689, allocations: 9.25 kB / 479.8 MB, free: 1.887 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.4689, allocations: 0 / 479.8 MB, free: 1.887 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.4689, allocations: 4 kB / 479.8 MB, free: 1.883 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007531/0.4697, allocations: 167.9 kB / 480 MB, free: 1.719 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.4697, allocations: 4 kB / 480 MB, free: 1.715 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.4699, allocations: 23.97 kB / 480 MB, free: 1.691 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.4699, allocations: 8 kB / 480 MB, free: 1.684 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 0.000117/0.4701, allocations: 118.9 kB / 480.2 MB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.4702, allocations: 39.56 kB / 480.2 MB, free: 1.523 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.674e-05/0.4702, allocations: 21.97 kB / 480.2 MB, free: 1.508 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.4703, allocations: 7.984 kB / 480.2 MB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4703, allocations: 4 kB / 480.2 MB, free: 1.496 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.4703, allocations: 0 / 480.2 MB, free: 1.496 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.4717, allocations: 1.121 MB / 481.4 MB, free: 300 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.4717, allocations: 0 / 481.4 MB, free: 300 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008905/0.4726, allocations: 208 kB / 481.6 MB, free: 92 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.4727, allocations: 4 kB / 481.6 MB, free: 88 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.4727, allocations: 8 kB / 481.6 MB, free: 80 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-05/0.4727, allocations: 11.89 kB / 481.6 MB, free: 68 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.4727, allocations: 7.938 kB / 481.6 MB, free: 60 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009514/0.4737, allocations: 0.8065 MB / 482.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.4738, allocations: 124.8 kB / 482.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.022e-05/0.4739, allocations: 8.109 kB / 482.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004326/0.4743, allocations: 55.95 kB / 482.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.4744, allocations: 39.94 kB / 482.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.4745, allocations: 16 kB / 482.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001149/0.4746, allocations: 127.3 kB / 482.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4746, allocations: 0 / 482.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000439/0.4751, allocations: 68 kB / 482.8 MB, free: 14.71 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.0002004/0.4753, allocations: 119 kB / 482.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000444/0.4757, allocations: 231.9 kB / 483.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.4757, allocations: 96 / 483.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002589/0.476, allocations: 171.7 kB / 483.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005226/0.4765, allocations: 54.08 kB / 483.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004443/0.481, allocations: 1.321 MB / 484.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.4813, allocations: 0.7799 MB / 485.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001855/0.4815, allocations: 35.28 kB / 485.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.4816, allocations: 35.42 kB / 485.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4816, allocations: 0 / 485.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of Templates: time 0.007149/0.4888, allocations: 3.479 MB / 489 MB, free: 8.445 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches