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.001095/0.001095, allocations: 174.7 kB / 13.63 MB, free: 1.684 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.432/1.432, allocations: 221.4 MB / 235.5 MB, free: 2.945 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.0008371/0.0008372, allocations: 90.97 kB / 286.5 MB, free: 224 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.21e-05/3.212e-05, allocations: 0 / 343.8 MB, free: 4.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1205, allocations: 50.42 MB / 394.2 MB, free: 1.855 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3448/0.4653, allocations: 78.84 MB / 473.1 MB, free: 8.691 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.4656, allocations: 75.78 kB / 473.2 MB, free: 8.621 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02241/0.4881, allocations: 7.78 MB / 480.9 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4881, allocations: 4 kB / 480.9 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.913e-05/0.4882, allocations: 4 kB / 480.9 MB, free: 0.8203 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.001221/0.4894, allocations: 0.6199 MB / 481.6 MB, free: 160 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.4894, allocations: 8.031 kB / 481.6 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.4896, allocations: 39.62 kB / 481.6 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.4899, allocations: 262.4 kB / 481.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003587/0.4903, allocations: 131.9 kB / 482 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.021e-05/0.4904, allocations: 27.91 kB / 482 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000508/0.4909, allocations: 320 kB / 482.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.4909, allocations: 4 kB / 482.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/0.491, allocations: 15.98 kB / 482.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.491, allocations: 4 kB / 482.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004569/0.4914, allocations: 265 kB / 482.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.4927, allocations: 0.9872 MB / 483.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004854/0.4932, allocations: 315.8 kB / 483.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.4934, allocations: 162.5 kB / 484.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.4935, allocations: 7.938 kB / 484.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.4935, allocations: 42.55 kB / 484.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 1.633e-06/0.4935, allocations: 0 / 484.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=38): time 0.002196/0.4957, allocations: 1.844 MB / 486 MB, free: 11.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.4958, allocations: 114.8 kB / 486.1 MB, free: 11.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.496, allocations: 174.1 kB / 486.3 MB, free: 11.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.496, allocations: 29.7 kB / 486.3 MB, free: 10.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.42e-05/0.4961, allocations: 152.5 kB / 486.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.63e-05/0.4962, allocations: 141.9 kB / 486.6 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.216e-05/0.4962, allocations: 8 kB / 486.6 MB, free: 10.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.4963, allocations: 342.8 kB / 486.9 MB, free: 10.33 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.4966, allocations: 120.9 kB / 487 MB, free: 10.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.4968, allocations: 181.5 kB / 487.2 MB, free: 10.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.497, allocations: 121.8 kB / 487.3 MB, free: 9.906 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.497, allocations: 0 / 487.3 MB, free: 9.906 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005863/0.4976, allocations: 371.8 kB / 487.7 MB, free: 9.539 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.4976, allocations: 5.406 kB / 487.7 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4977, allocations: 0 / 487.7 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.4977, allocations: 4 kB / 487.7 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007341/0.4984, allocations: 171.8 kB / 487.9 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.4984, allocations: 8 kB / 487.9 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.4987, allocations: 27.98 kB / 487.9 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.4987, allocations: 11.94 kB / 487.9 MB, free: 9.316 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 () * 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 8.943e-05/0.4988, allocations: 128.9 kB / 488 MB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.886e-05/0.4989, allocations: 31.72 kB / 488.1 MB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.221e-05/0.499, allocations: 30.31 kB / 488.1 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.499, allocations: 4 kB / 488.1 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.499, allocations: 3.984 kB / 488.1 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.499, allocations: 4 kB / 488.1 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/0.5004, allocations: 1.213 MB / 489.3 MB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.5005, allocations: 0 / 489.3 MB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008835/0.5013, allocations: 204 kB / 489.5 MB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.5014, allocations: 4 kB / 489.5 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/0.5014, allocations: 16 kB / 489.5 MB, free: 7.586 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.5014, allocations: 4 kB / 489.5 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.5014, allocations: 4 kB / 489.5 MB, free: 7.578 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008732/0.5023, allocations: 0.8251 MB / 490.4 MB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.5024, allocations: 124.8 kB / 490.5 MB, free: 6.523 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.594e-05/0.5025, allocations: 11.98 kB / 490.5 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004338/0.5029, allocations: 63.95 kB / 490.6 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.687e-05/0.503, allocations: 43.83 kB / 490.6 MB, free: 6.406 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/0.5031, allocations: 19.98 kB / 490.6 MB, free: 6.387 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001161/0.5032, allocations: 152.5 kB / 490.8 MB, free: 6.238 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5032, allocations: 0 / 490.8 MB, free: 6.238 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003985/0.5036, allocations: 80 kB / 490.9 MB, free: 6.16 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.0001627/0.5038, allocations: 127.1 kB / 491 MB, free: 6.023 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004033/0.5042, allocations: 255.5 kB / 491.2 MB, free: 5.773 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5042, allocations: 0 / 491.2 MB, free: 5.773 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002665/0.5045, allocations: 171.8 kB / 491.4 MB, free: 5.605 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004862/0.505, allocations: 60.42 kB / 491.5 MB, free: 5.547 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004382/0.5093, allocations: 1.342 MB / 492.8 MB, free: 4.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.5097, allocations: 0.7762 MB / 493.6 MB, free: 3.359 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001955/0.5099, allocations: 46.94 kB / 493.6 MB, free: 3.312 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.51, allocations: 39.36 kB / 493.7 MB, free: 3.273 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.51, allocations: 4 kB / 493.7 MB, free: 3.27 MB / 362.7 MB Notification: Performance of Templates: time 0.006739/0.5168, allocations: 3.7 MB / 497.4 MB, free: 15.6 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