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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 115.7 kB / 17.74 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 189.6 kB / 18.67 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 47.92 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2808, allocations: 49.44 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003707/0.2845, allocations: 2.433 MB / 403.8 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.2859, allocations: 0.7406 MB / 404.6 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.286, allocations: 4 kB / 404.6 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.2862, allocations: 43.52 kB / 404.6 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.2864, allocations: 111.1 kB / 404.7 MB, free: 5.516 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.2868, allocations: 119.8 kB / 404.8 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004215/0.2872, allocations: 462.2 kB / 405.3 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.2874, allocations: 92.89 kB / 405.4 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002138/0.2877, allocations: 187.4 kB / 405.6 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.2879, allocations: 207.3 kB / 405.8 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.477e-05/0.288, allocations: 36 kB / 405.8 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.405e-05/0.288, allocations: 44 kB / 405.8 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.858e-05/0.2881, allocations: 75.8 kB / 405.9 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.2883, allocations: 183.2 kB / 406.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003853/0.2887, allocations: 419.7 kB / 406.5 MB, free: 3.723 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.2887, allocations: 0 / 406.5 MB, free: 3.723 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2887, allocations: 4 kB / 406.5 MB, free: 3.719 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.2887, allocations: 0 / 406.5 MB, free: 3.719 MB / 318.1 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.001503/0.2902, allocations: 0.6706 MB / 407.2 MB, free: 3 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.2903, allocations: 15.97 kB / 407.2 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.585e-05/0.2904, allocations: 36.56 kB / 407.2 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000417/0.2908, allocations: 275.5 kB / 407.5 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.2909, allocations: 88.27 kB / 407.6 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.325e-05/0.291, allocations: 28 kB / 407.6 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008189/0.2918, allocations: 379.2 kB / 408 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.2918, allocations: 7.906 kB / 408 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.2919, allocations: 12 kB / 408 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.2919, allocations: 8 kB / 408 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.293, allocations: 393.2 kB / 408.4 MB, free: 1.723 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.2942, allocations: 0.9621 MB / 409.4 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009744/0.2952, allocations: 403.8 kB / 409.8 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005642/0.2958, allocations: 222.4 kB / 410 MB, free: 56 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.2958, allocations: 4 kB / 410 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.2958, allocations: 42.56 kB / 410 MB, free: 0 / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.793e-06/0.2959, allocations: 0 / 410 MB, free: 0 / 318.1 MB Notification: Performance of matching and sorting (n=38): time 0.00452/0.3004, allocations: 2.316 MB / 412.3 MB, free: 13.42 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.582e-05/0.3005, allocations: 110.8 kB / 412.4 MB, free: 13.29 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.3007, allocations: 207.2 kB / 412.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.3007, allocations: 29.7 kB / 412.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.3008, allocations: 160.6 kB / 412.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.998e-05/0.301, allocations: 130 kB / 413 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.3011, allocations: 78.03 kB / 413 MB, free: 12.67 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3012, allocations: 330.8 kB / 413.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.3015, allocations: 112.8 kB / 413.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/0.3019, allocations: 165.5 kB / 413.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006297/0.3025, allocations: 292 kB / 413.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3025, allocations: 3.938 kB / 413.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000791/0.3033, allocations: 365 kB / 414.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.3033, allocations: 4 kB / 414.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.3033, allocations: 7.984 kB / 414.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.3034, allocations: 4 kB / 414.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006754/0.3041, allocations: 147.9 kB / 414.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.3041, allocations: 0 / 414.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.3043, allocations: 31.98 kB / 414.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.3044, allocations: 8 kB / 414.5 MB, free: 11.18 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001753/0.3045, allocations: 153.7 kB / 414.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.3047, allocations: 31.66 kB / 414.7 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.173e-05/0.3047, allocations: 33.52 kB / 414.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.3047, allocations: 7.938 kB / 414.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.3048, allocations: 0 / 414.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.3048, allocations: 11.92 kB / 414.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/0.307, allocations: 1.334 MB / 416 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.307, allocations: 0 / 416 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008186/0.3078, allocations: 168 kB / 416.2 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.3079, allocations: 4 kB / 416.2 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.3079, allocations: 19.92 kB / 416.2 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.3079, allocations: 4 kB / 416.2 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.3079, allocations: 8.406 kB / 416.2 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.3097, allocations: 0.9451 MB / 417.2 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.3099, allocations: 132.8 kB / 417.3 MB, free: 8.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.877e-05/0.31, allocations: 23.86 kB / 417.3 MB, free: 8.156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004/0.3104, allocations: 39.95 kB / 417.4 MB, free: 8.117 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.3105, allocations: 43.89 kB / 417.4 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.3105, allocations: 15.98 kB / 417.4 MB, free: 8.059 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00013/0.3107, allocations: 152.6 kB / 417.6 MB, free: 7.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3107, allocations: 0 / 417.6 MB, free: 7.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004474/0.3111, allocations: 84 kB / 417.7 MB, free: 7.828 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001838/0.3113, allocations: 114.1 kB / 417.8 MB, free: 7.707 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009789/0.3123, allocations: 379.7 kB / 418.1 MB, free: 7.336 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3123, allocations: 0 / 418.1 MB, free: 7.336 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006184/0.3129, allocations: 248 kB / 418.4 MB, free: 7.094 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007004/0.3136, allocations: 72.58 kB / 418.5 MB, free: 7.027 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004818/0.3185, allocations: 1.45 MB / 419.9 MB, free: 5.516 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.3188, allocations: 0.7682 MB / 420.7 MB, free: 4.719 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.319, allocations: 35.42 kB / 420.7 MB, free: 4.688 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.319, allocations: 0 / 420.7 MB, free: 4.688 MB / 334.1 MB Notification: Performance of Templates: time 0.005748/0.3247, allocations: 3.898 MB / 424.6 MB, free: 0.8008 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches