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.001999/0.001999, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001733/0.001733, allocations: 208.7 kB / 23.73 MB, free: 4.379 MB / 14.72 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 1.519/1.519, allocations: 230.6 MB / 257.5 MB, free: 7.812 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+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 0.001671/0.001671, allocations: 43.92 kB / 378.2 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.265, allocations: 53.37 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003637/0.2686, allocations: 2.289 MB / 433.9 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.27, allocations: 0.7367 MB / 434.6 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.2702, allocations: 7.938 kB / 434.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.2703, allocations: 43.58 kB / 434.7 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002377/0.2705, allocations: 111.1 kB / 434.8 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.2709, allocations: 127.8 kB / 434.9 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005146/0.2714, allocations: 470.2 kB / 435.3 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.2716, allocations: 61.08 kB / 435.4 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002411/0.2718, allocations: 195.5 kB / 435.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.2721, allocations: 215.2 kB / 435.8 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.812e-05/0.2722, allocations: 36 kB / 435.8 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.485e-05/0.2723, allocations: 36 kB / 435.9 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.01e-05/0.2724, allocations: 87.8 kB / 436 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.2725, allocations: 143.4 kB / 436.1 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004903/0.273, allocations: 424.7 kB / 436.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.273, allocations: 0 / 436.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.273, allocations: 0 / 436.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.273, allocations: 0 / 436.5 MB, free: 1.758 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.001619/0.2747, allocations: 0.6183 MB / 437.1 MB, free: 1.109 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.2747, allocations: 12.02 kB / 437.1 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.399e-05/0.2748, allocations: 36.75 kB / 437.2 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004204/0.2752, allocations: 206.1 kB / 437.4 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001774/0.2754, allocations: 143.5 kB / 437.5 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.861e-05/0.2754, allocations: 24 kB / 437.5 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009441/0.2764, allocations: 386.3 kB / 437.9 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.2764, allocations: 4 kB / 437.9 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/0.2764, allocations: 11.98 kB / 437.9 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.2765, allocations: 8 kB / 437.9 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.2777, allocations: 391.5 kB / 438.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.279, allocations: 0.8215 MB / 439.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.2801, allocations: 383.6 kB / 439.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006333/0.2808, allocations: 210.4 kB / 439.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.2808, allocations: 4 kB / 439.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.2808, allocations: 42.5 kB / 439.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.663e-06/0.2808, allocations: 0 / 439.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.004821/0.2857, allocations: 1.873 MB / 441.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.161e-05/0.2857, allocations: 111.2 kB / 441.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.2859, allocations: 187 kB / 441.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.286, allocations: 29.7 kB / 442 MB, free: 11.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.2861, allocations: 152.8 kB / 442.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.2862, allocations: 154.6 kB / 442.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.2864, allocations: 78.11 kB / 442.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.2865, allocations: 330.8 kB / 442.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/0.2869, allocations: 104.8 kB / 442.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00037/0.2872, allocations: 177.4 kB / 442.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006781/0.2879, allocations: 291.5 kB / 443.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.2879, allocations: 4 kB / 443.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008609/0.2888, allocations: 356.3 kB / 443.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.2888, allocations: 11.94 kB / 443.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2888, allocations: 4.078 kB / 443.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.2888, allocations: 8 kB / 443.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007181/0.2895, allocations: 151.8 kB / 443.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.2895, allocations: 7.938 kB / 443.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.2898, allocations: 27.97 kB / 443.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.2898, allocations: 12 kB / 443.8 MB, free: 10.04 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.000156/0.2899, allocations: 145.8 kB / 443.9 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.29, allocations: 35.75 kB / 444 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.733e-05/0.2901, allocations: 29.45 kB / 444 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.2901, allocations: 4 kB / 444 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.2901, allocations: 4 kB / 444 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2901, allocations: 0 / 444 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002385/0.2925, allocations: 1.182 MB / 445.2 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.2925, allocations: 4 kB / 445.2 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008636/0.2934, allocations: 175.9 kB / 445.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.2934, allocations: 0 / 445.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.2934, allocations: 23.98 kB / 445.4 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.2934, allocations: 4 kB / 445.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.2934, allocations: 3.938 kB / 445.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002121/0.2955, allocations: 0.9491 MB / 446.4 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.2957, allocations: 63.86 kB / 446.4 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.696e-05/0.2957, allocations: 8 kB / 446.4 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000422/0.2961, allocations: 47.94 kB / 446.5 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.2962, allocations: 39.88 kB / 446.5 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/0.2963, allocations: 23.92 kB / 446.5 MB, free: 7.184 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.2964, allocations: 131.4 kB / 446.7 MB, free: 7.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2964, allocations: 3.938 kB / 446.7 MB, free: 7.051 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004426/0.2968, allocations: 80 kB / 446.7 MB, free: 6.973 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.0001366/0.297, allocations: 119.1 kB / 446.9 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.298, allocations: 353.7 kB / 447.2 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.298, allocations: 0 / 447.2 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007014/0.2987, allocations: 244 kB / 447.4 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006892/0.2994, allocations: 68.31 kB / 447.5 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005208/0.3046, allocations: 1.429 MB / 448.9 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.3048, allocations: 163.9 kB / 449.1 MB, free: 4.539 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000162/0.305, allocations: 42.94 kB / 449.1 MB, free: 4.492 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.3051, allocations: 31.44 kB / 449.2 MB, free: 4.461 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3051, allocations: 0 / 449.2 MB, free: 4.461 MB / 350.1 MB Notification: Performance of Templates: time 0.009994/0.3151, allocations: 4.918 MB / 454.1 MB, free: 15.61 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.613955165725201]