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.001282/0.001282, allocations: 119.3 kB / 21.18 MB, free: 0.6289 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.001427/0.001427, allocations: 206.8 kB / 24.46 MB, free: 3.902 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.415/1.415, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.001909/0.001909, allocations: 71.83 kB / 378.7 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2646, allocations: 53.31 MB / 432 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003905/0.2686, allocations: 2.476 MB / 434.5 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.27, allocations: 0.7795 MB / 435.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.2702, allocations: 4 kB / 435.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.2703, allocations: 43.52 kB / 435.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002253/0.2705, allocations: 103.1 kB / 435.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.2709, allocations: 131.8 kB / 435.6 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005135/0.2714, allocations: 458.2 kB / 436 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.2716, allocations: 64.89 kB / 436.1 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002546/0.2718, allocations: 191.4 kB / 436.3 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/0.2721, allocations: 211.2 kB / 436.5 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.317e-05/0.2722, allocations: 40 kB / 436.5 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.14e-05/0.2722, allocations: 36 kB / 436.5 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.319e-05/0.2723, allocations: 87.72 kB / 436.6 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.2725, allocations: 175.2 kB / 436.8 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004522/0.273, allocations: 416 kB / 437.2 MB, free: 2.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.273, allocations: 0 / 437.2 MB, free: 2.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.273, allocations: 0 / 437.2 MB, free: 2.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.273, allocations: 0 / 437.2 MB, free: 2.215 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.001716/0.2747, allocations: 0.6936 MB / 437.9 MB, free: 1.473 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.2747, allocations: 12.03 kB / 437.9 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.558e-05/0.2748, allocations: 32.75 kB / 437.9 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004878/0.2753, allocations: 272.7 kB / 438.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.2754, allocations: 84.27 kB / 438.3 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.836e-05/0.2755, allocations: 31.98 kB / 438.3 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009167/0.2764, allocations: 383.1 kB / 438.7 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.2765, allocations: 0 / 438.7 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.841e-05/0.2765, allocations: 12 kB / 438.7 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.2765, allocations: 8 kB / 438.7 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.2777, allocations: 387.6 kB / 439.1 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.2791, allocations: 0.9819 MB / 440.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.2802, allocations: 387.6 kB / 440.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000622/0.2808, allocations: 214.4 kB / 440.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.2808, allocations: 4 kB / 440.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.2808, allocations: 42.55 kB / 440.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.623e-06/0.2808, allocations: 0 / 440.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.00508/0.2859, allocations: 2.324 MB / 443 MB, free: 11.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.286, allocations: 114.8 kB / 443.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.2862, allocations: 199.2 kB / 443.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.926e-05/0.2862, allocations: 33.7 kB / 443.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.2864, allocations: 152.8 kB / 443.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.2865, allocations: 134.8 kB / 443.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.2866, allocations: 82.06 kB / 443.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.2868, allocations: 338.8 kB / 444.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003254/0.2871, allocations: 108.8 kB / 444.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003504/0.2874, allocations: 165.4 kB / 444.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006665/0.2881, allocations: 295.8 kB / 444.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2881, allocations: 0 / 444.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008319/0.2889, allocations: 375.7 kB / 445 MB, free: 9.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.289, allocations: 10.81 kB / 445 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.289, allocations: 0 / 445 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.289, allocations: 7.938 kB / 445 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007318/0.2897, allocations: 147.9 kB / 445.2 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.2897, allocations: 4 kB / 445.2 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.29, allocations: 31.97 kB / 445.2 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.29, allocations: 12 kB / 445.2 MB, free: 9.652 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.2901, allocations: 141.8 kB / 445.3 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.2902, allocations: 35.75 kB / 445.4 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.537e-05/0.2903, allocations: 34.45 kB / 445.4 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.2903, allocations: 4 kB / 445.4 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.2903, allocations: 7.938 kB / 445.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2903, allocations: 4 kB / 445.4 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002386/0.2927, allocations: 1.327 MB / 446.7 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2927, allocations: 0 / 446.7 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008597/0.2936, allocations: 167.8 kB / 446.9 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.866e-06/0.2936, allocations: 8.031 kB / 446.9 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.2936, allocations: 15.92 kB / 446.9 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.2936, allocations: 4 kB / 446.9 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.2936, allocations: 7.938 kB / 446.9 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002038/0.2957, allocations: 0.9516 MB / 447.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.2958, allocations: 128.9 kB / 448 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.378e-05/0.2959, allocations: 15.94 kB / 448 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004191/0.2963, allocations: 47.88 kB / 448.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.2964, allocations: 35.95 kB / 448.1 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.2964, allocations: 19.98 kB / 448.1 MB, free: 6.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.2966, allocations: 148.6 kB / 448.3 MB, free: 6.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2966, allocations: 0 / 448.3 MB, free: 6.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004501/0.297, allocations: 87.94 kB / 448.4 MB, free: 6.316 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.0001484/0.2972, allocations: 111.1 kB / 448.5 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.2982, allocations: 351.8 kB / 448.8 MB, free: 5.855 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2982, allocations: 4 kB / 448.8 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006819/0.2989, allocations: 240.5 kB / 449.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006865/0.2996, allocations: 80.53 kB / 449.1 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005132/0.3047, allocations: 1.472 MB / 450.6 MB, free: 4.016 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.3051, allocations: 0.772 MB / 451.4 MB, free: 3.211 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.3052, allocations: 35.42 kB / 451.4 MB, free: 3.18 MB / 350.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3052, allocations: 0 / 451.4 MB, free: 3.18 MB / 350.1 MB Notification: Performance of Templates: time 0.006676/0.3119, allocations: 3.917 MB / 455.3 MB, free: 15.27 MB / 366.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: 7.023219476919621]