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.001585/0.001585, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001683/0.001683, allocations: 209.7 kB / 24.49 MB, free: 3.965 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.422/1.422, allocations: 230.6 MB / 258.3 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.001581/0.001581, allocations: 47.92 kB / 379 MB, free: 2.531 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2043, allocations: 53.38 MB / 432.3 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003734/0.208, allocations: 2.289 MB / 434.6 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.2095, allocations: 0.7484 MB / 435.4 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.2096, allocations: 4 kB / 435.4 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.2098, allocations: 43.52 kB / 435.4 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.21, allocations: 107.1 kB / 435.5 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.2104, allocations: 131.8 kB / 435.7 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004953/0.2109, allocations: 458.2 kB / 436.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.211, allocations: 68.73 kB / 436.2 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002563/0.2113, allocations: 195.4 kB / 436.4 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000271/0.2116, allocations: 211.2 kB / 436.6 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.075e-05/0.2116, allocations: 36 kB / 436.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.011e-05/0.2117, allocations: 40 kB / 436.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.482e-05/0.2118, allocations: 83.8 kB / 436.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.212, allocations: 155.4 kB / 436.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004805/0.2125, allocations: 417.5 kB / 437.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2125, allocations: 0 / 437.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2125, allocations: 0 / 437.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.2125, allocations: 0 / 437.3 MB, free: 1.805 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.001698/0.2142, allocations: 0.6183 MB / 437.9 MB, free: 1.156 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.2142, allocations: 11.97 kB / 437.9 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.08e-05/0.2143, allocations: 36.75 kB / 437.9 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003985/0.2147, allocations: 210 kB / 438.1 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/0.2149, allocations: 139.6 kB / 438.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.265e-05/0.2149, allocations: 28 kB / 438.3 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009886/0.2159, allocations: 386.3 kB / 438.7 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.2159, allocations: 0 / 438.7 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.241e-05/0.216, allocations: 12 kB / 438.7 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.216, allocations: 4 kB / 438.7 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.2173, allocations: 390.3 kB / 439.1 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.2186, allocations: 0.8175 MB / 439.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.2197, allocations: 387.6 kB / 440.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006459/0.2203, allocations: 214.3 kB / 440.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.2204, allocations: 8 kB / 440.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.2204, allocations: 38.55 kB / 440.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.754e-06/0.2204, allocations: 0 / 440.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.004869/0.2253, allocations: 1.877 MB / 442.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.2253, allocations: 106.9 kB / 442.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.2255, allocations: 190.9 kB / 442.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.2256, allocations: 29.7 kB / 442.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.2257, allocations: 156.7 kB / 442.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.2258, allocations: 146.7 kB / 443 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.2259, allocations: 78.12 kB / 443.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.2261, allocations: 338.8 kB / 443.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003349/0.2264, allocations: 108.8 kB / 443.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003603/0.2268, allocations: 161.5 kB / 443.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000689/0.2275, allocations: 299.1 kB / 444 MB, free: 10.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2275, allocations: 0 / 444 MB, free: 10.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008497/0.2283, allocations: 361.2 kB / 444.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.2283, allocations: 4 kB / 444.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.2283, allocations: 3.938 kB / 444.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.2284, allocations: 8.031 kB / 444.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007433/0.2291, allocations: 143.8 kB / 444.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.2291, allocations: 11.98 kB / 444.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/0.2294, allocations: 23.98 kB / 444.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.2294, allocations: 16 kB / 444.6 MB, free: 10.1 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.0001452/0.2295, allocations: 141.8 kB / 444.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.2296, allocations: 27.81 kB / 444.7 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.952e-05/0.2297, allocations: 45.33 kB / 444.8 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2297, allocations: 4 kB / 444.8 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2297, allocations: 0 / 444.8 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.2298, allocations: 55.8 kB / 444.8 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.094e-05/0.2299, allocations: 4 kB / 444.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007469/0.2306, allocations: 99.88 kB / 444.9 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.2307, allocations: 31.94 kB / 445 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001888/0.2326, allocations: 0.7492 MB / 445.7 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002084/0.2347, allocations: 0.9937 MB / 446.7 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006193/0.2353, allocations: 203.9 kB / 446.9 MB, free: 7.719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.2354, allocations: 139 kB / 447 MB, free: 7.582 MB / 350.1 MB Notification: Performance of Backend: time 1.71e-07/0.2354, allocations: 0 / 447 MB, free: 7.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008992/0.2363, allocations: 259.7 kB / 447.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of SimCode: time 0.001564/0.2379, allocations: 1.265 MB / 448.5 MB, free: 6.012 MB / 350.1 MB Notification: Performance of Templates: time 0.009753/0.2477, allocations: 5.331 MB / 453.9 MB, free: 0.7422 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: 4.249493384995731]