Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001034/0.001035, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001163/0.001163, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 59.89 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2802, allocations: 50.55 MB / 409.2 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003837/0.284, allocations: 2.458 MB / 411.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.2856, allocations: 0.7678 MB / 412.5 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.2857, allocations: 4 kB / 412.5 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.2859, allocations: 43.58 kB / 412.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.2861, allocations: 107.1 kB / 412.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003112/0.2864, allocations: 119.8 kB / 412.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003975/0.2869, allocations: 470.2 kB / 413.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.287, allocations: 88.86 kB / 413.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.2872, allocations: 183.5 kB / 413.5 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002226/0.2875, allocations: 211.2 kB / 413.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.069e-05/0.2875, allocations: 40 kB / 413.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.548e-05/0.2876, allocations: 40 kB / 413.7 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.05e-05/0.2877, allocations: 79.75 kB / 413.8 MB, free: 13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.2878, allocations: 175.3 kB / 414 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003667/0.2882, allocations: 415.8 kB / 414.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2882, allocations: 0 / 414.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.539e-06/0.2882, allocations: 4 kB / 414.4 MB, free: 12.42 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.2882, allocations: 0 / 414.4 MB, free: 12.42 MB / 334.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.001573/0.2898, allocations: 0.6822 MB / 415.1 MB, free: 11.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.2898, allocations: 12.03 kB / 415.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.113e-05/0.2899, allocations: 32.56 kB / 415.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004293/0.2904, allocations: 272.6 kB / 415.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.2905, allocations: 84.27 kB / 415.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.41e-05/0.2906, allocations: 31.91 kB / 415.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008919/0.2915, allocations: 379.2 kB / 415.9 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.2915, allocations: 0 / 415.9 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.168e-05/0.2915, allocations: 19.98 kB / 415.9 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.2916, allocations: 4 kB / 415.9 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.2927, allocations: 399.5 kB / 416.3 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.2941, allocations: 0.9621 MB / 417.2 MB, free: 9.398 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.2951, allocations: 411.5 kB / 417.7 MB, free: 8.969 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005902/0.2957, allocations: 210.4 kB / 417.9 MB, free: 8.754 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.2958, allocations: 4 kB / 417.9 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.2958, allocations: 46.5 kB / 417.9 MB, free: 8.695 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.473e-06/0.2958, allocations: 0 / 417.9 MB, free: 8.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=38): time 0.004904/0.3007, allocations: 2.312 MB / 420.2 MB, free: 6.121 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.3008, allocations: 106.8 kB / 420.3 MB, free: 5.992 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.301, allocations: 207.2 kB / 420.5 MB, free: 5.781 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.3011, allocations: 34.64 kB / 420.6 MB, free: 5.742 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.3012, allocations: 152.6 kB / 420.7 MB, free: 5.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.3014, allocations: 141.9 kB / 420.8 MB, free: 5.449 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.3015, allocations: 74.11 kB / 420.9 MB, free: 5.371 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002077/0.3017, allocations: 334.8 kB / 421.2 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/0.302, allocations: 108.8 kB / 421.4 MB, free: 4.926 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003925/0.3024, allocations: 169.4 kB / 421.5 MB, free: 4.746 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006216/0.3031, allocations: 292.2 kB / 421.8 MB, free: 4.445 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3031, allocations: 0 / 421.8 MB, free: 4.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007686/0.3038, allocations: 364.4 kB / 422.2 MB, free: 4.086 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3039, allocations: 7.938 kB / 422.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.3039, allocations: 4 kB / 422.2 MB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3039, allocations: 8.094 kB / 422.2 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007338/0.3046, allocations: 147.8 kB / 422.3 MB, free: 3.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3047, allocations: 7.938 kB / 422.3 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.3049, allocations: 23.98 kB / 422.4 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.3049, allocations: 15.98 kB / 422.4 MB, free: 3.875 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.0002366/0.3052, allocations: 145.7 kB / 422.5 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.58e-05/0.3053, allocations: 35.66 kB / 422.5 MB, free: 3.688 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.165e-05/0.3053, allocations: 33.52 kB / 422.6 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3054, allocations: 4 kB / 422.6 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.3054, allocations: 4 kB / 422.6 MB, free: 3.648 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3054, allocations: 4 kB / 422.6 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00238/0.3078, allocations: 1.327 MB / 423.9 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3078, allocations: 0 / 423.9 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008541/0.3086, allocations: 175.9 kB / 424.1 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.3087, allocations: 4 kB / 424.1 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/0.3087, allocations: 11.94 kB / 424.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.3087, allocations: 7.984 kB / 424.1 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.3087, allocations: 4 kB / 424.1 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.3107, allocations: 0.9477 MB / 425.1 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.3108, allocations: 132.8 kB / 425.2 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.978e-05/0.3109, allocations: 15.94 kB / 425.2 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004133/0.3113, allocations: 47.94 kB / 425.3 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.175e-05/0.3114, allocations: 39.89 kB / 425.3 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.3114, allocations: 16 kB / 425.3 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001455/0.3116, allocations: 152.6 kB / 425.5 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3116, allocations: 0 / 425.5 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004268/0.312, allocations: 80 kB / 425.5 MB, free: 0.543 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.0001382/0.3122, allocations: 115.1 kB / 425.7 MB, free: 428 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009685/0.3131, allocations: 367.7 kB / 426 MB, free: 60 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3131, allocations: 0 / 426 MB, free: 60 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006912/0.3138, allocations: 256.2 kB / 426.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006877/0.3145, allocations: 67.66 kB / 426.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005131/0.3197, allocations: 1.425 MB / 427.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/0.3202, allocations: 0.7719 MB / 428.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002041/0.3204, allocations: 34.97 kB / 428.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.3205, allocations: 35.42 kB / 428.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of SimCode: time 1.292e-06/0.3205, allocations: 0 / 428.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of Templates: time 0.008264/0.3288, allocations: 4.33 MB / 432.9 MB, free: 9.105 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches