Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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.001445/0.001445, allocations: 112.7 kB / 19.17 MB, free: 3.891 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.001627/0.001627, allocations: 206.6 kB / 22.13 MB, free: 0.9375 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.436/1.436, allocations: 230.5 MB / 255.4 MB, free: 15.02 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.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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [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.0019/0.0019, allocations: 71.83 kB / 374.7 MB, free: 9.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.106, allocations: 53.32 MB / 428 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003894/0.1099, allocations: 2.444 MB / 430.5 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.1111, allocations: 0.6077 MB / 431.1 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.1113, allocations: 4 kB / 431.1 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001609/0.1115, allocations: 39.58 kB / 431.1 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.1116, allocations: 83.27 kB / 431.2 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.1118, allocations: 63.91 kB / 431.3 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003418/0.1122, allocations: 298.6 kB / 431.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.1124, allocations: 82.89 kB / 431.7 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.1125, allocations: 107.6 kB / 431.8 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.1127, allocations: 127.4 kB / 431.9 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.164e-05/0.1127, allocations: 24 kB / 431.9 MB, free: 492 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.707e-05/0.1128, allocations: 24 kB / 431.9 MB, free: 468 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.925e-05/0.1128, allocations: 55.78 kB / 432 MB, free: 412 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.113, allocations: 131.3 kB / 432.1 MB, free: 280 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2072/0.3201, allocations: 294 kB / 432.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.458e-06/0.3201, allocations: 2.234 kB / 432.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3201, allocations: 0 / 432.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.601e-05/0.3202, allocations: 1.938 kB / 432.4 MB, free: 8.703 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009078/0.3211, allocations: 0.5372 MB / 432.9 MB, free: 8.281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3211, allocations: 9.125 kB / 433 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.922e-05/0.3212, allocations: 30.34 kB / 433 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.3215, allocations: 247.3 kB / 433.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.3215, allocations: 21.36 kB / 433.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.835e-05/0.3216, allocations: 24.73 kB / 433.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004916/0.3221, allocations: 228.4 kB / 433.5 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.3221, allocations: 10.41 kB / 433.5 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.3221, allocations: 9.562 kB / 433.5 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.3221, allocations: 8.312 kB / 433.5 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004054/0.3225, allocations: 178.1 kB / 433.7 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.3236, allocations: 0.753 MB / 434.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004672/0.3241, allocations: 203.8 kB / 434.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.3243, allocations: 114.8 kB / 434.8 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.3243, allocations: 3.344 kB / 434.8 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.3243, allocations: 35 kB / 434.8 MB, free: 7.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.502e-06/0.3243, allocations: 0 / 434.8 MB, free: 7.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001554/0.3259, allocations: 0.9628 MB / 435.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.3259, allocations: 59.95 kB / 435.8 MB, free: 7.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.326, allocations: 153 kB / 436 MB, free: 6.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.326, allocations: 29.86 kB / 436 MB, free: 6.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.3261, allocations: 149.7 kB / 436.1 MB, free: 6.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.243e-05/0.3262, allocations: 105.6 kB / 436.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.055e-05/0.3262, allocations: 51.64 kB / 436.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.766e-05/0.3263, allocations: 335.5 kB / 436.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.3265, allocations: 72.22 kB / 436.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.3266, allocations: 116.5 kB / 436.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003551/0.327, allocations: 208.7 kB / 437 MB, free: 6.309 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.327, allocations: 0 / 437 MB, free: 6.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000449/0.3274, allocations: 261.9 kB / 437.3 MB, free: 6.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.3275, allocations: 7.172 kB / 437.3 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.3275, allocations: 1.062 kB / 437.3 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.3275, allocations: 2.281 kB / 437.3 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.3278, allocations: 72.78 kB / 437.3 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.3278, allocations: 1.75 kB / 437.4 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.3279, allocations: 17.52 kB / 437.4 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.3279, allocations: 12.08 kB / 437.4 MB, free: 6.262 MB / 350.1 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 9.049e-05/0.328, allocations: 141 kB / 437.5 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.115e-05/0.328, allocations: 20.23 kB / 437.5 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.751e-05/0.3281, allocations: 32.23 kB / 437.6 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3281, allocations: 3.438 kB / 437.6 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.3281, allocations: 1.703 kB / 437.6 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3281, allocations: 1.359 kB / 437.6 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008167/0.3289, allocations: 0.6536 MB / 438.2 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3289, allocations: 1.219 kB / 438.2 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003074/0.3292, allocations: 70.81 kB / 438.3 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3293, allocations: 2.219 kB / 438.3 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.3293, allocations: 14.09 kB / 438.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.3293, allocations: 8.734 kB / 438.3 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3293, allocations: 4.844 kB / 438.3 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006238/0.3299, allocations: 443.5 kB / 438.8 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/0.3299, allocations: 97.11 kB / 438.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.33, allocations: 7.219 kB / 438.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.3301, allocations: 15.06 kB / 438.9 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.3302, allocations: 18.14 kB / 438.9 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.3302, allocations: 8.297 kB / 438.9 MB, free: 5.516 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.074e-05/0.3302, allocations: 118.4 kB / 439 MB, free: 5.441 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3302, allocations: 0 / 439 MB, free: 5.441 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002993/0.3305, allocations: 56.94 kB / 439.1 MB, free: 5.441 MB / 350.1 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.896e-05/0.3306, allocations: 107.5 kB / 439.2 MB, free: 5.348 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004459/0.3311, allocations: 191.5 kB / 439.4 MB, free: 5.348 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3311, allocations: 0 / 439.4 MB, free: 5.348 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.3313, allocations: 102.1 kB / 439.5 MB, free: 5.344 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.3317, allocations: 51.55 kB / 439.5 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.3329, allocations: 0.8465 MB / 440.4 MB, free: 4.809 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001848/0.3331, allocations: 0.7543 MB / 441.1 MB, free: 4.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.541e-05/0.3332, allocations: 21.41 kB / 441.1 MB, free: 4.094 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3332, allocations: 0 / 441.1 MB, free: 4.094 MB / 350.1 MB Notification: Performance of Templates: time 0.005466/0.3387, allocations: 2.822 MB / 444 MB, free: 3.805 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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: 6.886526654008776]