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.0008266/0.0008266, allocations: 88.33 kB / 21.44 MB, free: 3.113 MB / 18.57 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.003787/0.003787, allocations: 153.6 kB / 24.69 MB, free: 8.906 MB / 18.57 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 0.8585/0.8585, allocations: 177 MB / 204.9 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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 1.322e-06/1.322e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.732e-05/2.864e-05, allocations: 11.2 kB / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.00236/0.002389, allocations: 2.286 MB / 328.1 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.003808, allocations: 0.7366 MB / 328.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.003948, allocations: 11.94 kB / 328.8 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.004071, allocations: 43.58 kB / 328.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001953/0.004266, allocations: 115 kB / 329 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.00459, allocations: 131.2 kB / 329.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003389/0.004929, allocations: 489.9 kB / 329.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.005074, allocations: 69.02 kB / 329.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002465/0.00532, allocations: 263.5 kB / 329.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.005466, allocations: 167.6 kB / 330.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.638e-05/0.005513, allocations: 40 kB / 330.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.357e-05/0.005546, allocations: 36 kB / 330.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.195e-05/0.005598, allocations: 87.72 kB / 330.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.481e-05/0.005683, allocations: 127.7 kB / 330.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003244/0.006007, allocations: 442.8 kB / 330.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.006011, allocations: 0 / 330.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.006013, allocations: 3.938 kB / 330.8 MB, free: 10.37 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.279e-06/0.006018, allocations: 0 / 330.8 MB, free: 10.37 MB / 298.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.0009142/0.006932, allocations: 0.6105 MB / 331.4 MB, free: 9.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.006968, allocations: 15.98 kB / 331.4 MB, free: 9.715 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.247e-05/0.00703, allocations: 40.64 kB / 331.4 MB, free: 9.676 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.007336, allocations: 209.7 kB / 331.6 MB, free: 9.445 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.007437, allocations: 143.8 kB / 331.8 MB, free: 9.281 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.556e-05/0.007483, allocations: 28.38 kB / 331.8 MB, free: 9.254 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005123/0.007995, allocations: 374.6 kB / 332.2 MB, free: 8.875 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.008013, allocations: 7.953 kB / 332.2 MB, free: 8.867 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.008036, allocations: 8 kB / 332.2 MB, free: 8.859 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.008044, allocations: 8 kB / 332.2 MB, free: 8.852 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006201/0.008665, allocations: 391.6 kB / 332.6 MB, free: 8.469 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008229/0.009488, allocations: 0.8061 MB / 333.4 MB, free: 7.621 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005825/0.01007, allocations: 391.7 kB / 333.8 MB, free: 7.211 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/0.01039, allocations: 198.4 kB / 334 MB, free: 7.008 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.01041, allocations: 8 kB / 334 MB, free: 7 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.01043, allocations: 42.48 kB / 334 MB, free: 6.949 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 2.184e-06/0.01044, allocations: 4 kB / 334 MB, free: 6.945 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.002766/0.0132, allocations: 1.878 MB / 335.9 MB, free: 4.914 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.077e-05/0.01328, allocations: 110.8 kB / 336 MB, free: 4.781 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.01341, allocations: 186.5 kB / 336.2 MB, free: 4.586 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.01343, allocations: 37.7 kB / 336.2 MB, free: 4.543 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.768e-05/0.0135, allocations: 156.7 kB / 336.4 MB, free: 4.387 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.802e-05/0.01358, allocations: 142.7 kB / 336.5 MB, free: 4.246 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.232e-05/0.01366, allocations: 74.17 kB / 336.6 MB, free: 4.168 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.595e-05/0.01375, allocations: 338.8 kB / 336.9 MB, free: 3.828 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.01392, allocations: 108.9 kB / 337 MB, free: 3.723 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/0.01411, allocations: 166 kB / 337.2 MB, free: 3.539 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003636/0.01447, allocations: 291.2 kB / 337.5 MB, free: 3.242 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.01447, allocations: 0 / 337.5 MB, free: 3.242 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004434/0.01491, allocations: 371.8 kB / 337.8 MB, free: 2.875 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.01493, allocations: 12.03 kB / 337.9 MB, free: 2.863 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.01493, allocations: 4 kB / 337.9 MB, free: 2.859 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.01495, allocations: 4 kB / 337.9 MB, free: 2.855 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003295/0.01528, allocations: 143.8 kB / 338 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.01529, allocations: 7.938 kB / 338 MB, free: 2.707 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.01539, allocations: 27.98 kB / 338 MB, free: 2.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.0154, allocations: 12 kB / 338 MB, free: 2.668 MB / 298.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.963e-05/0.0155, allocations: 149.8 kB / 338.2 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.16e-05/0.01556, allocations: 31.81 kB / 338.2 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.263e-05/0.0156, allocations: 25.47 kB / 338.3 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.0156, allocations: 7.984 kB / 338.3 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.01561, allocations: 3.938 kB / 338.3 MB, free: 2.441 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.01562, allocations: 0 / 338.3 MB, free: 2.441 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.01689, allocations: 1.198 MB / 339.5 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.01689, allocations: 0 / 339.5 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004046/0.0173, allocations: 171.7 kB / 339.6 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.0173, allocations: 8 kB / 339.6 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.01732, allocations: 11.98 kB / 339.6 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.01733, allocations: 4 kB / 339.7 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.01733, allocations: 4 kB / 339.7 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.0184, allocations: 0.9458 MB / 340.6 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.301e-05/0.01848, allocations: 59.78 kB / 340.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.01851, allocations: 12 kB / 340.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.0187, allocations: 47.88 kB / 340.7 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.105e-05/0.01877, allocations: 43.88 kB / 340.8 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.01879, allocations: 12 kB / 340.8 MB, free: 15.81 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.587e-05/0.01886, allocations: 150.9 kB / 340.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01886, allocations: 4 kB / 340.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002813/0.01914, allocations: 80 kB / 341 MB, free: 15.58 MB / 314.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.0001062/0.01925, allocations: 107.2 kB / 341.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005541/0.01981, allocations: 348.5 kB / 341.4 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.01981, allocations: 0 / 341.4 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003537/0.02016, allocations: 244.2 kB / 341.7 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.02058, allocations: 74.5 kB / 341.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002686/0.02327, allocations: 1.327 MB / 343.1 MB, free: 13.44 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.02338, allocations: 160 kB / 343.2 MB, free: 13.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.46e-05/0.02346, allocations: 32.48 kB / 343.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02346, allocations: 0 / 343.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of Templates: time 0.004212/0.02768, allocations: 4.007 MB / 347.3 MB, free: 9.238 MB / 314.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins/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: 4.120219464413822]