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.0009703/0.0009704, allocations: 181.9 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 223.2 MB / 240.3 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009355/0.0009354, allocations: 102.4 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002832/0.0002826, allocations: 4 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2865, allocations: 50.4 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1012/0.3878, allocations: 78.93 MB / 480.4 MB, free: 1.574 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003341/0.3882, allocations: 71.95 kB / 480.5 MB, free: 1.504 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0407/0.4289, allocations: 7.782 MB / 488.3 MB, free: 9.711 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.429, allocations: 0 / 488.3 MB, free: 9.711 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.254e-05/0.429, allocations: 4 kB / 488.3 MB, free: 9.707 MB / 362.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.002118/0.4311, allocations: 0.6473 MB / 488.9 MB, free: 9.012 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.4312, allocations: 12.03 kB / 488.9 MB, free: 9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.4313, allocations: 35.62 kB / 489 MB, free: 8.965 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004638/0.4318, allocations: 254.4 kB / 489.2 MB, free: 8.676 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005893/0.4324, allocations: 131.9 kB / 489.3 MB, free: 8.535 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.4325, allocations: 27.94 kB / 489.4 MB, free: 8.508 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.4341, allocations: 416 kB / 489.8 MB, free: 8.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/0.4342, allocations: 3.906 kB / 489.8 MB, free: 8.086 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.896e-05/0.4343, allocations: 15.98 kB / 489.8 MB, free: 8.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.4343, allocations: 7.938 kB / 489.8 MB, free: 8.062 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/0.4367, allocations: 460.7 kB / 490.3 MB, free: 7.613 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002275/0.4389, allocations: 0.9789 MB / 491.2 MB, free: 6.574 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/0.441, allocations: 452 kB / 491.7 MB, free: 6.105 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.4411, allocations: 4 kB / 491.7 MB, free: 6.102 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/0.4411, allocations: 46.55 kB / 491.7 MB, free: 6.047 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 3.857e-06/0.4412, allocations: 0 / 491.7 MB, free: 6.047 MB / 362.7 MB Notification: Performance of matching and sorting (n=38): time 0.009087/0.4503, allocations: 2.506 MB / 494.2 MB, free: 3.277 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.882e-05/0.4504, allocations: 106.8 kB / 494.3 MB, free: 3.148 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003065/0.4507, allocations: 182.2 kB / 494.5 MB, free: 2.961 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.056e-05/0.4508, allocations: 33.7 kB / 494.6 MB, free: 2.922 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.451, allocations: 144.7 kB / 494.7 MB, free: 2.777 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.4512, allocations: 138 kB / 494.8 MB, free: 2.641 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.4512, allocations: 8 kB / 494.8 MB, free: 2.633 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.4514, allocations: 346.8 kB / 495.2 MB, free: 2.285 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005609/0.452, allocations: 112.8 kB / 495.3 MB, free: 2.176 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006243/0.4527, allocations: 173.5 kB / 495.5 MB, free: 1.984 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006012/0.4533, allocations: 130.5 kB / 495.6 MB, free: 1.859 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4533, allocations: 0 / 495.6 MB, free: 1.859 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001509/0.4548, allocations: 384.1 kB / 496 MB, free: 1.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.4549, allocations: 4 kB / 496 MB, free: 1.477 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.4549, allocations: 7.984 kB / 496 MB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.4549, allocations: 4 kB / 496 MB, free: 1.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/0.4563, allocations: 167.9 kB / 496.1 MB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.4563, allocations: 4 kB / 496.1 MB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004379/0.4568, allocations: 31.92 kB / 496.2 MB, free: 1.266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.659e-05/0.4568, allocations: 16 kB / 496.2 MB, free: 1.25 MB / 362.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002673/0.4571, allocations: 156.6 kB / 496.3 MB, free: 1.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.4573, allocations: 23.72 kB / 496.4 MB, free: 1.066 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.4574, allocations: 33.52 kB / 496.4 MB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.4574, allocations: 4 kB / 496.4 MB, free: 1.031 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.4575, allocations: 4 kB / 496.4 MB, free: 1.027 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.4575, allocations: 3.984 kB / 496.4 MB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004353/0.4619, allocations: 1.393 MB / 497.8 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.4619, allocations: 0 / 497.8 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001711/0.4636, allocations: 204 kB / 498 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.488e-05/0.4637, allocations: 4 kB / 498 MB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-05/0.4637, allocations: 15.98 kB / 498 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.397e-06/0.4638, allocations: 3.938 kB / 498 MB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.4638, allocations: 4 kB / 498 MB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003719/0.4675, allocations: 1.133 MB / 499.2 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002551/0.4678, allocations: 132.8 kB / 499.3 MB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.06e-05/0.4679, allocations: 8 kB / 499.3 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000704/0.4686, allocations: 63.95 kB / 499.4 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.4687, allocations: 39.89 kB / 499.4 MB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.807e-05/0.4688, allocations: 23.92 kB / 499.4 MB, free: 13.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002054/0.469, allocations: 152.6 kB / 499.6 MB, free: 13.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.104e-06/0.469, allocations: 0 / 499.6 MB, free: 13.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007636/0.4698, allocations: 83.94 kB / 499.7 MB, free: 13.57 MB / 378.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 () * 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 (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.0002027/0.47, allocations: 121.9 kB / 499.8 MB, free: 13.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001535/0.4716, allocations: 396.6 kB / 0.4884 GB, free: 13.06 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4716, allocations: 3.938 kB / 0.4884 GB, free: 13.06 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.4727, allocations: 284 kB / 0.4887 GB, free: 12.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007876/0.4735, allocations: 53.61 kB / 0.4888 GB, free: 12.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006631/0.4801, allocations: 1.745 MB / 0.4905 GB, free: 10.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.4805, allocations: 0.7763 MB / 0.4912 GB, free: 10.13 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002713/0.4808, allocations: 38.95 kB / 0.4913 GB, free: 10.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.481, allocations: 31.42 kB / 0.4913 GB, free: 10.06 MB / 378.7 MB Notification: Performance of SimCode: time 6.82e-07/0.481, allocations: 4 kB / 0.4913 GB, free: 10.05 MB / 378.7 MB Notification: Performance of Templates: time 0.01071/0.4917, allocations: 3.695 MB / 0.4949 GB, free: 6.391 MB / 378.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