Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001186/0.001186, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001864/0.003049, allocations: 445.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.001168/0.001168, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001088/0.002256, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9174/0.9174, allocations: 158.6 MB / 171.1 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1562/1.074, allocations: 49.49 MB / 220.6 MB, free: 1.445 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.415e-05, allocations: 6.25 kB / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.004249/0.004274, allocations: 2.481 MB / 224.3 MB, free: 13.66 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.006173, allocations: 0.7841 MB / 225.1 MB, free: 12.88 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002584/0.006431, allocations: 7.938 kB / 225.1 MB, free: 12.87 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.006569, allocations: 39.53 kB / 225.1 MB, free: 12.83 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003191/0.006888, allocations: 115 kB / 225.3 MB, free: 12.71 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004615/0.007349, allocations: 135.6 kB / 225.4 MB, free: 12.58 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006395/0.007989, allocations: 474 kB / 225.9 MB, free: 12.12 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.008172, allocations: 63.05 kB / 225.9 MB, free: 12.05 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006414/0.008814, allocations: 291.3 kB / 226.2 MB, free: 11.77 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003676/0.009181, allocations: 171.6 kB / 226.4 MB, free: 11.6 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 9.988e-05/0.009281, allocations: 36 kB / 226.4 MB, free: 11.57 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.162e-05/0.009353, allocations: 47.94 kB / 226.5 MB, free: 11.52 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.785e-05/0.009421, allocations: 55.81 kB / 226.5 MB, free: 11.46 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.009564, allocations: 103.9 kB / 226.6 MB, free: 11.36 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004095/0.009974, allocations: 263.1 kB / 226.9 MB, free: 11.11 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-05/0.009998, allocations: 3.938 kB / 226.9 MB, free: 11.1 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.01, allocations: 0 / 226.9 MB, free: 11.1 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.91e-05/0.01003, allocations: 0 / 226.9 MB, free: 11.1 MB / 234.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.001329/0.01136, allocations: 0.6089 MB / 227.5 MB, free: 10.47 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.01141, allocations: 12.03 kB / 227.5 MB, free: 10.46 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.01152, allocations: 48.89 kB / 227.5 MB, free: 10.41 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.01188, allocations: 193.1 kB / 227.7 MB, free: 10.2 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.01204, allocations: 131.9 kB / 227.9 MB, free: 10.04 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.728e-05/0.0121, allocations: 36.34 kB / 227.9 MB, free: 10.01 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005413/0.01264, allocations: 275.3 kB / 228.2 MB, free: 9.719 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.01267, allocations: 7.891 kB / 228.2 MB, free: 9.711 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.0127, allocations: 12 kB / 228.2 MB, free: 9.699 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.01271, allocations: 8 kB / 228.2 MB, free: 9.691 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002384/0.01295, allocations: 119.9 kB / 228.3 MB, free: 9.574 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007207/0.01367, allocations: 0.6132 MB / 228.9 MB, free: 8.938 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.01393, allocations: 199.7 kB / 229.1 MB, free: 8.715 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.605e-05/0.01402, allocations: 82.55 kB / 229.2 MB, free: 8.625 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.01404, allocations: 8 kB / 229.2 MB, free: 8.617 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.01407, allocations: 46.94 kB / 229.2 MB, free: 8.562 MB / 234.7 MB Notification: Performance of pre-optimization done (n=32): time 1.944e-06/0.01408, allocations: 0 / 229.2 MB, free: 8.562 MB / 234.7 MB Notification: Performance of matching and sorting (n=38): time 0.001348/0.01542, allocations: 1.148 MB / 230.4 MB, free: 7.262 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.01547, allocations: 110.8 kB / 230.5 MB, free: 7.129 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.01558, allocations: 190.2 kB / 230.7 MB, free: 6.93 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.0156, allocations: 33.7 kB / 230.7 MB, free: 6.891 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.024e-05/0.01566, allocations: 140.7 kB / 230.9 MB, free: 6.75 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.553e-05/0.01574, allocations: 146.7 kB / 231 MB, free: 6.605 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.039e-05/0.01582, allocations: 74.16 kB / 231.1 MB, free: 6.527 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.762e-05/0.01592, allocations: 338.8 kB / 231.4 MB, free: 6.188 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.011e-05/0.01601, allocations: 52.97 kB / 231.5 MB, free: 6.137 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.063e-05/0.01609, allocations: 94.08 kB / 231.5 MB, free: 6.023 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.01624, allocations: 153 kB / 231.7 MB, free: 5.859 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01624, allocations: 0 / 231.7 MB, free: 5.859 MB / 234.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002297/0.01647, allocations: 201.4 kB / 231.9 MB, free: 5.66 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.01649, allocations: 7.984 kB / 231.9 MB, free: 5.652 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.0165, allocations: 4 kB / 231.9 MB, free: 5.648 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.01651, allocations: 4 kB / 231.9 MB, free: 5.645 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004107/0.01693, allocations: 151.8 kB / 232.1 MB, free: 5.496 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.01693, allocations: 4 kB / 232.1 MB, free: 5.492 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.491e-05/0.01702, allocations: 23.98 kB / 232.1 MB, free: 5.469 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.01703, allocations: 4 kB / 232.1 MB, free: 5.465 MB / 234.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 0.0001025/0.01713, allocations: 129.7 kB / 232.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.437e-05/0.01719, allocations: 31.97 kB / 232.2 MB, free: 5.297 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.92e-05/0.01724, allocations: 29.47 kB / 232.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.01725, allocations: 11.97 kB / 232.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.01726, allocations: 11.94 kB / 232.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.01727, allocations: 0 / 232.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007839/0.01805, allocations: 0.7925 MB / 233.1 MB, free: 4.395 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.01805, allocations: 192 / 233.1 MB, free: 4.395 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003731/0.01843, allocations: 171.8 kB / 233.3 MB, free: 4.227 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.593e-05/0.01849, allocations: 27.84 kB / 233.3 MB, free: 4.199 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.0185, allocations: 4 kB / 233.3 MB, free: 4.195 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.01851, allocations: 8 kB / 233.3 MB, free: 4.188 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.01852, allocations: 7.984 kB / 233.3 MB, free: 4.18 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.01852, allocations: 11.94 kB / 233.3 MB, free: 4.168 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004395/0.01896, allocations: 0.5615 MB / 233.9 MB, free: 3.57 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.01899, allocations: 8 kB / 233.9 MB, free: 3.562 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.01916, allocations: 44.02 kB / 233.9 MB, free: 3.52 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/0.01923, allocations: 43.88 kB / 234 MB, free: 3.477 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.01924, allocations: 11.98 kB / 234 MB, free: 3.465 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.818e-05/0.01928, allocations: 50.12 kB / 234 MB, free: 3.414 MB / 234.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01928, allocations: 4 kB / 234 MB, free: 3.41 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002566/0.01954, allocations: 80 kB / 234.1 MB, free: 3.332 MB / 234.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 0.0001269/0.01966, allocations: 85.23 kB / 234.2 MB, free: 3.238 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002081/0.01987, allocations: 177.6 kB / 234.4 MB, free: 3.062 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/0.01989, allocations: 11.97 kB / 234.4 MB, free: 3.051 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.02, allocations: 116.8 kB / 234.5 MB, free: 2.934 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.02037, allocations: 117.9 kB / 234.6 MB, free: 2.82 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00467/0.02504, allocations: 1.014 MB / 235.6 MB, free: 1.75 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.31e-05/0.02512, allocations: 97.11 kB / 235.7 MB, free: 1.637 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.02523, allocations: 38.95 kB / 235.8 MB, free: 1.602 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.0254, allocations: 123.3 kB / 235.9 MB, free: 1.48 MB / 234.7 MB Notification: Performance of SimCode: time 1.012e-06/0.0254, allocations: 0 / 235.9 MB, free: 1.48 MB / 234.7 MB Notification: Performance of Templates: time 0.006978/0.03238, allocations: 5.127 MB / 241 MB, free: 12.37 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.688297842629254]