Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001773/0.001773, allocations: 110 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002124/0.002124, allocations: 218.4 kB / 24.48 MB, free: 4.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.464/1.464, allocations: 230.4 MB / 258.1 MB, free: 8.129 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.84 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2136, allocations: 53.31 MB / 432 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003739/0.2173, allocations: 2.475 MB / 434.5 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.2186, allocations: 0.7834 MB / 435.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.2187, allocations: 4 kB / 435.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.2189, allocations: 43.53 kB / 435.3 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.2191, allocations: 111.1 kB / 435.4 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.2194, allocations: 126.1 kB / 435.6 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000491/0.2199, allocations: 466.3 kB / 436 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.22, allocations: 56.91 kB / 436.1 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002353/0.2203, allocations: 191.4 kB / 436.3 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002715/0.2205, allocations: 207.3 kB / 436.5 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.857e-05/0.2206, allocations: 40 kB / 436.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.696e-05/0.2207, allocations: 36 kB / 436.5 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.731e-05/0.2208, allocations: 91.72 kB / 436.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.2209, allocations: 171.2 kB / 436.8 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000437/0.2214, allocations: 420 kB / 437.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2214, allocations: 0 / 437.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2214, allocations: 0 / 437.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.2214, allocations: 0 / 437.2 MB, free: 2.172 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.001662/0.223, allocations: 0.6859 MB / 437.9 MB, free: 1.438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.2231, allocations: 8.031 kB / 437.9 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.73e-05/0.2232, allocations: 32.75 kB / 437.9 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.2236, allocations: 280.7 kB / 438.2 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.2237, allocations: 88.27 kB / 438.3 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.857e-05/0.2237, allocations: 24 kB / 438.3 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009653/0.2247, allocations: 379.2 kB / 438.7 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.2247, allocations: 7.938 kB / 438.7 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.541e-05/0.2248, allocations: 8 kB / 438.7 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.2248, allocations: 12 kB / 438.7 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.2261, allocations: 394.8 kB / 439.1 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.2275, allocations: 0.978 MB / 440.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.2286, allocations: 391.5 kB / 440.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006641/0.2293, allocations: 210.4 kB / 440.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.2293, allocations: 11.92 kB / 440.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.2293, allocations: 42.56 kB / 440.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.733e-06/0.2293, allocations: 0 / 440.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.005302/0.2346, allocations: 2.316 MB / 443 MB, free: 11.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/0.2347, allocations: 118.7 kB / 443.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.2349, allocations: 204.1 kB / 443.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.235, allocations: 33.7 kB / 443.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.2351, allocations: 148.8 kB / 443.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.2352, allocations: 142.8 kB / 443.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.2353, allocations: 74.08 kB / 443.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.2355, allocations: 338.8 kB / 444.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003537/0.2359, allocations: 108.8 kB / 444.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003782/0.2362, allocations: 173.5 kB / 444.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007133/0.237, allocations: 292 kB / 444.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.237, allocations: 0 / 444.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008895/0.2378, allocations: 365.2 kB / 445 MB, free: 9.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.2379, allocations: 15.92 kB / 445 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.2379, allocations: 3.984 kB / 445 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.2379, allocations: 4.094 kB / 445 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007672/0.2387, allocations: 151.8 kB / 445.2 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.2387, allocations: 4 kB / 445.2 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.2389, allocations: 23.98 kB / 445.2 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.2389, allocations: 12 kB / 445.2 MB, free: 9.605 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.0001569/0.2391, allocations: 141.8 kB / 445.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.2392, allocations: 43.73 kB / 445.4 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.174e-05/0.2393, allocations: 29.53 kB / 445.4 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.2393, allocations: 3.984 kB / 445.4 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.2393, allocations: 4 kB / 445.4 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.2394, allocations: 124.9 kB / 445.5 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.467e-05/0.2395, allocations: 8 kB / 445.5 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007759/0.2403, allocations: 95.88 kB / 445.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.962e-05/0.2404, allocations: 35.89 kB / 445.7 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001964/0.2423, allocations: 0.7564 MB / 446.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002227/0.2446, allocations: 0.9883 MB / 447.4 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006671/0.2452, allocations: 207.8 kB / 447.6 MB, free: 7.129 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001409/0.2454, allocations: 156.6 kB / 447.8 MB, free: 6.977 MB / 350.1 MB Notification: Performance of Backend: time 2.7e-07/0.2454, allocations: 0 / 447.8 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009282/0.2463, allocations: 263.6 kB / 448 MB, free: 6.719 MB / 350.1 MB Notification: Performance of SimCode: time 0.001624/0.2479, allocations: 1.267 MB / 449.3 MB, free: 5.406 MB / 350.1 MB Notification: Performance of Templates: time 0.009345/0.2573, allocations: 4.71 MB / 454 MB, free: 0.7266 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.289240235928446]