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.001355/0.001355, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002248/0.002248, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.528/1.528, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.002016/0.002016, allocations: 68.77 kB / 379 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2925, allocations: 53.37 MB / 432.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004045/0.2965, allocations: 2.465 MB / 434.9 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.2978, allocations: 0.631 MB / 435.5 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.2979, allocations: 4 kB / 435.5 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.2981, allocations: 35.59 kB / 435.5 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.2982, allocations: 83.27 kB / 435.6 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.2984, allocations: 55.92 kB / 435.7 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003714/0.2988, allocations: 298.6 kB / 436 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/0.299, allocations: 83.36 kB / 436 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.2992, allocations: 111.6 kB / 436.1 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.2994, allocations: 131.4 kB / 436.3 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.988e-05/0.2994, allocations: 24 kB / 436.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.44e-05/0.2994, allocations: 24 kB / 436.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.431e-05/0.2995, allocations: 51.77 kB / 436.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.2996, allocations: 139.3 kB / 436.5 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003749/0.3, allocations: 292.5 kB / 436.8 MB, free: 2.547 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3, allocations: 7.922 kB / 436.8 MB, free: 2.539 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3, allocations: 0 / 436.8 MB, free: 2.539 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.3, allocations: 0 / 436.8 MB, free: 2.539 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008554/0.3009, allocations: 481.7 kB / 437.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3009, allocations: 8.031 kB / 437.3 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.464e-05/0.301, allocations: 32.75 kB / 437.3 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.3013, allocations: 174.7 kB / 437.5 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.3013, allocations: 21.03 kB / 437.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.131e-05/0.3014, allocations: 32.12 kB / 437.5 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004677/0.3019, allocations: 234 kB / 437.8 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.3019, allocations: 3.953 kB / 437.8 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.3019, allocations: 12 kB / 437.8 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.3019, allocations: 4 kB / 437.8 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004153/0.3023, allocations: 178.5 kB / 438 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.3035, allocations: 0.6908 MB / 438.7 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005063/0.304, allocations: 206.5 kB / 438.9 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.3043, allocations: 104.8 kB / 439 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.3043, allocations: 0 / 439 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.3043, allocations: 38.56 kB / 439 MB, free: 232 kB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.072e-06/0.3043, allocations: 0 / 439 MB, free: 232 kB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.001732/0.306, allocations: 0.8209 MB / 439.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.3061, allocations: 55.41 kB / 439.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.3063, allocations: 154.6 kB / 440 MB, free: 15.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.3063, allocations: 33.7 kB / 440.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.3064, allocations: 136.8 kB / 440.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.976e-05/0.3065, allocations: 115 kB / 440.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.587e-05/0.3066, allocations: 49.7 kB / 440.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.3067, allocations: 334.8 kB / 440.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.3069, allocations: 75.95 kB / 440.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.3071, allocations: 116.2 kB / 440.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003736/0.3075, allocations: 199.4 kB / 441.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3075, allocations: 0 / 441.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004865/0.308, allocations: 261.4 kB / 441.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.308, allocations: 10.75 kB / 441.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.308, allocations: 0 / 441.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.308, allocations: 8.094 kB / 441.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.3083, allocations: 71.89 kB / 441.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/0.3083, allocations: 4 kB / 441.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.3084, allocations: 19.92 kB / 441.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.3084, allocations: 8 kB / 441.4 MB, free: 13.66 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 0.000152/0.3086, allocations: 146.5 kB / 441.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.3086, allocations: 19.86 kB / 441.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.705e-05/0.3087, allocations: 30.64 kB / 441.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3087, allocations: 8 kB / 441.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3087, allocations: 0 / 441.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.3087, allocations: 0 / 441.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009996/0.3097, allocations: 0.6242 MB / 442.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3097, allocations: 0 / 442.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/0.31, allocations: 79.95 kB / 442.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.31, allocations: 4 kB / 442.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.3101, allocations: 0 / 442.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.3101, allocations: 7.938 kB / 442.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3101, allocations: 0 / 442.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007119/0.3108, allocations: 448.7 kB / 442.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/0.3108, allocations: 15.91 kB / 442.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.3108, allocations: 4.062 kB / 442.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.311, allocations: 19.92 kB / 442.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.846e-05/0.311, allocations: 15.91 kB / 442.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.3111, allocations: 12 kB / 442.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.513e-05/0.3112, allocations: 119.5 kB / 443 MB, free: 12.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3112, allocations: 4 kB / 443 MB, free: 12.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002947/0.3114, allocations: 60 kB / 443 MB, free: 11.97 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 0.0001265/0.3116, allocations: 99.25 kB / 443.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004431/0.312, allocations: 188 kB / 443.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.312, allocations: 0 / 443.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.3122, allocations: 104 kB / 443.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.3126, allocations: 43.89 kB / 443.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.314, allocations: 0.8277 MB / 444.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.3144, allocations: 0.7599 MB / 445 MB, free: 9.891 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.277e-05/0.3145, allocations: 21.94 kB / 445.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.586e-05/0.3146, allocations: 19.44 kB / 445.1 MB, free: 9.844 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3146, allocations: 0 / 445.1 MB, free: 9.844 MB / 350.1 MB Notification: Performance of Templates: time 0.006217/0.3208, allocations: 2.353 MB / 447.4 MB, free: 7.512 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.498555277474225]