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.001341/0.001341, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001444/0.001444, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.564/1.564, allocations: 230.4 MB / 258.1 MB, free: 8.156 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.001999/0.001999, allocations: 67.83 kB / 378.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3061, allocations: 53.31 MB / 432 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.004283/0.3104, allocations: 2.472 MB / 434.5 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.3122, allocations: 0.7795 MB / 435.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.3124, allocations: 4 kB / 435.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002324/0.3126, allocations: 47.52 kB / 435.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003487/0.3129, allocations: 107.1 kB / 435.4 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004282/0.3134, allocations: 126.9 kB / 435.6 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005479/0.3139, allocations: 470.2 kB / 436 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/0.3141, allocations: 64.89 kB / 436.1 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002704/0.3144, allocations: 191.4 kB / 436.3 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002882/0.3147, allocations: 203.3 kB / 436.5 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.847e-05/0.3147, allocations: 36 kB / 436.5 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.3149, allocations: 40 kB / 436.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.315, allocations: 87.72 kB / 436.6 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002722/0.3153, allocations: 171.3 kB / 436.8 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005323/0.3158, allocations: 419.9 kB / 437.2 MB, free: 2.211 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3158, allocations: 0 / 437.2 MB, free: 2.211 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3158, allocations: 0 / 437.2 MB, free: 2.211 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.3158, allocations: 4 kB / 437.2 MB, free: 2.207 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.001843/0.3177, allocations: 0.682 MB / 437.9 MB, free: 1.477 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3177, allocations: 8.031 kB / 437.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.3178, allocations: 36.75 kB / 437.9 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004925/0.3183, allocations: 280.7 kB / 438.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.3184, allocations: 88.27 kB / 438.3 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.935e-05/0.3185, allocations: 24 kB / 438.3 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009922/0.3195, allocations: 383.1 kB / 438.7 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.3195, allocations: 8 kB / 438.7 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.307e-05/0.3195, allocations: 4 kB / 438.7 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.949e-05/0.3196, allocations: 8 kB / 438.7 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.3209, allocations: 391.6 kB / 439.1 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.3226, allocations: 0.978 MB / 440.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.3238, allocations: 387.5 kB / 440.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006817/0.3244, allocations: 218.4 kB / 440.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.3245, allocations: 11.92 kB / 440.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.3245, allocations: 34.56 kB / 440.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.954e-06/0.3245, allocations: 0 / 440.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.005547/0.3301, allocations: 2.317 MB / 443 MB, free: 11.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.678e-05/0.3302, allocations: 114.8 kB / 443.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.3304, allocations: 208.1 kB / 443.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.73e-05/0.3304, allocations: 33.7 kB / 443.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.3306, allocations: 148.8 kB / 443.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.3307, allocations: 142.8 kB / 443.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.3309, allocations: 70.08 kB / 443.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.331, allocations: 338.8 kB / 444.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003385/0.3314, allocations: 112.8 kB / 444.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003727/0.3318, allocations: 169.5 kB / 444.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006915/0.3324, allocations: 290.8 kB / 444.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3325, allocations: 4 kB / 444.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009506/0.3334, allocations: 377 kB / 445 MB, free: 9.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.3334, allocations: 4 kB / 445 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.3334, allocations: 3.984 kB / 445 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.3335, allocations: 4 kB / 445 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007248/0.3342, allocations: 147.9 kB / 445.1 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/0.3342, allocations: 11.92 kB / 445.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.3344, allocations: 19.98 kB / 445.2 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.3345, allocations: 20 kB / 445.2 MB, free: 9.641 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.0001923/0.3347, allocations: 141.8 kB / 445.3 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.3348, allocations: 31.75 kB / 445.4 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.561e-05/0.3349, allocations: 37.52 kB / 445.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.3349, allocations: 4 kB / 445.4 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.3349, allocations: 0 / 445.4 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/0.3349, allocations: 3.984 kB / 445.4 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002661/0.3375, allocations: 1.323 MB / 446.7 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.3375, allocations: 4 kB / 446.7 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008658/0.3384, allocations: 164 kB / 446.9 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.3384, allocations: 4 kB / 446.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001231/0.3385, allocations: 19.92 kB / 446.9 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.3385, allocations: 8 kB / 446.9 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.171e-05/0.3385, allocations: 3.938 kB / 446.9 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002199/0.3407, allocations: 0.9477 MB / 447.9 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.3409, allocations: 132.9 kB / 448 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.787e-05/0.341, allocations: 19.92 kB / 448 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004209/0.3414, allocations: 43.95 kB / 448.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.3415, allocations: 39.89 kB / 448.1 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/0.3415, allocations: 15.98 kB / 448.1 MB, free: 6.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001519/0.3417, allocations: 152.6 kB / 448.3 MB, free: 6.398 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3417, allocations: 4 kB / 448.3 MB, free: 6.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004593/0.3421, allocations: 76 kB / 448.4 MB, free: 6.32 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.0001545/0.3423, allocations: 117.9 kB / 448.5 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.3434, allocations: 362.2 kB / 448.8 MB, free: 5.848 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3434, allocations: 0 / 448.8 MB, free: 5.848 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000702/0.3441, allocations: 243.9 kB / 449.1 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007121/0.3448, allocations: 78.19 kB / 449.1 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00556/0.3504, allocations: 1.447 MB / 450.6 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004624/0.3508, allocations: 0.772 MB / 451.4 MB, free: 3.234 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001777/0.351, allocations: 46.94 kB / 451.4 MB, free: 3.188 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.3512, allocations: 31.42 kB / 451.4 MB, free: 3.16 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3512, allocations: 0 / 451.4 MB, free: 3.16 MB / 350.1 MB Notification: Performance of Templates: time 0.009576/0.3608, allocations: 4.491 MB / 455.9 MB, free: 14.7 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 -s cvode -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.74488535290584]