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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 109.5 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002015/0.002015, allocations: 189.2 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 47.92 kB / 370.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2578, allocations: 52.18 MB / 423.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003898/0.2617, allocations: 2.463 MB / 425.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.2631, allocations: 0.7484 MB / 426.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.2632, allocations: 4 kB / 426.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.2634, allocations: 47.52 kB / 426.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.2636, allocations: 103.1 kB / 426.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003864/0.264, allocations: 130.8 kB / 426.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005422/0.2645, allocations: 462.2 kB / 427 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.2647, allocations: 73.05 kB / 427.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002663/0.265, allocations: 195.4 kB / 427.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000263/0.2652, allocations: 199.3 kB / 427.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.111e-05/0.2653, allocations: 40 kB / 427.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.114e-05/0.2654, allocations: 36 kB / 427.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.607e-05/0.2655, allocations: 91.72 kB / 427.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.2656, allocations: 179.2 kB / 427.8 MB, free: 9.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004812/0.2661, allocations: 415.7 kB / 428.2 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2661, allocations: 0 / 428.2 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2661, allocations: 0 / 428.2 MB, free: 9.508 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.2661, allocations: 0 / 428.2 MB, free: 9.508 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.001676/0.2678, allocations: 0.6221 MB / 428.9 MB, free: 8.855 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.2678, allocations: 8.031 kB / 428.9 MB, free: 8.848 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.556e-05/0.2679, allocations: 36.73 kB / 428.9 MB, free: 8.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.2683, allocations: 206.9 kB / 429.1 MB, free: 8.586 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.2685, allocations: 84.2 kB / 429.2 MB, free: 8.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.518e-05/0.2685, allocations: 31.98 kB / 429.2 MB, free: 8.457 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.2696, allocations: 382.4 kB / 429.6 MB, free: 8.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.2696, allocations: 3.953 kB / 429.6 MB, free: 8.066 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.734e-05/0.2696, allocations: 12 kB / 429.6 MB, free: 8.055 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.2696, allocations: 4 kB / 429.6 MB, free: 8.051 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.271, allocations: 399.5 kB / 430 MB, free: 7.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.2724, allocations: 0.9226 MB / 430.9 MB, free: 6.688 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.2736, allocations: 399.4 kB / 431.3 MB, free: 6.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006968/0.2743, allocations: 210.4 kB / 431.5 MB, free: 6.055 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.2743, allocations: 4 kB / 431.5 MB, free: 6.051 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.2744, allocations: 42.56 kB / 431.6 MB, free: 6 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 2.114e-06/0.2744, allocations: 4 kB / 431.6 MB, free: 5.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=38): time 0.005254/0.2796, allocations: 1.878 MB / 433.5 MB, free: 3.965 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.555e-05/0.2797, allocations: 106.8 kB / 433.6 MB, free: 3.836 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.2799, allocations: 207.2 kB / 433.8 MB, free: 3.625 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.585e-05/0.28, allocations: 29.7 kB / 433.8 MB, free: 3.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.2801, allocations: 148.8 kB / 433.9 MB, free: 3.438 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.2802, allocations: 142.7 kB / 434.1 MB, free: 3.297 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.2804, allocations: 82.11 kB / 434.2 MB, free: 3.211 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.2806, allocations: 334.8 kB / 434.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003496/0.2809, allocations: 105.8 kB / 434.6 MB, free: 2.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003902/0.2813, allocations: 169.4 kB / 434.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007331/0.282, allocations: 296.2 kB / 435 MB, free: 2.285 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.282, allocations: 0 / 435 MB, free: 2.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009057/0.2829, allocations: 377.1 kB / 435.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.2829, allocations: 4 kB / 435.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.283, allocations: 4 kB / 435.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.283, allocations: 0 / 435.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007878/0.2838, allocations: 147.9 kB / 435.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.2838, allocations: 4 kB / 435.6 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.284, allocations: 31.92 kB / 435.6 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.284, allocations: 15.94 kB / 435.6 MB, free: 1.707 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.0001616/0.2842, allocations: 149.7 kB / 435.8 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.2843, allocations: 27.8 kB / 435.8 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.613e-05/0.2844, allocations: 37.45 kB / 435.8 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.2844, allocations: 4 kB / 435.8 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2844, allocations: 4 kB / 435.8 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.2844, allocations: 3.984 kB / 435.8 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002615/0.287, allocations: 1.302 MB / 437.1 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.287, allocations: 4 kB / 437.1 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009537/0.288, allocations: 171.9 kB / 437.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.288, allocations: 4 kB / 437.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/0.288, allocations: 11.94 kB / 437.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.807e-06/0.288, allocations: 11.92 kB / 437.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.288, allocations: 0 / 437.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002207/0.2902, allocations: 0.9485 MB / 438.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.2904, allocations: 55.88 kB / 438.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.611e-05/0.2904, allocations: 15.94 kB / 438.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004451/0.2909, allocations: 39.95 kB / 438.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.291, allocations: 43.92 kB / 438.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/0.291, allocations: 16.12 kB / 438.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001584/0.2912, allocations: 152.6 kB / 438.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2912, allocations: 0 / 438.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004751/0.2917, allocations: 83.98 kB / 438.7 MB, free: 14.5 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.0001424/0.2918, allocations: 109.5 kB / 438.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.2929, allocations: 364.7 kB / 439.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2929, allocations: 0 / 439.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007397/0.2937, allocations: 231.7 kB / 439.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007227/0.2944, allocations: 85.19 kB / 439.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005666/0.3, allocations: 1.444 MB / 440.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004578/0.3005, allocations: 0.7682 MB / 441.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002038/0.3007, allocations: 42.91 kB / 441.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.3008, allocations: 31.42 kB / 441.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3008, allocations: 0 / 441.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of Templates: time 0.009596/0.3104, allocations: 4.597 MB / 446.3 MB, free: 6.793 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.542484218254685]