Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing") translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000992/0.000992, allocations: 198.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.217/1.217, allocations: 227.2 MB / 245 MB, free: 5.77 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009017/0.0009017, allocations: 93.25 kB / 297.3 MB, free: 5.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002247/0.0002247, allocations: 4 kB / 357.9 MB, free: 9.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1961, allocations: 51.48 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08853/0.2847, allocations: 79.58 MB / 489 MB, free: 11.03 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002032/0.285, allocations: 71.97 kB / 489.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0112/0.2962, allocations: 4.497 MB / 493.6 MB, free: 6.445 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2962, allocations: 0 / 493.6 MB, free: 6.445 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.2962, allocations: 4 kB / 493.6 MB, free: 6.441 MB / 362.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.0006471/0.2969, allocations: 0.503 MB / 494.1 MB, free: 5.887 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.2969, allocations: 8.031 kB / 494.1 MB, free: 5.879 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/0.297, allocations: 31.72 kB / 494.1 MB, free: 5.848 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.2972, allocations: 242.4 kB / 494.3 MB, free: 5.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.2973, allocations: 20.56 kB / 494.4 MB, free: 5.551 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.321e-05/0.2973, allocations: 35.89 kB / 494.4 MB, free: 5.516 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/0.2977, allocations: 224.9 kB / 494.6 MB, free: 5.289 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.2978, allocations: 0 / 494.6 MB, free: 5.289 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.2978, allocations: 12 kB / 494.6 MB, free: 5.277 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.2978, allocations: 8 kB / 494.6 MB, free: 5.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003781/0.2982, allocations: 186.1 kB / 494.8 MB, free: 5.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.2992, allocations: 0.7539 MB / 495.6 MB, free: 4.277 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004485/0.2997, allocations: 222.7 kB / 495.8 MB, free: 4.051 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.2997, allocations: 4 kB / 495.8 MB, free: 4.047 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.2997, allocations: 34.52 kB / 495.8 MB, free: 4.004 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.623e-06/0.2997, allocations: 0 / 495.8 MB, free: 4.004 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001611/0.3014, allocations: 1.005 MB / 496.8 MB, free: 2.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.3014, allocations: 55.41 kB / 496.9 MB, free: 2.844 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.3015, allocations: 141.7 kB / 497 MB, free: 2.695 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3015, allocations: 29.7 kB / 497 MB, free: 2.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/0.3016, allocations: 148.5 kB / 497.2 MB, free: 2.512 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.163e-05/0.3017, allocations: 94.56 kB / 497.3 MB, free: 2.418 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.278e-06/0.3017, allocations: 4 kB / 497.3 MB, free: 2.414 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.358e-05/0.3018, allocations: 330.8 kB / 497.6 MB, free: 2.082 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.302, allocations: 83.81 kB / 497.7 MB, free: 2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.3022, allocations: 124.3 kB / 497.8 MB, free: 1.867 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.3024, allocations: 92.17 kB / 497.9 MB, free: 1.777 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3024, allocations: 0 / 497.9 MB, free: 1.777 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004383/0.3029, allocations: 273.2 kB / 498.2 MB, free: 1.504 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3029, allocations: 7.953 kB / 498.2 MB, free: 1.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3029, allocations: 4 kB / 498.2 MB, free: 1.492 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.3029, allocations: 0 / 498.2 MB, free: 1.492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/0.3032, allocations: 75.91 kB / 498.3 MB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.3032, allocations: 7.984 kB / 498.3 MB, free: 1.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.3033, allocations: 16.09 kB / 498.3 MB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.3034, allocations: 12 kB / 498.3 MB, free: 1.383 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.3035, allocations: 136 kB / 498.4 MB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/0.3035, allocations: 23.8 kB / 498.4 MB, free: 1.219 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.914e-05/0.3036, allocations: 26.52 kB / 498.5 MB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.3036, allocations: 4 kB / 498.5 MB, free: 1.188 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3036, allocations: 0 / 498.5 MB, free: 1.188 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3036, allocations: 7.984 kB / 498.5 MB, free: 1.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008677/0.3045, allocations: 0.6677 MB / 499.2 MB, free: 460 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3045, allocations: 3.938 kB / 499.2 MB, free: 456 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003155/0.3048, allocations: 79.89 kB / 499.2 MB, free: 376 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3048, allocations: 0 / 499.2 MB, free: 376 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.3049, allocations: 8 kB / 499.2 MB, free: 368 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3049, allocations: 0 / 499.2 MB, free: 368 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3049, allocations: 4 kB / 499.2 MB, free: 364 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006396/0.3055, allocations: 488.6 kB / 499.7 MB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.321e-05/0.3056, allocations: 96.83 kB / 499.8 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.3056, allocations: 8 kB / 499.8 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.3058, allocations: 16.11 kB / 499.8 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.3058, allocations: 23.92 kB / 499.9 MB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.3058, allocations: 8 kB / 499.9 MB, free: 15.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.225e-05/0.3059, allocations: 127.4 kB / 500 MB, free: 15.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3059, allocations: 0 / 500 MB, free: 15.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002881/0.3062, allocations: 60 kB / 0.4883 GB, free: 15.5 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001132/0.3063, allocations: 103.2 kB / 0.4884 GB, free: 15.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000404/0.3067, allocations: 211.9 kB / 0.4886 GB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3067, allocations: 0 / 0.4886 GB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.3069, allocations: 115.8 kB / 0.4887 GB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.3072, allocations: 29.72 kB / 0.4888 GB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.3085, allocations: 0.9807 MB / 0.4897 GB, free: 14.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.3088, allocations: 0.7603 MB / 0.4905 GB, free: 13.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.342e-05/0.3088, allocations: 21.94 kB / 0.4905 GB, free: 13.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.109e-05/0.3089, allocations: 19.44 kB / 0.4905 GB, free: 13.19 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3089, allocations: 3.938 kB / 0.4905 GB, free: 13.19 MB / 378.7 MB Notification: Performance of Templates: time 0.004401/0.3133, allocations: 1.922 MB / 0.4924 GB, free: 11.29 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches