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.001289/0.001289, allocations: 115.8 kB / 19.18 MB, free: 3.762 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.00138/0.00138, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.475/1.475, allocations: 230.4 MB / 255.4 MB, free: 15.04 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.002033/0.002033, allocations: 75.83 kB / 374.7 MB, free: 9.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1083, allocations: 53.32 MB / 428 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.00398/0.1123, allocations: 2.47 MB / 430.5 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.114, allocations: 0.7717 MB / 431.3 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002634/0.1143, allocations: 7.938 kB / 431.3 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002102/0.1145, allocations: 35.59 kB / 431.3 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003507/0.1149, allocations: 107.1 kB / 431.4 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.1153, allocations: 131.8 kB / 431.6 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00062/0.1159, allocations: 466.2 kB / 432 MB, free: 396 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.1161, allocations: 56.95 kB / 432.1 MB, free: 328 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003339/0.1165, allocations: 187.5 kB / 432.3 MB, free: 140 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2114/0.3278, allocations: 208.7 kB / 432.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.328, allocations: 36.81 kB / 432.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.3281, allocations: 38.25 kB / 432.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.3282, allocations: 81.73 kB / 432.6 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.3284, allocations: 179.1 kB / 432.8 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005225/0.329, allocations: 419.2 kB / 433.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.329, allocations: 0 / 433.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.329, allocations: 0.9062 kB / 433.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.329, allocations: 0.75 kB / 433.2 MB, free: 8.883 MB / 350.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.001553/0.3305, allocations: 0.6901 MB / 433.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.3306, allocations: 9.125 kB / 433.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.335e-05/0.3307, allocations: 37.94 kB / 433.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.331, allocations: 270.4 kB / 434.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.753e-05/0.3311, allocations: 86.8 kB / 434.3 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.329e-05/0.3312, allocations: 26.31 kB / 434.3 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008673/0.3321, allocations: 386.4 kB / 434.7 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.3321, allocations: 3.969 kB / 434.7 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.3321, allocations: 6.688 kB / 434.7 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.3321, allocations: 7.375 kB / 434.7 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.3333, allocations: 391.1 kB / 435.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.3345, allocations: 0.9602 MB / 436 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.3356, allocations: 397 kB / 436.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000611/0.3362, allocations: 209.4 kB / 436.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.3362, allocations: 10.53 kB / 436.7 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.3363, allocations: 41.08 kB / 436.7 MB, free: 7.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.753e-06/0.3363, allocations: 0 / 436.7 MB, free: 7.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.004652/0.3409, allocations: 2.324 MB / 439 MB, free: 6.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.341, allocations: 107.5 kB / 439.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.3412, allocations: 210.9 kB / 439.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.3412, allocations: 31.14 kB / 439.4 MB, free: 5.703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.442e-05/0.3413, allocations: 148.5 kB / 439.5 MB, free: 5.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.921e-05/0.3413, allocations: 143.5 kB / 439.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.3415, allocations: 74.95 kB / 439.7 MB, free: 5.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.893e-05/0.3415, allocations: 338.1 kB / 440 MB, free: 5.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003233/0.3419, allocations: 110.7 kB / 440.2 MB, free: 5.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.3422, allocations: 166.5 kB / 440.3 MB, free: 4.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006299/0.3428, allocations: 292.1 kB / 440.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3428, allocations: 1.188 kB / 440.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008234/0.3437, allocations: 368.4 kB / 441 MB, free: 4.699 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.3437, allocations: 5.562 kB / 441 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3437, allocations: 9.375 kB / 441 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.3437, allocations: 3.344 kB / 441 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007107/0.3444, allocations: 150.1 kB / 441.1 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.3444, allocations: 3.859 kB / 441.1 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.3447, allocations: 23.3 kB / 441.2 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.3447, allocations: 17.17 kB / 441.2 MB, free: 4.676 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.0001303/0.3448, allocations: 147.4 kB / 441.3 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.561e-05/0.3449, allocations: 33.44 kB / 441.3 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.937e-05/0.345, allocations: 40.88 kB / 441.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.345, allocations: 4.75 kB / 441.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.345, allocations: 2.297 kB / 441.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.345, allocations: 3.094 kB / 441.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/0.3473, allocations: 1.339 MB / 442.7 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.3473, allocations: 4.625 kB / 442.7 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008642/0.3481, allocations: 167.6 kB / 442.9 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/0.3482, allocations: 5.312 kB / 442.9 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/0.3482, allocations: 14.92 kB / 442.9 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/0.3482, allocations: 8.234 kB / 442.9 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.3482, allocations: 6.25 kB / 442.9 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/0.3503, allocations: 0.9507 MB / 443.9 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.3504, allocations: 129.1 kB / 444 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.989e-05/0.3505, allocations: 11.88 kB / 444 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004208/0.3509, allocations: 52.11 kB / 444.1 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.351, allocations: 40.34 kB / 444.1 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.351, allocations: 15.45 kB / 444.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001242/0.3511, allocations: 151 kB / 444.3 MB, free: 2.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3511, allocations: 0 / 444.3 MB, free: 2.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000475/0.3516, allocations: 83.59 kB / 444.4 MB, free: 2.836 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.0001255/0.3517, allocations: 109.7 kB / 444.5 MB, free: 2.742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.3528, allocations: 362.5 kB / 444.8 MB, free: 2.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3528, allocations: 1.219 kB / 444.8 MB, free: 2.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006787/0.3535, allocations: 237.9 kB / 445.1 MB, free: 2.609 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007224/0.3542, allocations: 76.11 kB / 445.1 MB, free: 2.574 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005267/0.3594, allocations: 1.466 MB / 446.6 MB, free: 1.895 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.3598, allocations: 0.7674 MB / 447.4 MB, free: 1.191 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/0.36, allocations: 32.81 kB / 447.4 MB, free: 1.188 MB / 350.1 MB Notification: Performance of SimCode: time 1.362e-06/0.36, allocations: 1.5 kB / 447.4 MB, free: 1.188 MB / 350.1 MB Notification: Performance of Templates: time 0.007732/0.3677, allocations: 3.937 MB / 451.3 MB, free: 0.6875 MB / 350.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.11352394381538]