Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.00167/0.00167, allocations: 109.1 kB / 21.19 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.002105/0.002105, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.583/1.583, allocations: 230.5 MB / 258.1 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 55.91 kB / 379 MB, free: 2.531 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3095, allocations: 53.41 MB / 432.4 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.004373/0.3139, allocations: 2.471 MB / 434.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.3157, allocations: 0.7834 MB / 435.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.3158, allocations: 7.938 kB / 435.7 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.316, allocations: 35.59 kB / 435.7 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002445/0.3163, allocations: 111.1 kB / 435.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004421/0.3167, allocations: 131.8 kB / 436 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005868/0.3173, allocations: 466.2 kB / 436.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002275/0.3175, allocations: 69.08 kB / 436.5 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002805/0.3178, allocations: 187.5 kB / 436.7 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.3181, allocations: 211.2 kB / 436.9 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.437e-05/0.3182, allocations: 36 kB / 436.9 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.83e-05/0.3182, allocations: 40 kB / 436.9 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.3183, allocations: 83.73 kB / 437 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.3185, allocations: 179.2 kB / 437.2 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005125/0.319, allocations: 415.7 kB / 437.6 MB, free: 1.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3191, allocations: 0 / 437.6 MB, free: 1.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3191, allocations: 0 / 437.6 MB, free: 1.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.3191, allocations: 0 / 437.6 MB, free: 1.57 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.3208, allocations: 0.6221 MB / 438.2 MB, free: 0.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.3208, allocations: 8.031 kB / 438.2 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.791e-05/0.3209, allocations: 36.75 kB / 438.3 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005073/0.3214, allocations: 210 kB / 438.5 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000188/0.3216, allocations: 139.5 kB / 438.6 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.549e-05/0.3217, allocations: 24 kB / 438.6 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009526/0.3226, allocations: 382.4 kB / 439 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.3226, allocations: 4 kB / 439 MB, free: 68 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.514e-05/0.3227, allocations: 8 kB / 439 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.3227, allocations: 11.98 kB / 439 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.3239, allocations: 395.6 kB / 439.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.3255, allocations: 0.938 MB / 440.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.3266, allocations: 387.6 kB / 440.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006171/0.3272, allocations: 214.4 kB / 440.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.3272, allocations: 4 kB / 441 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/0.3273, allocations: 34.56 kB / 441 MB, free: 14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.665e-06/0.3273, allocations: 7.938 kB / 441 MB, free: 13.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.004913/0.3322, allocations: 1.881 MB / 442.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.108e-05/0.3323, allocations: 106.8 kB / 443 MB, free: 11.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.3325, allocations: 200.3 kB / 443.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/0.3325, allocations: 33.7 kB / 443.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.3327, allocations: 148.8 kB / 443.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.3328, allocations: 142.8 kB / 443.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.333, allocations: 82.06 kB / 443.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.3332, allocations: 338.8 kB / 443.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003305/0.3335, allocations: 104.8 kB / 444 MB, free: 10.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/0.3338, allocations: 169.4 kB / 444.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006626/0.3345, allocations: 292 kB / 444.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3345, allocations: 0 / 444.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008816/0.3354, allocations: 372.9 kB / 444.8 MB, free: 9.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.3354, allocations: 8 kB / 444.8 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.3354, allocations: 7.922 kB / 444.8 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.3354, allocations: 4 kB / 444.8 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007164/0.3362, allocations: 147.9 kB / 445 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.3362, allocations: 7.938 kB / 445 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.3364, allocations: 23.98 kB / 445 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.3364, allocations: 16 kB / 445 MB, free: 9.707 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.000173/0.3366, allocations: 145.8 kB / 445.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.3367, allocations: 31.75 kB / 445.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.845e-05/0.3368, allocations: 29.47 kB / 445.2 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.3368, allocations: 8 kB / 445.2 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.3368, allocations: 3.984 kB / 445.2 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3368, allocations: 4 kB / 445.2 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/0.3394, allocations: 1.296 MB / 446.5 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.3394, allocations: 4 kB / 446.5 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008634/0.3403, allocations: 175.8 kB / 446.7 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/0.3403, allocations: 7.984 kB / 446.7 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/0.3403, allocations: 16.03 kB / 446.7 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-06/0.3403, allocations: 3.938 kB / 446.7 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3403, allocations: 4 kB / 446.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/0.3425, allocations: 0.956 MB / 447.7 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.3426, allocations: 63.81 kB / 447.8 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.094e-05/0.3427, allocations: 11.94 kB / 447.8 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004352/0.3431, allocations: 43.95 kB / 447.8 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.3432, allocations: 43.92 kB / 447.9 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/0.3433, allocations: 12 kB / 447.9 MB, free: 6.723 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.3434, allocations: 155.5 kB / 448 MB, free: 6.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3434, allocations: 3.938 kB / 448 MB, free: 6.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004768/0.3439, allocations: 84 kB / 448.1 MB, free: 6.484 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.0001748/0.3441, allocations: 107.2 kB / 448.2 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.3451, allocations: 355.3 kB / 448.6 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3452, allocations: 0 / 448.6 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006977/0.3459, allocations: 235.7 kB / 448.8 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007395/0.3466, allocations: 72.09 kB / 448.9 MB, free: 5.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005265/0.3519, allocations: 1.47 MB / 450.3 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004974/0.3524, allocations: 0.7643 MB / 451.1 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.3525, allocations: 35.42 kB / 451.1 MB, free: 3.371 MB / 350.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3525, allocations: 192 / 451.1 MB, free: 3.371 MB / 350.1 MB Notification: Performance of Templates: time 0.008178/0.3607, allocations: 3.936 MB / 455.1 MB, free: 15.45 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 7.818228241987526]