Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001206/0.001206, allocations: 177.4 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.6 MB / 223.7 MB, free: 8.949 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008338/0.0008335, allocations: 95.92 kB / 272.1 MB, free: 8.125 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002893/0.0002896, allocations: 8 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2776, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002057/0.2797, allocations: 2.059 MB / 378.7 MB, free: 43.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.2807, allocations: 0.7337 MB / 379.4 MB, free: 43.37 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.2809, allocations: 4.125 kB / 379.4 MB, free: 43.37 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.281, allocations: 36.05 kB / 379.4 MB, free: 43.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.2812, allocations: 87.02 kB / 379.5 MB, free: 43.26 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003265/0.2816, allocations: 110.8 kB / 379.6 MB, free: 43.17 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004169/0.282, allocations: 448.6 kB / 380.1 MB, free: 42.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.2822, allocations: 68.11 kB / 380.1 MB, free: 42.87 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.2824, allocations: 164.2 kB / 380.3 MB, free: 42.78 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.2826, allocations: 188 kB / 380.5 MB, free: 42.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.753e-05/0.2827, allocations: 19.19 kB / 380.5 MB, free: 42.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.163e-05/0.2827, allocations: 21.09 kB / 380.5 MB, free: 42.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.582e-05/0.2828, allocations: 65.17 kB / 380.6 MB, free: 42.61 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.283, allocations: 189.6 kB / 380.8 MB, free: 42.47 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.2833, allocations: 387.9 kB / 381.1 MB, free: 42.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2833, allocations: 0 / 381.1 MB, free: 42.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2833, allocations: 0 / 381.1 MB, free: 42.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.2833, allocations: 1.094 kB / 381.1 MB, free: 42.18 MB / 298.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.001351/0.2847, allocations: 0.6671 MB / 381.8 MB, free: 41.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.2847, allocations: 9.594 kB / 381.8 MB, free: 41.65 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.875e-05/0.2848, allocations: 35.47 kB / 381.8 MB, free: 41.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.2851, allocations: 273.7 kB / 382.1 MB, free: 41.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003337/0.2854, allocations: 139.2 kB / 382.3 MB, free: 41.26 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.693e-05/0.2855, allocations: 29.66 kB / 382.3 MB, free: 41.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008046/0.2863, allocations: 410.8 kB / 382.7 MB, free: 41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.2864, allocations: 17 kB / 382.7 MB, free: 40.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.2864, allocations: 7.438 kB / 382.7 MB, free: 40.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.2864, allocations: 10.05 kB / 382.7 MB, free: 40.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.2876, allocations: 457 kB / 383.2 MB, free: 40.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.2887, allocations: 0.9947 MB / 384.2 MB, free: 39.92 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.2897, allocations: 444.1 kB / 384.6 MB, free: 39.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005827/0.2903, allocations: 253 kB / 384.8 MB, free: 39.58 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.2903, allocations: 3.406 kB / 384.8 MB, free: 39.58 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.2904, allocations: 41.5 kB / 384.9 MB, free: 39.53 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 2.164e-06/0.2904, allocations: 0 / 384.9 MB, free: 39.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.004276/0.2947, allocations: 2.504 MB / 387.4 MB, free: 37.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.2947, allocations: 114.9 kB / 387.5 MB, free: 37.08 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.2949, allocations: 199.2 kB / 387.7 MB, free: 36.87 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.2949, allocations: 41.64 kB / 387.7 MB, free: 36.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.295, allocations: 152.6 kB / 387.9 MB, free: 36.67 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.563e-05/0.2951, allocations: 134 kB / 388 MB, free: 36.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/0.2951, allocations: 8 kB / 388 MB, free: 36.53 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.763e-05/0.2951, allocations: 334.8 kB / 388.3 MB, free: 36.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/0.2954, allocations: 116.8 kB / 388.5 MB, free: 36.08 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.2957, allocations: 165.5 kB / 388.6 MB, free: 35.9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005089/0.2962, allocations: 296.9 kB / 388.9 MB, free: 35.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.2962, allocations: 3.938 kB / 388.9 MB, free: 35.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006305/0.2968, allocations: 381 kB / 389.3 MB, free: 35.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.2969, allocations: 4 kB / 389.3 MB, free: 35.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.2969, allocations: 4 kB / 389.3 MB, free: 35.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.2969, allocations: 7.984 kB / 389.3 MB, free: 35.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006313/0.2975, allocations: 167.9 kB / 389.5 MB, free: 35.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/0.2976, allocations: 4 kB / 389.5 MB, free: 35.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.2978, allocations: 31.98 kB / 389.5 MB, free: 34.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.2978, allocations: 8 kB / 389.5 MB, free: 34.98 MB / 298.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 () * 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.0001122/0.2979, allocations: 145.8 kB / 389.7 MB, free: 34.83 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-05/0.298, allocations: 31.56 kB / 389.7 MB, free: 34.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.905e-05/0.2981, allocations: 33.52 kB / 389.7 MB, free: 34.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2981, allocations: 4 kB / 389.7 MB, free: 34.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2981, allocations: 4 kB / 389.7 MB, free: 34.76 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.2981, allocations: 7.922 kB / 389.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/0.3, allocations: 1.389 MB / 391.1 MB, free: 33.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3, allocations: 0 / 391.1 MB, free: 33.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007542/0.3008, allocations: 204 kB / 391.3 MB, free: 33.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.3008, allocations: 4 kB / 391.3 MB, free: 33.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.3008, allocations: 19.92 kB / 391.3 MB, free: 33.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.3008, allocations: 4 kB / 391.3 MB, free: 33.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.3008, allocations: 7.938 kB / 391.4 MB, free: 33.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.3025, allocations: 1.057 MB / 392.4 MB, free: 31.94 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.3026, allocations: 128.8 kB / 392.5 MB, free: 31.8 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.784e-05/0.3026, allocations: 15.92 kB / 392.6 MB, free: 31.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004076/0.3031, allocations: 60.08 kB / 392.6 MB, free: 31.72 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.978e-05/0.3032, allocations: 40.03 kB / 392.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.3032, allocations: 23.94 kB / 392.7 MB, free: 31.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.946e-05/0.3033, allocations: 152.6 kB / 392.8 MB, free: 31.51 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3033, allocations: 4 kB / 392.8 MB, free: 31.51 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003729/0.3037, allocations: 80 kB / 392.9 MB, free: 31.43 MB / 298.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 () * 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.0001148/0.3038, allocations: 114 kB / 393 MB, free: 31.31 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000815/0.3046, allocations: 399.5 kB / 393.4 MB, free: 30.92 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3046, allocations: 192 / 393.4 MB, free: 30.92 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005604/0.3052, allocations: 280 kB / 393.7 MB, free: 30.65 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006778/0.3059, allocations: 78.33 kB / 393.8 MB, free: 30.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004212/0.3101, allocations: 1.758 MB / 395.5 MB, free: 28.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000169/0.3103, allocations: 0.7685 MB / 396.3 MB, free: 27.97 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001638/0.3104, allocations: 38.91 kB / 396.3 MB, free: 27.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.3106, allocations: 31.42 kB / 396.4 MB, free: 27.9 MB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.3106, allocations: 4 kB / 396.4 MB, free: 27.9 MB / 298.7 MB Notification: Performance of Templates: time 0.005961/0.3165, allocations: 3.857 MB / 400.2 MB, free: 24.05 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches