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.001137/0.001137, allocations: 114.9 kB / 17.74 MB, free: 5.324 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.001067/0.001067, allocations: 188.5 kB / 18.67 MB, free: 4.398 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.381/1.381, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 47.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3026, allocations: 49.43 MB / 401.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003899/0.3065, allocations: 2.449 MB / 403.8 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.308, allocations: 0.7445 MB / 404.6 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002238/0.3083, allocations: 4 kB / 404.6 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001745/0.3085, allocations: 43.52 kB / 404.6 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.3088, allocations: 103.1 kB / 404.7 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.3092, allocations: 123.8 kB / 404.9 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000534/0.3097, allocations: 466.2 kB / 405.3 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.3099, allocations: 88.89 kB / 405.4 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002832/0.3102, allocations: 191.4 kB / 405.6 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.3105, allocations: 203.3 kB / 405.8 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.806e-05/0.3106, allocations: 36 kB / 405.8 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.641e-05/0.3107, allocations: 40 kB / 405.9 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.705e-05/0.3107, allocations: 87.72 kB / 405.9 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.3109, allocations: 179.2 kB / 406.1 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004292/0.3113, allocations: 415.7 kB / 406.5 MB, free: 3.695 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.3114, allocations: 0 / 406.5 MB, free: 3.695 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3114, allocations: 4 kB / 406.5 MB, free: 3.691 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.3114, allocations: 0 / 406.5 MB, free: 3.691 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.0016/0.313, allocations: 0.6784 MB / 407.2 MB, free: 2.965 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.3131, allocations: 12.03 kB / 407.2 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.272e-05/0.3132, allocations: 32.56 kB / 407.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/0.3136, allocations: 275.5 kB / 407.5 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.3137, allocations: 88.27 kB / 407.6 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.451e-05/0.3138, allocations: 28 kB / 407.6 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009192/0.3147, allocations: 379.2 kB / 408 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.3147, allocations: 7.844 kB / 408 MB, free: 2.098 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.3148, allocations: 12 kB / 408 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.3148, allocations: 4 kB / 408 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.316, allocations: 395.5 kB / 408.4 MB, free: 1.695 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.3174, allocations: 0.9582 MB / 409.4 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.3185, allocations: 407.8 kB / 409.8 MB, free: 260 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006067/0.3191, allocations: 210.4 kB / 410 MB, free: 40 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.3192, allocations: 11.92 kB / 410 MB, free: 28 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.152e-05/0.3192, allocations: 42.55 kB / 410 MB, free: 15.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 3.116e-06/0.3192, allocations: 4 kB / 410 MB, free: 15.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=38): time 0.004963/0.3242, allocations: 2.315 MB / 412.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/0.3243, allocations: 110.8 kB / 412.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.3245, allocations: 203.2 kB / 412.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.632e-05/0.3246, allocations: 33.7 kB / 412.7 MB, free: 13.01 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.3247, allocations: 152.6 kB / 412.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.3248, allocations: 130 kB / 413 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.325, allocations: 86.02 kB / 413 MB, free: 12.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3251, allocations: 334.8 kB / 413.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003424/0.3255, allocations: 108.8 kB / 413.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.3258, allocations: 165.5 kB / 413.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006636/0.3265, allocations: 283 kB / 413.9 MB, free: 11.72 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3265, allocations: 0 / 413.9 MB, free: 11.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008486/0.3274, allocations: 376.4 kB / 414.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3274, allocations: 7.938 kB / 414.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.3274, allocations: 4 kB / 414.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.3274, allocations: 4 kB / 414.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006952/0.3281, allocations: 143.9 kB / 414.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.001e-05/0.3282, allocations: 3.984 kB / 414.4 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/0.3284, allocations: 31.98 kB / 414.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.3285, allocations: 12 kB / 414.5 MB, free: 11.15 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.0001648/0.3286, allocations: 149.7 kB / 414.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.3287, allocations: 31.66 kB / 414.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.997e-05/0.3288, allocations: 33.52 kB / 414.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3288, allocations: 7.938 kB / 414.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3288, allocations: 4 kB / 414.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.3288, allocations: 8.922 kB / 414.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002342/0.3312, allocations: 1.327 MB / 416 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3312, allocations: 0 / 416 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008533/0.3321, allocations: 175.9 kB / 416.2 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.3321, allocations: 4.094 kB / 416.2 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.731e-05/0.3321, allocations: 19.86 kB / 416.2 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.3321, allocations: 4 kB / 416.2 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.3322, allocations: 4 kB / 416.2 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002081/0.3342, allocations: 0.949 MB / 417.2 MB, free: 8.297 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.3344, allocations: 132.8 kB / 417.3 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.744e-05/0.3345, allocations: 19.92 kB / 417.3 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004283/0.3349, allocations: 43.94 kB / 417.4 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.335, allocations: 43.89 kB / 417.4 MB, free: 8.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-05/0.3351, allocations: 19.98 kB / 417.4 MB, free: 8.023 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001296/0.3352, allocations: 152.6 kB / 417.6 MB, free: 7.875 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3352, allocations: 0 / 417.6 MB, free: 7.875 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004525/0.3357, allocations: 80 kB / 417.7 MB, free: 7.797 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.0001365/0.3358, allocations: 111.1 kB / 417.8 MB, free: 7.676 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.3368, allocations: 375.7 kB / 418.2 MB, free: 7.309 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.3369, allocations: 0 / 418.2 MB, free: 7.309 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006829/0.3375, allocations: 243.7 kB / 418.4 MB, free: 7.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006952/0.3383, allocations: 74.31 kB / 418.5 MB, free: 7.004 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005075/0.3433, allocations: 1.457 MB / 419.9 MB, free: 5.484 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.3437, allocations: 0.772 MB / 420.7 MB, free: 4.684 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.3439, allocations: 35.61 kB / 420.7 MB, free: 4.652 MB / 334.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3439, allocations: 0 / 420.7 MB, free: 4.652 MB / 334.1 MB Notification: Performance of Templates: time 0.007164/0.3511, allocations: 3.925 MB / 424.6 MB, free: 0.7383 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