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.001899/0.001899, allocations: 80.67 kB / 20.68 MB, free: 1.035 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.00211/0.00211, allocations: 154.9 kB / 23.94 MB, free: 4.176 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.437/1.437, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.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 1.512e-06/1.512e-06, allocations: 0.6562 kB / 318.9 MB, free: 3.578 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.646e-05/1.797e-05, allocations: 3.281 kB / 318.9 MB, free: 3.574 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002597/0.002615, allocations: 2.265 MB / 321.2 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.003618, allocations: 0.7067 MB / 321.9 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.003732, allocations: 12.12 kB / 321.9 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.00386, allocations: 46.25 kB / 321.9 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.004046, allocations: 116.5 kB / 322.1 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.004358, allocations: 127.2 kB / 322.2 MB, free: 1.359 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003584/0.004717, allocations: 493.2 kB / 322.7 MB, free: 1.105 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.004851, allocations: 59.52 kB / 322.7 MB, free: 1.07 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002728/0.005124, allocations: 263.7 kB / 323 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.00534, allocations: 169.1 kB / 323.1 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.904e-05/0.005399, allocations: 42.03 kB / 323.2 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.375e-05/0.005463, allocations: 37.81 kB / 323.2 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.951e-05/0.005532, allocations: 85.75 kB / 323.3 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.005664, allocations: 131.4 kB / 323.4 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004189/0.006082, allocations: 441.1 kB / 323.9 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.006085, allocations: 3.938 kB / 323.9 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.12e-07/0.006086, allocations: 3.938 kB / 323.9 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.006091, allocations: 4 kB / 323.9 MB, free: 0.5977 MB / 286.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.001403/0.007494, allocations: 0.6083 MB / 324.5 MB, free: 196 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.007524, allocations: 9.797 kB / 324.5 MB, free: 196 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.942e-05/0.007603, allocations: 34.97 kB / 324.5 MB, free: 180 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.007909, allocations: 222 kB / 324.7 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/0.008061, allocations: 140.1 kB / 324.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.117e-05/0.008123, allocations: 26.75 kB / 324.9 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009364/0.009059, allocations: 378.6 kB / 325.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.009084, allocations: 11.45 kB / 325.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.737e-05/0.009121, allocations: 9.375 kB / 325.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.009129, allocations: 10.88 kB / 325.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.01037, allocations: 389.3 kB / 325.7 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.01166, allocations: 0.7995 MB / 326.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.01282, allocations: 386.1 kB / 326.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006623/0.01349, allocations: 212.4 kB / 327.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.01351, allocations: 8.125 kB / 327.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.01355, allocations: 41.86 kB / 327.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.643e-06/0.01355, allocations: 1.5 kB / 327.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=38): time 0.005008/0.01856, allocations: 1.873 MB / 329 MB, free: 13.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.63e-05/0.01864, allocations: 113.2 kB / 329.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.01886, allocations: 192.2 kB / 329.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/0.0189, allocations: 35.14 kB / 329.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.01901, allocations: 156.2 kB / 329.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.01914, allocations: 142.5 kB / 329.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.01928, allocations: 71.23 kB / 329.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.01945, allocations: 336.2 kB / 330 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003304/0.01978, allocations: 110.7 kB / 330.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003797/0.02016, allocations: 173 kB / 330.3 MB, free: 12.56 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006755/0.02083, allocations: 283.7 kB / 330.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.02084, allocations: 1.25 kB / 330.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008585/0.0217, allocations: 375 kB / 330.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.02171, allocations: 8.656 kB / 330.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.02172, allocations: 2.891 kB / 330.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.02174, allocations: 3.219 kB / 330.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007404/0.02248, allocations: 156.4 kB / 331.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.02249, allocations: 2.531 kB / 331.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.02273, allocations: 22.94 kB / 331.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.02275, allocations: 14.5 kB / 331.1 MB, free: 12.24 MB / 302.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.0001614/0.02291, allocations: 147.1 kB / 331.3 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.974e-05/0.02301, allocations: 25.12 kB / 331.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.849e-05/0.02308, allocations: 33.44 kB / 331.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.02309, allocations: 3.625 kB / 331.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.0231, allocations: 5 kB / 331.4 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.0231, allocations: 3.75 kB / 331.4 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/0.02554, allocations: 1.196 MB / 332.6 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.02554, allocations: 2.406 kB / 332.6 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008998/0.02644, allocations: 166.3 kB / 332.7 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.02645, allocations: 3.719 kB / 332.7 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/0.02649, allocations: 17.89 kB / 332.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.02649, allocations: 4 kB / 332.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.02649, allocations: 2.969 kB / 332.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002144/0.02864, allocations: 0.9564 MB / 333.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.02876, allocations: 56.86 kB / 333.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.511e-05/0.02881, allocations: 16.55 kB / 333.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000435/0.02925, allocations: 41.92 kB / 333.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.02936, allocations: 49.77 kB / 333.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.02939, allocations: 18.45 kB / 333.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001378/0.02953, allocations: 142.5 kB / 334 MB, free: 10.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.02953, allocations: 0 / 334 MB, free: 10.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004412/0.02997, allocations: 79.16 kB / 334.1 MB, free: 10.29 MB / 302.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.0001372/0.03011, allocations: 115.4 kB / 334.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.03113, allocations: 353.8 kB / 334.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.03114, allocations: 0 / 334.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007004/0.03184, allocations: 243.9 kB / 334.8 MB, free: 9.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006826/0.03252, allocations: 56.95 kB / 334.8 MB, free: 9.902 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004986/0.03751, allocations: 1.293 MB / 336.1 MB, free: 9.094 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.03767, allocations: 159.2 kB / 336.3 MB, free: 8.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001525/0.03782, allocations: 39.83 kB / 336.3 MB, free: 8.961 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.03795, allocations: 32.8 kB / 336.4 MB, free: 8.949 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.03795, allocations: 0 / 336.4 MB, free: 8.949 MB / 302.1 MB Notification: Performance of Templates: time 0.00929/0.04724, allocations: 4.43 MB / 340.8 MB, free: 5.266 MB / 302.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.331489525735378]