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.0014/0.0014, allocations: 108.8 kB / 17.06 MB, free: 6.016 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.001494/0.001494, allocations: 191 kB / 18 MB, free: 5.102 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.339/1.339, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009519/0.0009519, allocations: 43.94 kB / 351.3 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2821, allocations: 49.44 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003524/0.2856, allocations: 2.439 MB / 403.2 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.287, allocations: 0.744 MB / 403.9 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.2871, allocations: 4 kB / 403.9 MB, free: 5.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.2872, allocations: 47.52 kB / 403.9 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.2874, allocations: 103.1 kB / 404 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003256/0.2878, allocations: 127.8 kB / 404.2 MB, free: 5.434 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003887/0.2882, allocations: 462.2 kB / 404.6 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.2884, allocations: 84.89 kB / 404.7 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002107/0.2886, allocations: 195.3 kB / 404.9 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.2888, allocations: 199.3 kB / 405.1 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.061e-05/0.2889, allocations: 36 kB / 405.1 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.447e-05/0.289, allocations: 44 kB / 405.2 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.523e-05/0.2891, allocations: 87.72 kB / 405.3 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.2892, allocations: 175.3 kB / 405.4 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000405/0.2896, allocations: 418.2 kB / 405.8 MB, free: 3.762 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2896, allocations: 0 / 405.8 MB, free: 3.762 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2897, allocations: 0 / 405.8 MB, free: 3.762 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.2897, allocations: 0 / 405.8 MB, free: 3.762 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.001494/0.2912, allocations: 0.6898 MB / 406.5 MB, free: 3.023 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.2912, allocations: 15.89 kB / 406.5 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.972e-05/0.2913, allocations: 32.75 kB / 406.6 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.2917, allocations: 275.8 kB / 406.8 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.2918, allocations: 84.27 kB / 406.9 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.487e-05/0.2919, allocations: 28 kB / 406.9 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009046/0.2928, allocations: 383.2 kB / 407.3 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.2928, allocations: 7.891 kB / 407.3 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.2929, allocations: 12 kB / 407.3 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.2929, allocations: 4 kB / 407.3 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.2941, allocations: 401.1 kB / 407.7 MB, free: 1.746 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.2953, allocations: 0.9585 MB / 408.7 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009939/0.2963, allocations: 403.6 kB / 409.1 MB, free: 316 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005713/0.2969, allocations: 218.4 kB / 409.3 MB, free: 88 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.2969, allocations: 11.92 kB / 409.3 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.2969, allocations: 42.56 kB / 409.4 MB, free: 24 kB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.653e-06/0.297, allocations: 3.938 kB / 409.4 MB, free: 20 kB / 318.1 MB Notification: Performance of matching and sorting (n=38): time 0.004503/0.3015, allocations: 2.32 MB / 411.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.3015, allocations: 114.8 kB / 411.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.3017, allocations: 203.2 kB / 412 MB, free: 13.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.3018, allocations: 29.7 kB / 412 MB, free: 13.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.457e-05/0.3019, allocations: 152.8 kB / 412.2 MB, free: 12.9 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.302, allocations: 146.8 kB / 412.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.3021, allocations: 74.11 kB / 412.4 MB, free: 12.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.3023, allocations: 334.8 kB / 412.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003143/0.3026, allocations: 112.8 kB / 412.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003295/0.3029, allocations: 169.4 kB / 413 MB, free: 12.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006277/0.3035, allocations: 290.3 kB / 413.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3036, allocations: 0 / 413.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007874/0.3044, allocations: 369.1 kB / 413.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3044, allocations: 8 kB / 413.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3044, allocations: 0 / 413.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.3044, allocations: 4 kB / 413.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006817/0.3051, allocations: 155.8 kB / 413.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.3051, allocations: 0 / 413.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.3053, allocations: 27.98 kB / 413.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.3054, allocations: 12 kB / 413.8 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.0001402/0.3055, allocations: 149.7 kB / 414 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-05/0.3056, allocations: 32.73 kB / 414 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.367e-05/0.3057, allocations: 33.53 kB / 414 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3057, allocations: 4 kB / 414.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3057, allocations: 4 kB / 414.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.3057, allocations: 3.984 kB / 414.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002191/0.3079, allocations: 1.338 MB / 415.4 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3079, allocations: 0 / 415.4 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008362/0.3088, allocations: 172 kB / 415.6 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.3088, allocations: 4 kB / 415.6 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/0.3088, allocations: 11.94 kB / 415.6 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.3088, allocations: 4 kB / 415.6 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.3088, allocations: 8 kB / 415.6 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/0.3108, allocations: 0.9531 MB / 416.5 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.3109, allocations: 133 kB / 416.7 MB, free: 8.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.917e-05/0.311, allocations: 11.94 kB / 416.7 MB, free: 8.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004232/0.3114, allocations: 39.95 kB / 416.7 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.3115, allocations: 47.88 kB / 416.8 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.3115, allocations: 16 kB / 416.8 MB, free: 8.066 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.3117, allocations: 152.6 kB / 416.9 MB, free: 7.918 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3117, allocations: 0 / 416.9 MB, free: 7.918 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004407/0.3121, allocations: 80 kB / 417 MB, free: 7.84 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.0001193/0.3122, allocations: 119 kB / 417.1 MB, free: 7.711 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001/0.3133, allocations: 370.9 kB / 417.5 MB, free: 7.355 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3133, allocations: 0 / 417.5 MB, free: 7.355 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006503/0.3139, allocations: 248 kB / 417.7 MB, free: 7.113 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006713/0.3146, allocations: 76.81 kB / 417.8 MB, free: 7.039 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004752/0.3194, allocations: 1.439 MB / 419.2 MB, free: 5.543 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.3197, allocations: 0.7759 MB / 420 MB, free: 4.738 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001655/0.3199, allocations: 38.95 kB / 420.1 MB, free: 4.699 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.32, allocations: 35.42 kB / 420.1 MB, free: 4.668 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.32, allocations: 7.938 kB / 420.1 MB, free: 4.66 MB / 334.1 MB Notification: Performance of Templates: time 0.00758/0.3276, allocations: 4.326 MB / 424.4 MB, free: 372 kB / 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/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_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches