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.001683/0.001683, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001572/0.001572, allocations: 214.9 kB / 23.74 MB, free: 4.656 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.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.001699/0.001699, allocations: 47.92 kB / 378.2 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2635, allocations: 53.37 MB / 431.6 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.004005/0.2675, allocations: 2.468 MB / 434.1 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.269, allocations: 0.7834 MB / 434.9 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.2691, allocations: 7.938 kB / 434.9 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.2693, allocations: 39.58 kB / 434.9 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.2695, allocations: 111 kB / 435 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004312/0.2699, allocations: 123.8 kB / 435.1 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005135/0.2704, allocations: 466.2 kB / 435.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.2706, allocations: 61.09 kB / 435.7 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00026/0.2709, allocations: 199.4 kB / 435.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.2712, allocations: 207.3 kB / 436.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.119e-05/0.2712, allocations: 36 kB / 436.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.714e-05/0.2713, allocations: 40 kB / 436.1 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.06e-05/0.2714, allocations: 87.73 kB / 436.2 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.2716, allocations: 175.3 kB / 436.4 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004818/0.272, allocations: 416.7 kB / 436.8 MB, free: 1.715 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.272, allocations: 0 / 436.8 MB, free: 1.715 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.272, allocations: 11.88 kB / 436.8 MB, free: 1.703 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.272, allocations: 0 / 436.8 MB, free: 1.703 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.001554/0.2736, allocations: 0.6105 MB / 437.4 MB, free: 1.062 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2736, allocations: 12.03 kB / 437.4 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.125e-05/0.2737, allocations: 32.75 kB / 437.5 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.2741, allocations: 210 kB / 437.7 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/0.2742, allocations: 139.6 kB / 437.8 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.66e-05/0.2743, allocations: 28 kB / 437.8 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009298/0.2752, allocations: 382.4 kB / 438.2 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.2753, allocations: 3.984 kB / 438.2 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.2753, allocations: 12 kB / 438.2 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.2753, allocations: 4 kB / 438.2 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.2767, allocations: 395.6 kB / 438.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.2781, allocations: 0.9341 MB / 439.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.2792, allocations: 395.5 kB / 439.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006817/0.2799, allocations: 206.4 kB / 440.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.2799, allocations: 11.98 kB / 440.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.28, allocations: 42.5 kB / 440.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.583e-06/0.28, allocations: 0 / 440.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.005017/0.285, allocations: 1.875 MB / 442.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.501e-05/0.285, allocations: 110.8 kB / 442.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.2853, allocations: 203.2 kB / 442.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/0.2853, allocations: 33.7 kB / 442.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.2854, allocations: 148.8 kB / 442.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.2856, allocations: 146.7 kB / 442.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.2857, allocations: 82.06 kB / 442.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.2859, allocations: 334.8 kB / 443.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/0.2862, allocations: 108.8 kB / 443.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003617/0.2866, allocations: 165.4 kB / 443.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006983/0.2873, allocations: 289.9 kB / 443.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.2873, allocations: 4 kB / 443.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008989/0.2882, allocations: 372.2 kB / 444 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.2882, allocations: 4 kB / 444 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.2882, allocations: 7.938 kB / 444 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.2882, allocations: 0 / 444 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007165/0.2889, allocations: 147.8 kB / 444.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.2889, allocations: 4 kB / 444.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.2892, allocations: 35.97 kB / 444.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.2892, allocations: 12 kB / 444.2 MB, free: 9.848 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.0001773/0.2894, allocations: 141.8 kB / 444.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.2895, allocations: 31.75 kB / 444.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.171e-05/0.2895, allocations: 37.45 kB / 444.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.2895, allocations: 4 kB / 444.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.2895, allocations: 4 kB / 444.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.2896, allocations: 0 / 444.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002482/0.292, allocations: 1.292 MB / 445.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.292, allocations: 8 kB / 445.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008669/0.2929, allocations: 172 kB / 445.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.2929, allocations: 4 kB / 445.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.285e-05/0.2929, allocations: 15.92 kB / 445.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.293, allocations: 4 kB / 445.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.293, allocations: 0 / 445.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/0.2951, allocations: 0.96 MB / 446.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.2952, allocations: 59.83 kB / 446.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.323e-05/0.2952, allocations: 15.94 kB / 447 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000432/0.2957, allocations: 43.94 kB / 447 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.2958, allocations: 43.88 kB / 447 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.2958, allocations: 19.98 kB / 447.1 MB, free: 6.867 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001454/0.296, allocations: 148.6 kB / 447.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.296, allocations: 3.938 kB / 447.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000452/0.2964, allocations: 80 kB / 447.3 MB, free: 6.641 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.0001405/0.2965, allocations: 110 kB / 447.4 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.2976, allocations: 351.8 kB / 447.7 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2976, allocations: 0 / 447.7 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000727/0.2983, allocations: 240.3 kB / 448 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006887/0.299, allocations: 87.17 kB / 448.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004957/0.304, allocations: 1.437 MB / 449.5 MB, free: 4.379 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.3044, allocations: 0.7643 MB / 450.3 MB, free: 3.586 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000152/0.3045, allocations: 42.95 kB / 450.3 MB, free: 3.543 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.3046, allocations: 35.42 kB / 450.3 MB, free: 3.512 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3046, allocations: 0 / 450.3 MB, free: 3.512 MB / 350.1 MB Notification: Performance of Templates: time 0.009275/0.3139, allocations: 4.6 MB / 454.9 MB, free: 14.95 MB / 366.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins/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: 4.581801705062389]