Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001095/0.001095, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.524/1.524, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0009748/0.0009747, allocations: 98.92 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002644/0.0002644, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2581, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09785/0.356, allocations: 78.04 MB / 453.9 MB, free: 2.625 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001825/0.3562, allocations: 71.95 kB / 453.9 MB, free: 2.555 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02193/0.3781, allocations: 7.669 MB / 461.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3782, allocations: 0 / 461.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.001e-05/0.3782, allocations: 8 kB / 461.6 MB, free: 10.87 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.001401/0.3796, allocations: 0.6471 MB / 462.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.3797, allocations: 12.22 kB / 462.3 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.894e-05/0.3798, allocations: 31.72 kB / 462.3 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.3801, allocations: 264.7 kB / 462.5 MB, free: 9.836 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003636/0.3805, allocations: 135.9 kB / 462.7 MB, free: 9.691 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.237e-05/0.3806, allocations: 24 kB / 462.7 MB, free: 9.668 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008973/0.3815, allocations: 415.9 kB / 463.1 MB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.3815, allocations: 3.906 kB / 463.1 MB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.429e-05/0.3816, allocations: 12 kB / 463.1 MB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.3816, allocations: 4 kB / 463.1 MB, free: 9.227 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.3829, allocations: 456.8 kB / 463.6 MB, free: 8.781 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.3843, allocations: 0.9803 MB / 464.6 MB, free: 7.742 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009712/0.3853, allocations: 455.8 kB / 465 MB, free: 7.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.3853, allocations: 7.938 kB / 465 MB, free: 7.262 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.3854, allocations: 42.56 kB / 465 MB, free: 7.211 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 2.094e-06/0.3854, allocations: 0 / 465 MB, free: 7.211 MB / 346.7 MB Notification: Performance of matching and sorting (n=38): time 0.004863/0.3903, allocations: 2.517 MB / 467.6 MB, free: 4.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.165e-05/0.3904, allocations: 110.8 kB / 467.7 MB, free: 4.297 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.3906, allocations: 178.3 kB / 467.8 MB, free: 4.113 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.3906, allocations: 33.7 kB / 467.9 MB, free: 4.074 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.3908, allocations: 144.7 kB / 468 MB, free: 3.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.3909, allocations: 138 kB / 468.2 MB, free: 3.793 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.307e-05/0.3909, allocations: 8 kB / 468.2 MB, free: 3.785 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3911, allocations: 334.8 kB / 468.5 MB, free: 3.449 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/0.3914, allocations: 112.8 kB / 468.6 MB, free: 3.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/0.3917, allocations: 173.4 kB / 468.8 MB, free: 3.148 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.392, allocations: 127.9 kB / 468.9 MB, free: 3.023 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.392, allocations: 0 / 468.9 MB, free: 3.023 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008012/0.3929, allocations: 384 kB / 469.3 MB, free: 2.648 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.3929, allocations: 7.938 kB / 469.3 MB, free: 2.641 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.3929, allocations: 4 kB / 469.3 MB, free: 2.637 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3929, allocations: 4 kB / 469.3 MB, free: 2.633 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007344/0.3937, allocations: 163.9 kB / 469.4 MB, free: 2.473 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.3937, allocations: 11.94 kB / 469.5 MB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.3939, allocations: 31.97 kB / 469.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.394, allocations: 12 kB / 469.5 MB, free: 2.418 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 () * 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.0001773/0.3941, allocations: 149.8 kB / 469.6 MB, free: 2.262 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.945e-05/0.3942, allocations: 23.72 kB / 469.7 MB, free: 2.238 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.311e-05/0.3943, allocations: 33.52 kB / 469.7 MB, free: 2.207 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.3943, allocations: 4 kB / 469.7 MB, free: 2.203 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.3944, allocations: 4 kB / 469.7 MB, free: 2.199 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.3944, allocations: 3.953 kB / 469.7 MB, free: 2.195 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/0.3967, allocations: 1.398 MB / 471.1 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/0.3968, allocations: 4 kB / 471.1 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008801/0.3977, allocations: 207.9 kB / 471.3 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.3977, allocations: 4 kB / 471.3 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.715e-05/0.3977, allocations: 16.08 kB / 471.3 MB, free: 488 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3977, allocations: 3.938 kB / 471.3 MB, free: 484 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.3977, allocations: 7.938 kB / 471.4 MB, free: 476 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/0.3998, allocations: 1.145 MB / 472.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.4, allocations: 128.8 kB / 472.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.242e-05/0.4001, allocations: 11.95 kB / 472.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004275/0.4005, allocations: 71.94 kB / 472.7 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.4007, allocations: 35.94 kB / 472.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.899e-05/0.4007, allocations: 12 kB / 472.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001606/0.4009, allocations: 152.6 kB / 472.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4009, allocations: 0 / 472.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004905/0.4014, allocations: 84 kB / 473 MB, free: 14.73 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 () * 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.0002181/0.4016, allocations: 111.2 kB / 473.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.4026, allocations: 408.3 kB / 473.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4026, allocations: 0 / 473.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006615/0.4033, allocations: 284 kB / 473.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005372/0.4039, allocations: 56.97 kB / 473.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005172/0.409, allocations: 1.757 MB / 475.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004516/0.4095, allocations: 0.7685 MB / 476.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002636/0.4098, allocations: 42.95 kB / 476.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.4099, allocations: 31.42 kB / 476.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of SimCode: time 9.11e-07/0.4099, allocations: 3.938 kB / 476.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of Templates: time 0.007524/0.4175, allocations: 3.69 MB / 480.1 MB, free: 7.527 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins/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_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches