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.00178/0.00178, allocations: 111 kB / 21.19 MB, free: 0.6758 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.002206/0.002206, allocations: 215.5 kB / 24.48 MB, free: 3.98 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.483/1.483, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.001577/0.001577, allocations: 51.91 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2284, allocations: 53.37 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003507/0.2319, allocations: 2.289 MB / 434.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.2332, allocations: 0.7445 MB / 435.4 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.2333, allocations: 11.88 kB / 435.4 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.2334, allocations: 47.52 kB / 435.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.2336, allocations: 107.1 kB / 435.5 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.234, allocations: 131.8 kB / 435.6 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004577/0.2344, allocations: 454.2 kB / 436.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.2346, allocations: 72.03 kB / 436.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.2348, allocations: 199.4 kB / 436.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.2351, allocations: 203.3 kB / 436.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.881e-05/0.2351, allocations: 36 kB / 436.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.993e-05/0.2352, allocations: 44 kB / 436.6 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.172e-05/0.2353, allocations: 79.8 kB / 436.7 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.2354, allocations: 159.4 kB / 436.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004345/0.2359, allocations: 418.2 kB / 437.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2359, allocations: 0 / 437.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2359, allocations: 0 / 437.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.2359, allocations: 0 / 437.3 MB, free: 1.758 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.001611/0.2375, allocations: 0.6144 MB / 437.9 MB, free: 1.113 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.2375, allocations: 12.03 kB / 437.9 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.649e-05/0.2376, allocations: 32.75 kB / 437.9 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.238, allocations: 210 kB / 438.1 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/0.2381, allocations: 143.6 kB / 438.3 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.537e-05/0.2382, allocations: 28 kB / 438.3 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009457/0.2391, allocations: 378.4 kB / 438.7 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.2392, allocations: 7.938 kB / 438.7 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.894e-05/0.2392, allocations: 12 kB / 438.7 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.2392, allocations: 4 kB / 438.7 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.2405, allocations: 387.6 kB / 439.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.2417, allocations: 0.8175 MB / 439.9 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.2428, allocations: 387.6 kB / 440.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006264/0.2434, allocations: 210.4 kB / 440.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.2435, allocations: 7.938 kB / 440.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.2435, allocations: 42.55 kB / 440.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.562e-06/0.2435, allocations: 0 / 440.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.004895/0.2484, allocations: 1.873 MB / 442.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.2485, allocations: 110.8 kB / 442.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.2487, allocations: 187 kB / 442.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.967e-05/0.2487, allocations: 37.7 kB / 442.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.2488, allocations: 152.7 kB / 442.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.249, allocations: 146.7 kB / 443 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.2491, allocations: 66.12 kB / 443.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.2493, allocations: 338.8 kB / 443.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003255/0.2496, allocations: 112.8 kB / 443.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/0.25, allocations: 165.5 kB / 443.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006754/0.2506, allocations: 291.2 kB / 444 MB, free: 10.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2507, allocations: 7.938 kB / 444 MB, free: 10.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008586/0.2515, allocations: 360.5 kB / 444.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.2515, allocations: 7.938 kB / 444.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.2515, allocations: 4 kB / 444.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.2516, allocations: 8.875 kB / 444.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007764/0.2523, allocations: 151.9 kB / 444.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.2523, allocations: 3.984 kB / 444.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.2526, allocations: 27.98 kB / 444.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.2526, allocations: 12 kB / 444.5 MB, free: 10.06 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.0001573/0.2528, allocations: 141.8 kB / 444.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.2529, allocations: 35.75 kB / 444.7 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.135e-05/0.2529, allocations: 33.45 kB / 444.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.2529, allocations: 4 kB / 444.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.253, allocations: 4 kB / 444.8 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.253, allocations: 7.922 kB / 444.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002371/0.2553, allocations: 1.194 MB / 446 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.2553, allocations: 0 / 446 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009388/0.2563, allocations: 164 kB / 446.1 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.2563, allocations: 4 kB / 446.1 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.2563, allocations: 15.98 kB / 446.1 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/0.2563, allocations: 7.984 kB / 446.1 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.2563, allocations: 7.938 kB / 446.1 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/0.2584, allocations: 0.9491 MB / 447.1 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.2586, allocations: 55.88 kB / 447.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.36e-05/0.2586, allocations: 8 kB / 447.2 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004486/0.2591, allocations: 51.94 kB / 447.2 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.2592, allocations: 51.75 kB / 447.3 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.2592, allocations: 11.98 kB / 447.3 MB, free: 7.195 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.2593, allocations: 139.3 kB / 447.4 MB, free: 7.059 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2593, allocations: 0 / 447.4 MB, free: 7.059 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00048/0.2598, allocations: 84 kB / 447.5 MB, free: 6.977 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.0001345/0.26, allocations: 107.2 kB / 447.6 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.261, allocations: 358.6 kB / 447.9 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.261, allocations: 0 / 447.9 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006974/0.2617, allocations: 244 kB / 448.2 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007113/0.2624, allocations: 72.69 kB / 448.3 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00525/0.2676, allocations: 1.433 MB / 449.7 MB, free: 4.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.2678, allocations: 159.9 kB / 449.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001639/0.268, allocations: 38.97 kB / 449.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.2681, allocations: 39.36 kB / 449.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2681, allocations: 0 / 449.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of Templates: time 0.009491/0.2776, allocations: 4.915 MB / 454.8 MB, free: 15.61 MB / 366.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 -s gbode -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.588294556000619]