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.001701/0.001701, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.001793/0.001793, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.502/1.502, allocations: 230.4 MB / 258.1 MB, free: 8.16 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.001947/0.001947, allocations: 67.84 kB / 378.7 MB, free: 2.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2854, allocations: 53.31 MB / 432 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003996/0.2894, allocations: 2.472 MB / 434.5 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.2906, allocations: 0.6232 MB / 435.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.2907, allocations: 4 kB / 435.1 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001679/0.2909, allocations: 35.59 kB / 435.2 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.2911, allocations: 79.27 kB / 435.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.2913, allocations: 63.92 kB / 435.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000345/0.2916, allocations: 294.7 kB / 435.6 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.2918, allocations: 74.97 kB / 435.7 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.292, allocations: 119.6 kB / 435.8 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.2921, allocations: 119.5 kB / 435.9 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.725e-05/0.2922, allocations: 24 kB / 435.9 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.37e-05/0.2922, allocations: 24 kB / 435.9 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.657e-05/0.2923, allocations: 59.77 kB / 436 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.2924, allocations: 131.4 kB / 436.1 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003798/0.2928, allocations: 296.3 kB / 436.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2928, allocations: 0 / 436.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2928, allocations: 7.938 kB / 436.4 MB, free: 2.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.2928, allocations: 0 / 436.4 MB, free: 2.98 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.0008915/0.2937, allocations: 0.5418 MB / 437 MB, free: 2.391 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.2937, allocations: 12.03 kB / 437 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.208e-05/0.2938, allocations: 28.75 kB / 437 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.2942, allocations: 244.5 kB / 437.2 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.2942, allocations: 16.94 kB / 437.3 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.147e-05/0.2943, allocations: 28.12 kB / 437.3 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004827/0.2947, allocations: 224.9 kB / 437.5 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.2948, allocations: 3.953 kB / 437.5 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.2948, allocations: 12 kB / 437.5 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.2948, allocations: 8 kB / 437.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004177/0.2952, allocations: 174.1 kB / 437.7 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.2965, allocations: 0.758 MB / 438.5 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005226/0.297, allocations: 214.4 kB / 438.7 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.2972, allocations: 104.8 kB / 438.8 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.2972, allocations: 4 kB / 438.8 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.2973, allocations: 30.56 kB / 438.8 MB, free: 440 kB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.553e-06/0.2973, allocations: 0 / 438.8 MB, free: 440 kB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.00183/0.2991, allocations: 0.9792 MB / 439.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.2992, allocations: 55.41 kB / 439.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.2993, allocations: 155.1 kB / 440 MB, free: 15.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.2993, allocations: 29.7 kB / 440 MB, free: 15.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.2995, allocations: 140.8 kB / 440.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.894e-05/0.2995, allocations: 111.1 kB / 440.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.518e-05/0.2996, allocations: 49.7 kB / 440.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.2998, allocations: 330.8 kB / 440.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.3, allocations: 75.95 kB / 440.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.3002, allocations: 112.9 kB / 440.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/0.3006, allocations: 203.8 kB / 441 MB, free: 14.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.3006, allocations: 4 kB / 441 MB, free: 14.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004961/0.3011, allocations: 257.5 kB / 441.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.3011, allocations: 7.984 kB / 441.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.3011, allocations: 11.94 kB / 441.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3011, allocations: 0 / 441.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.3014, allocations: 71.91 kB / 441.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.3014, allocations: 3.938 kB / 441.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.3016, allocations: 23.98 kB / 441.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.3016, 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.0001353/0.3017, allocations: 141.8 kB / 441.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.3018, allocations: 19.86 kB / 441.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.513e-05/0.3018, allocations: 30.55 kB / 441.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.3018, allocations: 4 kB / 441.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3018, allocations: 0 / 441.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.3018, allocations: 0 / 441.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.3028, allocations: 0.6603 MB / 442.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3029, allocations: 0 / 442.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003293/0.3032, allocations: 71.91 kB / 442.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.3032, allocations: 7.984 kB / 442.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.3032, allocations: 4 kB / 442.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.3032, allocations: 11.92 kB / 442.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3032, allocations: 0 / 442.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007309/0.3039, allocations: 451.3 kB / 442.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.949e-05/0.304, allocations: 93 kB / 442.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.304, allocations: 8.062 kB / 442.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.3042, allocations: 15.88 kB / 442.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.3042, allocations: 19.97 kB / 442.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.3043, allocations: 8 kB / 442.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.963e-05/0.3043, allocations: 119.2 kB / 443 MB, free: 11.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3043, allocations: 0 / 443 MB, free: 11.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003005/0.3046, allocations: 60 kB / 443.1 MB, free: 11.85 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.0001367/0.3048, allocations: 103.2 kB / 443.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004574/0.3052, allocations: 196 kB / 443.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3052, allocations: 0 / 443.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.3054, allocations: 95.89 kB / 443.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004273/0.3059, allocations: 46.17 kB / 443.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.3073, allocations: 0.82 MB / 444.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.3076, allocations: 0.756 MB / 445.1 MB, free: 9.773 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.941e-05/0.3077, allocations: 21.94 kB / 445.1 MB, free: 9.754 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.308e-05/0.3078, allocations: 23.44 kB / 445.2 MB, free: 9.73 MB / 350.1 MB Notification: Performance of SimCode: time 6.12e-07/0.3078, allocations: 0 / 445.2 MB, free: 9.73 MB / 350.1 MB Notification: Performance of Templates: time 0.005847/0.3136, allocations: 2.3 MB / 447.5 MB, free: 7.449 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 -s cvode -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: 4.4972636927850544]