Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001417/0.002448, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001315/0.002425, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9506/0.9506, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07121/1.022, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13e-05/1.251e-05, allocations: 6.25 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.00214/0.002152, allocations: 2.509 MB / 247 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008677/0.00302, allocations: 0.7869 MB / 247.8 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.834e-05/0.003108, allocations: 7.938 kB / 247.8 MB, free: 11 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.735e-05/0.003176, allocations: 39.58 kB / 247.9 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.003322, allocations: 111 kB / 248 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/0.00352, allocations: 131.7 kB / 248.1 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002951/0.003815, allocations: 478 kB / 248.6 MB, free: 10.26 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.00392, allocations: 59.09 kB / 248.6 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002359/0.004156, allocations: 287.4 kB / 248.9 MB, free: 9.918 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.004299, allocations: 171.6 kB / 249.1 MB, free: 9.75 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.212e-05/0.004351, allocations: 36 kB / 249.1 MB, free: 9.715 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.771e-05/0.004389, allocations: 40 kB / 249.1 MB, free: 9.676 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.378e-05/0.004433, allocations: 59.81 kB / 249.2 MB, free: 9.617 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.843e-05/0.004511, allocations: 103.8 kB / 249.3 MB, free: 9.516 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.004733, allocations: 263.1 kB / 249.6 MB, free: 9.258 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.252e-05/0.004745, allocations: 0 / 249.6 MB, free: 9.258 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.004746, allocations: 4 kB / 249.6 MB, free: 9.254 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.00476, allocations: 3.984 kB / 249.6 MB, free: 9.25 MB / 250.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.0007738/0.005533, allocations: 0.6128 MB / 250.2 MB, free: 8.613 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.51e-05/0.005558, allocations: 11.97 kB / 250.2 MB, free: 8.602 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.909e-05/0.005618, allocations: 52.89 kB / 250.2 MB, free: 8.551 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.005806, allocations: 173.9 kB / 250.4 MB, free: 8.355 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.935e-05/0.005895, allocations: 139.8 kB / 250.5 MB, free: 8.195 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.00593, allocations: 28.38 kB / 250.6 MB, free: 8.168 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.006226, allocations: 283.2 kB / 250.8 MB, free: 7.871 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.006241, allocations: 11.94 kB / 250.9 MB, free: 7.859 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.00626, allocations: 8 kB / 250.9 MB, free: 7.852 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.006273, allocations: 11.94 kB / 250.9 MB, free: 7.84 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.006425, allocations: 118.6 kB / 251 MB, free: 7.727 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005817/0.007007, allocations: 0.6055 MB / 251.6 MB, free: 7.098 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.007214, allocations: 195.7 kB / 251.8 MB, free: 6.879 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.36e-05/0.007307, allocations: 86.55 kB / 251.9 MB, free: 6.785 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.007322, allocations: 7.984 kB / 251.9 MB, free: 6.777 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.007343, allocations: 42.5 kB / 251.9 MB, free: 6.727 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 1.213e-06/0.007344, allocations: 0 / 251.9 MB, free: 6.727 MB / 250.7 MB Notification: Performance of matching and sorting (n=38): time 0.001114/0.008458, allocations: 1.153 MB / 253.1 MB, free: 5.422 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.008497, allocations: 106.8 kB / 253.2 MB, free: 5.293 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.887e-05/0.008586, allocations: 194.2 kB / 253.4 MB, free: 5.09 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.008605, allocations: 29.7 kB / 253.4 MB, free: 5.055 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/0.008655, allocations: 140.7 kB / 253.5 MB, free: 4.91 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.816e-05/0.008723, allocations: 146.7 kB / 253.7 MB, free: 4.766 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.056e-05/0.008794, allocations: 78.11 kB / 253.8 MB, free: 4.684 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.153e-05/0.008865, allocations: 334.8 kB / 254.1 MB, free: 4.348 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-05/0.008944, allocations: 52.97 kB / 254.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.754e-05/0.009012, allocations: 94.08 kB / 254.2 MB, free: 4.188 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.00914, allocations: 168.4 kB / 254.4 MB, free: 4.012 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.009142, allocations: 0 / 254.4 MB, free: 4.012 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000178/0.00932, allocations: 184.8 kB / 254.6 MB, free: 3.828 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.009332, allocations: 11.98 kB / 254.6 MB, free: 3.816 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.009336, allocations: 0 / 254.6 MB, free: 3.816 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.009345, allocations: 4 kB / 254.6 MB, free: 3.812 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/0.009668, allocations: 147.9 kB / 254.7 MB, free: 3.668 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.009672, allocations: 4 kB / 254.7 MB, free: 3.664 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.646e-05/0.009748, allocations: 23.98 kB / 254.8 MB, free: 3.641 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.009757, allocations: 12 kB / 254.8 MB, free: 3.629 MB / 250.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 6.921e-05/0.009826, allocations: 129.7 kB / 254.9 MB, free: 3.492 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.309e-05/0.009879, allocations: 31.97 kB / 254.9 MB, free: 3.461 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.009909, allocations: 25.47 kB / 255 MB, free: 3.441 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.009912, allocations: 4 kB / 255 MB, free: 3.438 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.009918, allocations: 11.92 kB / 255 MB, free: 3.426 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.009922, allocations: 0 / 255 MB, free: 3.426 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000675/0.0106, allocations: 0.8002 MB / 255.8 MB, free: 2.562 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.0106, allocations: 0 / 255.8 MB, free: 2.562 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003635/0.01096, allocations: 168 kB / 255.9 MB, free: 2.398 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.01102, allocations: 27.84 kB / 256 MB, free: 2.371 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.01102, allocations: 4 kB / 256 MB, free: 2.367 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.01103, allocations: 8 kB / 256 MB, free: 2.359 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.01104, allocations: 11.92 kB / 256 MB, free: 2.348 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.01104, allocations: 4 kB / 256 MB, free: 2.344 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003704/0.01141, allocations: 0.5654 MB / 256.6 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.01144, allocations: 8 kB / 256.6 MB, free: 1.73 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.01161, allocations: 43.89 kB / 256.6 MB, free: 1.688 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.01166, allocations: 39.88 kB / 256.6 MB, free: 1.648 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.01167, allocations: 11.98 kB / 256.7 MB, free: 1.637 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.311e-05/0.01171, allocations: 58.11 kB / 256.7 MB, free: 1.578 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01171, allocations: 0 / 256.7 MB, free: 1.578 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002269/0.01193, allocations: 84 kB / 256.8 MB, free: 1.496 MB / 250.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 7.225e-05/0.01201, allocations: 95.27 kB / 256.9 MB, free: 1.395 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001865/0.01219, allocations: 170.5 kB / 257.1 MB, free: 1.227 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/0.0122, allocations: 11.92 kB / 257.1 MB, free: 1.215 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.01231, allocations: 121.2 kB / 257.2 MB, free: 1.094 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.01266, allocations: 127.7 kB / 257.3 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004593/0.01725, allocations: 1.006 MB / 258.3 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.081e-05/0.01731, allocations: 93.12 kB / 258.4 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.543e-05/0.01741, allocations: 38.97 kB / 258.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.01757, allocations: 119.3 kB / 258.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01757, allocations: 0 / 258.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of Templates: time 0.006136/0.0237, allocations: 5.133 MB / 263.7 MB, free: 10.61 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.457807032391429]