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.001421/0.001421, allocations: 82.28 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001068/0.001068, allocations: 146 kB / 25.6 MB, free: 8.605 MB / 18.57 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 0.9686/0.9686, allocations: 173.4 MB / 202.2 MB, free: 8.305 MB / 186.7 MB " [Timeout remaining time 179] 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.372e-06/1.372e-06, allocations: 0 / 269.2 MB, free: 9.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.663e-05/2.8e-05, allocations: 3.062 kB / 269.2 MB, free: 9.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.00246/0.002488, allocations: 2.435 MB / 271.6 MB, free: 7.367 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008583/0.003347, allocations: 0.7282 MB / 272.3 MB, free: 6.645 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.339e-05/0.00344, allocations: 7.938 kB / 272.3 MB, free: 6.637 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.003558, allocations: 39.58 kB / 272.4 MB, free: 6.598 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.003703, allocations: 116.3 kB / 272.5 MB, free: 6.484 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.003937, allocations: 128.3 kB / 272.6 MB, free: 6.359 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004102/0.004347, allocations: 482.6 kB / 273.1 MB, free: 5.887 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.004468, allocations: 58.14 kB / 273.2 MB, free: 5.824 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002107/0.004679, allocations: 271.4 kB / 273.4 MB, free: 5.559 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.004831, allocations: 171.6 kB / 273.6 MB, free: 5.391 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.965e-05/0.004871, allocations: 37.31 kB / 273.6 MB, free: 5.355 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.573e-05/0.004906, allocations: 36 kB / 273.7 MB, free: 5.32 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.234e-05/0.004959, allocations: 87.72 kB / 273.7 MB, free: 5.234 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.504e-05/0.005044, allocations: 136.2 kB / 273.9 MB, free: 5.102 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.00528, allocations: 303 kB / 274.2 MB, free: 4.805 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.005284, allocations: 4 kB / 274.2 MB, free: 4.801 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.005284, allocations: 0 / 274.2 MB, free: 4.801 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.005289, allocations: 0 / 274.2 MB, free: 4.801 MB / 250.7 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.0007579/0.006047, allocations: 0.6714 MB / 274.8 MB, free: 4.094 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.006078, allocations: 8.031 kB / 274.9 MB, free: 4.086 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.915e-05/0.006157, allocations: 60.7 kB / 274.9 MB, free: 4.027 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.006387, allocations: 228.9 kB / 275.1 MB, free: 3.777 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-05/0.006479, allocations: 135.9 kB / 275.3 MB, free: 3.621 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.006516, allocations: 24.38 kB / 275.3 MB, free: 3.598 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.006851, allocations: 283.7 kB / 275.6 MB, free: 3.301 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.006868, allocations: 15.92 kB / 275.6 MB, free: 3.285 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.00689, allocations: 15.94 kB / 275.6 MB, free: 3.27 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.006896, allocations: 4 kB / 275.6 MB, free: 3.266 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.007068, allocations: 133.9 kB / 275.7 MB, free: 3.137 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009729/0.008041, allocations: 0.8777 MB / 276.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.008284, allocations: 229.1 kB / 276.8 MB, free: 1.957 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.805e-05/0.008382, allocations: 103 kB / 276.9 MB, free: 1.844 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.008398, allocations: 8 kB / 276.9 MB, free: 1.836 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.008421, allocations: 45.38 kB / 277 MB, free: 1.781 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 1.312e-06/0.008422, allocations: 448 / 277 MB, free: 1.781 MB / 250.7 MB Notification: Performance of matching and sorting (n=38): time 0.001164/0.009586, allocations: 1.209 MB / 278.2 MB, free: 412 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.009627, allocations: 106.8 kB / 278.3 MB, free: 280 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.00974, allocations: 242.3 kB / 278.5 MB, free: 20 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.009774, allocations: 33.7 kB / 278.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.798e-05/0.009852, allocations: 199.4 kB / 278.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.055e-05/0.009922, allocations: 146.7 kB / 278.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.33e-05/0.01001, allocations: 83.8 kB / 279 MB, free: 15.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.01012, allocations: 0.5117 MB / 279.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.01022, allocations: 52.95 kB / 279.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.445e-05/0.01031, allocations: 111.1 kB / 279.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.01046, allocations: 176.7 kB / 279.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01046, allocations: 0 / 279.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002523/0.01071, allocations: 252 kB / 280.1 MB, free: 14.4 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.01073, allocations: 4 kB / 280.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.01073, allocations: 0 / 280.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.01074, allocations: 4 kB / 280.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.01103, allocations: 123.8 kB / 280.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.01103, allocations: 8.031 kB / 280.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.911e-05/0.01112, allocations: 20 kB / 280.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.01113, allocations: 8 kB / 280.3 MB, free: 14.23 MB / 266.7 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 9.697e-05/0.01123, allocations: 188.4 kB / 280.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.77e-05/0.0113, allocations: 35.86 kB / 280.5 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.894e-05/0.01133, allocations: 33.47 kB / 280.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.01134, allocations: 7.984 kB / 280.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.01134, allocations: 3.984 kB / 280.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.01135, allocations: 7.938 kB / 280.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008544/0.0122, allocations: 1.078 MB / 281.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.01221, allocations: 8 kB / 281.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003461/0.01255, allocations: 140 kB / 281.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.01256, allocations: 4 kB / 281.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.01258, allocations: 19.92 kB / 281.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.01258, allocations: 7.938 kB / 281.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.01258, allocations: 4 kB / 281.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000504/0.01309, allocations: 0.7627 MB / 282.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.101e-05/0.01316, allocations: 55.75 kB / 282.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.01319, allocations: 8 kB / 282.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.01337, allocations: 39.95 kB / 282.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.485e-05/0.01343, allocations: 43.88 kB / 282.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.01345, allocations: 15.98 kB / 282.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.01e-05/0.01351, allocations: 159.1 kB / 282.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01351, allocations: 0 / 282.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002738/0.01378, allocations: 80 kB / 282.9 MB, free: 11.4 MB / 266.7 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.0001094/0.01389, allocations: 117.3 kB / 283 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005036/0.01439, allocations: 189.4 kB / 283.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01439, allocations: 8.125 kB / 283.2 MB, free: 11.08 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.01452, allocations: 135.4 kB / 283.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.01494, allocations: 77.16 kB / 283.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.01719, allocations: 1.183 MB / 284.6 MB, free: 9.629 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.432e-05/0.01726, allocations: 92.81 kB / 284.7 MB, free: 9.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001081/0.01737, allocations: 38.97 kB / 284.8 MB, free: 9.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.01755, allocations: 142.1 kB / 284.9 MB, free: 9.34 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01755, allocations: 0 / 284.9 MB, free: 9.34 MB / 266.7 MB Notification: Performance of Templates: time 0.006793/0.02434, allocations: 4.987 MB / 289.9 MB, free: 4.426 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.810582407284528]