Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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.001098/0.001098, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00158/0.002678, 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.001084/0.001084, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001446/0.00253, 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.8504/0.8504, allocations: 158.6 MB / 171.1 MB, free: 2.57 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1411/0.9915, allocations: 49.48 MB / 220.5 MB, free: 1.453 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.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing") translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 221.8 MB, free: 192 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.389e-05, allocations: 6.25 kB / 221.8 MB, free: 184 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.008621/0.008645, allocations: 2.487 MB / 224.3 MB, free: 13.68 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.00972, allocations: 0.6317 MB / 224.9 MB, free: 13.04 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.009849, allocations: 7.938 kB / 224.9 MB, free: 13.03 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.009956, allocations: 35.59 kB / 225 MB, free: 12.99 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.01012, allocations: 95.19 kB / 225.1 MB, free: 12.9 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001352/0.01025, allocations: 55.91 kB / 225.1 MB, free: 12.84 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002894/0.01054, allocations: 306.5 kB / 225.4 MB, free: 12.54 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.01069, allocations: 73.98 kB / 225.5 MB, free: 12.47 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002252/0.01092, allocations: 183.6 kB / 225.7 MB, free: 12.29 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.01104, allocations: 91.7 kB / 225.8 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.598e-05/0.01108, allocations: 24 kB / 225.8 MB, free: 12.18 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003068/0.01414, allocations: 24 kB / 225.8 MB, free: 12.16 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.453e-05/0.0142, allocations: 39.88 kB / 225.9 MB, free: 12.12 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.01431, allocations: 79.81 kB / 225.9 MB, free: 12.04 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.01457, allocations: 187.2 kB / 226.1 MB, free: 11.86 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.526e-05/0.01459, allocations: 0 / 226.1 MB, free: 11.86 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01459, allocations: 0 / 226.1 MB, free: 11.86 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.0146, allocations: 0 / 226.1 MB, free: 11.86 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.000617/0.01522, allocations: 0.4961 MB / 226.6 MB, free: 11.34 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.01525, allocations: 8.031 kB / 226.6 MB, free: 11.33 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.284e-05/0.01531, allocations: 40.91 kB / 226.7 MB, free: 11.29 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.01552, allocations: 165.9 kB / 226.8 MB, free: 11.1 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.01554, allocations: 21.03 kB / 226.8 MB, free: 11.08 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.933e-05/0.01558, allocations: 28.33 kB / 226.9 MB, free: 11.05 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.01581, allocations: 175.3 kB / 227 MB, free: 10.88 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.01582, allocations: 7.938 kB / 227.1 MB, free: 10.87 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.01584, allocations: 12 kB / 227.1 MB, free: 10.86 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.01585, allocations: 4 kB / 227.1 MB, free: 10.85 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.01596, allocations: 76.48 kB / 227.1 MB, free: 10.78 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006949/0.01665, allocations: 464.6 kB / 227.6 MB, free: 10.31 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.01689, allocations: 142.4 kB / 227.7 MB, free: 10.16 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.475e-05/0.01696, allocations: 52.83 kB / 227.8 MB, free: 10.11 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.01697, allocations: 4 kB / 227.8 MB, free: 10.1 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003047/0.02002, allocations: 38.56 kB / 227.8 MB, free: 10.05 MB / 234.7 MB Notification: Performance of pre-optimization done (n=26): time 2.295e-06/0.02002, allocations: 0 / 227.8 MB, free: 10.05 MB / 234.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008269/0.02085, allocations: 0.5569 MB / 228.4 MB, free: 9.445 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.02088, allocations: 55.41 kB / 228.4 MB, free: 9.379 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.517e-05/0.02096, allocations: 142.6 kB / 228.6 MB, free: 9.227 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.02098, allocations: 29.7 kB / 228.6 MB, free: 9.191 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.02104, allocations: 144.5 kB / 228.7 MB, free: 9.047 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.354e-05/0.02111, allocations: 111.1 kB / 228.9 MB, free: 8.938 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.32e-05/0.02117, allocations: 53.67 kB / 228.9 MB, free: 8.879 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.961e-05/0.02126, allocations: 326.8 kB / 229.2 MB, free: 8.551 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.97e-05/0.0213, allocations: 23.98 kB / 229.3 MB, free: 8.527 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.803e-05/0.02137, allocations: 75.11 kB / 229.3 MB, free: 8.441 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.0215, allocations: 127.1 kB / 229.4 MB, free: 8.305 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.0215, allocations: 0 / 229.4 MB, free: 8.305 MB / 234.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001751/0.02168, allocations: 145.5 kB / 229.6 MB, free: 8.156 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.02169, allocations: 11.94 kB / 229.6 MB, free: 8.145 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.0217, allocations: 0 / 229.6 MB, free: 8.145 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.02171, allocations: 4 kB / 229.6 MB, free: 8.141 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.022, allocations: 100.6 kB / 229.7 MB, free: 8.043 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.022, allocations: 0 / 229.7 MB, free: 8.043 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.559e-05/0.02207, allocations: 8 kB / 229.7 MB, free: 8.035 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.02208, allocations: 8 kB / 229.7 MB, free: 8.027 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (35): * Single equations (assignments): 35 * 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 7.776e-05/0.02216, allocations: 129.9 kB / 229.8 MB, free: 7.891 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.0222, allocations: 23.91 kB / 229.9 MB, free: 7.867 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.158e-05/0.02224, allocations: 21.97 kB / 229.9 MB, free: 7.848 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.02224, allocations: 4 kB / 229.9 MB, free: 7.844 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.02225, allocations: 0 / 229.9 MB, free: 7.844 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.02225, allocations: 0 / 229.9 MB, free: 7.844 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004784/0.02273, allocations: 390.7 kB / 230.3 MB, free: 7.434 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.02273, allocations: 0 / 230.3 MB, free: 7.434 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003346/0.02608, allocations: 92 kB / 230.4 MB, free: 7.344 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.02611, allocations: 15.91 kB / 230.4 MB, free: 7.328 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.02612, allocations: 0 / 230.4 MB, free: 7.328 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.02613, allocations: 8 kB / 230.4 MB, free: 7.32 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.02614, allocations: 3.938 kB / 230.4 MB, free: 7.316 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.02614, allocations: 3.938 kB / 230.4 MB, free: 7.312 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/0.02642, allocations: 287.2 kB / 230.7 MB, free: 7.008 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.02644, allocations: 4 kB / 230.7 MB, free: 7.004 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.526e-05/0.02654, allocations: 15.98 kB / 230.7 MB, free: 6.988 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.02658, allocations: 19.91 kB / 230.7 MB, free: 6.969 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.02659, allocations: 8 kB / 230.7 MB, free: 6.961 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.513e-05/0.02662, allocations: 40.61 kB / 230.8 MB, free: 6.918 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02662, allocations: 0 / 230.8 MB, free: 6.918 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002524/0.02688, allocations: 60 kB / 230.8 MB, free: 6.859 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (shaft.phi,shaft.w,load.phi,load.w,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 (28): * Single equations (assignments): 28 * 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 9.969e-05/0.02697, allocations: 76.42 kB / 230.9 MB, free: 6.773 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001787/0.02715, allocations: 120.6 kB / 231 MB, free: 6.652 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.435e-05/0.02717, allocations: 8.188 kB / 231 MB, free: 6.645 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 7.261e-05/0.02724, allocations: 68.94 kB / 231.1 MB, free: 6.574 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.02752, allocations: 68.66 kB / 231.2 MB, free: 6.508 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.03846, allocations: 0.5564 MB / 231.7 MB, free: 5.918 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.753e-05/0.03856, allocations: 84.64 kB / 231.8 MB, free: 5.812 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.03868, allocations: 25.94 kB / 231.8 MB, free: 5.789 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.03881, allocations: 91.34 kB / 231.9 MB, free: 5.699 MB / 234.7 MB Notification: Performance of SimCode: time 1.943e-06/0.03881, allocations: 0 / 231.9 MB, free: 5.699 MB / 234.7 MB Notification: Performance of Templates: time 0.008651/0.04746, allocations: 2.511 MB / 234.4 MB, free: 3.215 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.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.5701640015468]