Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001922/0.001922, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.52/1.52, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash") translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 51.86 kB / 379 MB, free: 2.586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2801, allocations: 53.38 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.004131/0.2842, allocations: 2.281 MB / 434.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.2859, allocations: 0.7483 MB / 435.4 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.286, allocations: 7.938 kB / 435.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001576/0.2862, allocations: 39.58 kB / 435.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.2864, allocations: 103.1 kB / 435.5 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.2868, allocations: 135.8 kB / 435.6 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005013/0.2873, allocations: 470.2 kB / 436.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.2875, allocations: 57.09 kB / 436.2 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.2877, allocations: 187.4 kB / 436.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000263/0.288, allocations: 187.3 kB / 436.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.398e-05/0.2881, allocations: 36 kB / 436.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.299e-05/0.2881, allocations: 36 kB / 436.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.85e-05/0.2882, allocations: 87.73 kB / 436.7 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.2884, allocations: 163.3 kB / 436.8 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004753/0.2889, allocations: 416.2 kB / 437.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2889, allocations: 3.938 kB / 437.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2889, allocations: 0 / 437.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.2889, allocations: 0 / 437.2 MB, free: 1.793 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.001613/0.2905, allocations: 0.6143 MB / 437.9 MB, free: 1.148 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.2905, allocations: 12.03 kB / 437.9 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.813e-05/0.2906, allocations: 36.75 kB / 437.9 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/0.2911, allocations: 206 kB / 438.1 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.2912, allocations: 147.6 kB / 438.3 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.431e-05/0.2913, allocations: 24 kB / 438.3 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009667/0.2923, allocations: 382.4 kB / 438.7 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/0.2923, allocations: 8 kB / 438.7 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/0.2923, allocations: 8 kB / 438.7 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.2923, allocations: 8 kB / 438.7 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.2936, allocations: 394.4 kB / 439.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.295, allocations: 0.802 MB / 439.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.2961, allocations: 395.7 kB / 440.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000635/0.2968, allocations: 210.8 kB / 440.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.2968, allocations: 7.984 kB / 440.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/0.2968, allocations: 46.48 kB / 440.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.104e-06/0.2968, allocations: 0 / 440.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.005038/0.3019, allocations: 1.872 MB / 442.4 MB, free: 12.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.67e-05/0.302, allocations: 106.8 kB / 442.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.3022, allocations: 191 kB / 442.7 MB, free: 12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.933e-05/0.3022, allocations: 33.69 kB / 442.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.3023, allocations: 152.7 kB / 442.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.3025, allocations: 150.7 kB / 443 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.3026, allocations: 74.12 kB / 443.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3028, allocations: 330.8 kB / 443.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000331/0.3031, allocations: 112.8 kB / 443.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003691/0.3035, allocations: 169.5 kB / 443.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006817/0.3042, allocations: 289.8 kB / 444 MB, free: 10.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3042, allocations: 4 kB / 444 MB, free: 10.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008476/0.305, allocations: 360.3 kB / 444.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.305, allocations: 11.94 kB / 444.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.305, allocations: 0 / 444.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.3051, allocations: 7.984 kB / 444.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007166/0.3058, allocations: 151.8 kB / 444.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.3058, allocations: 4 kB / 444.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.306, allocations: 23.98 kB / 444.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.306, allocations: 16 kB / 444.5 MB, free: 10.09 MB / 350.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.0001677/0.3062, allocations: 141.8 kB / 444.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.866e-05/0.3063, allocations: 31.75 kB / 444.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.387e-05/0.3064, allocations: 33.45 kB / 444.7 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.3064, allocations: 4 kB / 444.7 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.3064, allocations: 4 kB / 444.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.3064, allocations: 3.984 kB / 444.7 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002402/0.3088, allocations: 1.195 MB / 445.9 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.3088, allocations: 4 kB / 445.9 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008434/0.3096, allocations: 172 kB / 446.1 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.3097, allocations: 4 kB / 446.1 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.3097, allocations: 8.094 kB / 446.1 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.3097, allocations: 7.938 kB / 446.1 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.3097, allocations: 3.938 kB / 446.1 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/0.3118, allocations: 0.9608 MB / 447.1 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.3119, allocations: 51.88 kB / 447.1 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.348e-05/0.3119, allocations: 15.98 kB / 447.2 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004144/0.3124, allocations: 47.95 kB / 447.2 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.3125, allocations: 43.81 kB / 447.2 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/0.3125, allocations: 15.98 kB / 447.3 MB, free: 7.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.3126, allocations: 135.3 kB / 447.4 MB, free: 7.098 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3126, allocations: 0 / 447.4 MB, free: 7.098 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004551/0.3131, allocations: 84 kB / 447.5 MB, free: 7.016 MB / 350.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.0001318/0.3132, allocations: 103.2 kB / 447.6 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.3142, allocations: 363.7 kB / 447.9 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3142, allocations: 0 / 447.9 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006904/0.3149, allocations: 239.6 kB / 448.2 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007228/0.3156, allocations: 76.03 kB / 448.2 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005142/0.3208, allocations: 1.461 MB / 449.7 MB, free: 4.723 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.321, allocations: 159.9 kB / 449.9 MB, free: 4.551 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.3211, allocations: 31.42 kB / 449.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3211, allocations: 192 / 449.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of Templates: time 0.007462/0.3286, allocations: 4.003 MB / 453.9 MB, free: 0.5352 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.3742002518847585]