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.001503/0.001503, allocations: 113 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001644/0.001644, allocations: 214.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 55.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2764, allocations: 50.56 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003935/0.2803, allocations: 2.436 MB / 412.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.282, allocations: 0.7757 MB / 413.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002613/0.2823, allocations: 7.938 kB / 413.2 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.2825, allocations: 35.59 kB / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003158/0.2828, allocations: 103.1 kB / 413.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004555/0.2833, allocations: 131.8 kB / 413.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005965/0.2839, allocations: 466.2 kB / 413.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002217/0.2842, allocations: 84.86 kB / 414 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003522/0.2845, allocations: 191.4 kB / 414.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000327/0.2848, allocations: 203.2 kB / 414.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.181e-05/0.2849, allocations: 40 kB / 414.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.859e-05/0.285, allocations: 36 kB / 414.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.696e-05/0.2851, allocations: 91.72 kB / 414.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.2853, allocations: 171.3 kB / 414.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004975/0.2858, allocations: 419.8 kB / 415.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2859, allocations: 4 kB / 415.1 MB, free: 12.4 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2859, allocations: 0 / 415.1 MB, free: 12.4 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.2859, allocations: 0 / 415.1 MB, free: 12.4 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.001719/0.2876, allocations: 0.6744 MB / 415.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.2877, allocations: 16.03 kB / 415.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.2878, allocations: 32.56 kB / 415.8 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005141/0.2883, allocations: 272.6 kB / 416.1 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.2884, allocations: 96.2 kB / 416.2 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.176e-05/0.2885, allocations: 27.91 kB / 416.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000981/0.2895, allocations: 379.2 kB / 416.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.2895, allocations: 0 / 416.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.047e-05/0.2896, allocations: 12 kB / 416.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.2896, allocations: 4 kB / 416.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.2908, allocations: 399.1 kB / 417 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.2923, allocations: 0.966 MB / 417.9 MB, free: 9.383 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.2934, allocations: 403.5 kB / 418.3 MB, free: 8.961 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006369/0.2941, allocations: 222.4 kB / 418.5 MB, free: 8.734 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.2941, allocations: 7.984 kB / 418.6 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.2942, allocations: 42.5 kB / 418.6 MB, free: 8.676 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 2.475e-06/0.2942, allocations: 0 / 418.6 MB, free: 8.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=38): time 0.005072/0.2993, allocations: 2.316 MB / 420.9 MB, free: 6.098 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.068e-05/0.2994, allocations: 107 kB / 421 MB, free: 5.969 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.2996, allocations: 203.2 kB / 421.2 MB, free: 5.762 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.501e-05/0.2997, allocations: 41.64 kB / 421.3 MB, free: 5.715 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.2998, allocations: 144.6 kB / 421.4 MB, free: 5.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.2999, allocations: 137.9 kB / 421.5 MB, free: 5.434 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.3001, allocations: 74.12 kB / 421.6 MB, free: 5.355 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3002, allocations: 342.8 kB / 421.9 MB, free: 5.012 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003334/0.3006, allocations: 112.8 kB / 422.1 MB, free: 4.898 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003574/0.3009, allocations: 161.5 kB / 422.2 MB, free: 4.727 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006605/0.3016, allocations: 288.5 kB / 422.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.3016, allocations: 0 / 422.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008708/0.3025, allocations: 369 kB / 422.9 MB, free: 4.062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.3025, allocations: 8 kB / 422.9 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.3026, allocations: 3.984 kB / 422.9 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.3026, allocations: 4 kB / 422.9 MB, free: 4.047 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007318/0.3033, allocations: 147.8 kB / 423 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.3034, allocations: 7.938 kB / 423 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.3036, allocations: 27.98 kB / 423 MB, free: 3.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.3036, allocations: 12 kB / 423.1 MB, free: 3.855 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.000172/0.3038, allocations: 145.7 kB / 423.2 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.3039, allocations: 31.66 kB / 423.2 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.984e-05/0.304, allocations: 33.52 kB / 423.3 MB, free: 3.641 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.304, allocations: 4 kB / 423.3 MB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.3041, allocations: 4 kB / 423.3 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3041, allocations: 3.984 kB / 423.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002715/0.3068, allocations: 1.315 MB / 424.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.3068, allocations: 8.125 kB / 424.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008813/0.3077, allocations: 163.8 kB / 424.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.201e-05/0.3077, allocations: 12 kB / 424.8 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.211e-05/0.3078, allocations: 15.92 kB / 424.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.3078, allocations: 4 kB / 424.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.3078, allocations: 4 kB / 424.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/0.31, allocations: 0.9516 MB / 425.7 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/0.3101, allocations: 128.8 kB / 425.9 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.438e-05/0.3102, allocations: 19.92 kB / 425.9 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000436/0.3107, allocations: 39.95 kB / 425.9 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.3108, allocations: 39.98 kB / 426 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.04e-05/0.3108, allocations: 27.92 kB / 426 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001471/0.311, allocations: 144.6 kB / 426.1 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.311, allocations: 0 / 426.1 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005023/0.3115, allocations: 84 kB / 426.2 MB, free: 0.5312 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.0001711/0.3117, allocations: 111.1 kB / 426.3 MB, free: 420 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.3128, allocations: 374.5 kB / 426.7 MB, free: 48 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3128, allocations: 4.188 kB / 426.7 MB, free: 44 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007247/0.3135, allocations: 244.5 kB / 426.9 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.0007856/0.3143, allocations: 84.91 kB / 427 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005402/0.3197, allocations: 1.45 MB / 428.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004419/0.3202, allocations: 0.772 MB / 429.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.3204, allocations: 31.42 kB / 429.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of SimCode: time 9.51e-07/0.3204, allocations: 0 / 429.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of Templates: time 0.007335/0.3278, allocations: 3.89 MB / 433.2 MB, free: 9.508 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/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_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches