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/ModelicaServices trunk/package.mo", uses=false) 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) 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) 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=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/ModelicaServices trunk/package.mo): time 0.001113/0.001113, allocations: 122.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001228/0.001228, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 67.89 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2984, allocations: 50.53 MB / 409.2 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003962/0.3024, allocations: 2.44 MB / 411.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.3038, allocations: 0.6116 MB / 412.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002034/0.304, allocations: 8 kB / 412.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.3042, allocations: 35.59 kB / 412.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002189/0.3044, allocations: 79.27 kB / 412.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.3047, allocations: 63.91 kB / 412.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004519/0.3051, allocations: 294.6 kB / 412.8 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002337/0.3054, allocations: 114.9 kB / 412.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.3055, allocations: 111.6 kB / 413 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.3058, allocations: 123.5 kB / 413.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.761e-05/0.3059, allocations: 24 kB / 413.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.078e-05/0.3059, allocations: 24 kB / 413.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.423e-05/0.306, allocations: 47.84 kB / 413.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.3061, allocations: 143.3 kB / 413.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003363/0.3065, allocations: 296 kB / 413.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3065, allocations: 0 / 413.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3065, allocations: 0 / 413.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.3065, allocations: 0 / 413.6 MB, free: 13.21 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.0008817/0.3074, allocations: 0.5343 MB / 414.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.3075, allocations: 12.03 kB / 414.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.251e-05/0.3075, allocations: 32.56 kB / 414.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.3079, allocations: 232.5 kB / 414.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.3079, allocations: 20.94 kB / 414.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.857e-05/0.308, allocations: 43.95 kB / 414.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004649/0.3085, allocations: 220.9 kB / 414.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.3085, allocations: 4 kB / 414.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.3085, allocations: 12 kB / 414.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.3085, allocations: 8 kB / 414.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003869/0.3089, allocations: 178.1 kB / 414.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.3101, allocations: 0.75 MB / 415.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004622/0.3106, allocations: 226.5 kB / 415.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.3108, allocations: 108.8 kB / 416 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.3109, allocations: 4 kB / 416 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.3109, allocations: 34.56 kB / 416 MB, free: 10.64 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.482e-06/0.3109, allocations: 0 / 416 MB, free: 10.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.001693/0.3126, allocations: 0.963 MB / 417 MB, free: 9.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.3126, allocations: 55.41 kB / 417 MB, free: 9.523 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.3128, allocations: 163.1 kB / 417.2 MB, free: 9.352 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.3128, allocations: 29.7 kB / 417.2 MB, free: 9.316 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.838e-05/0.3129, allocations: 148.4 kB / 417.4 MB, free: 9.168 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.57e-05/0.313, allocations: 98.55 kB / 417.5 MB, free: 9.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.58e-05/0.3131, allocations: 53.7 kB / 417.5 MB, free: 9.012 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.3133, allocations: 330.8 kB / 417.8 MB, free: 8.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.3135, allocations: 75.95 kB / 417.9 MB, free: 8.605 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.3137, allocations: 112.3 kB / 418 MB, free: 8.484 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003802/0.3141, allocations: 203.3 kB / 418.2 MB, free: 8.273 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3141, allocations: 4 kB / 418.2 MB, free: 8.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004976/0.3146, allocations: 261.3 kB / 418.5 MB, free: 8.008 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3146, allocations: 4 kB / 418.5 MB, free: 8.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.3146, allocations: 3.938 kB / 418.5 MB, free: 8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.3147, allocations: 7.984 kB / 418.5 MB, free: 7.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000289/0.315, allocations: 71.97 kB / 418.6 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.315, allocations: 7.922 kB / 418.6 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.3151, allocations: 20.08 kB / 418.6 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.3152, allocations: 8 kB / 418.6 MB, free: 7.887 MB / 334.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.0001224/0.3153, allocations: 141.7 kB / 418.7 MB, free: 7.738 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.344e-05/0.3153, allocations: 19.75 kB / 418.8 MB, free: 7.719 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.509e-05/0.3154, allocations: 30.55 kB / 418.8 MB, free: 7.691 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.3154, allocations: 4 kB / 418.8 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.3154, allocations: 0 / 418.8 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3154, allocations: 0 / 418.8 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009562/0.3164, allocations: 0.6529 MB / 419.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3164, allocations: 0 / 419.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00032/0.3167, allocations: 67.91 kB / 419.5 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.912e-06/0.3167, allocations: 4 kB / 419.5 MB, free: 6.902 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.3168, allocations: 7.984 kB / 419.5 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.3168, allocations: 12 kB / 419.5 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3168, allocations: 0 / 419.5 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007153/0.3175, allocations: 439.5 kB / 420 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.354e-05/0.3176, allocations: 96.83 kB / 420.1 MB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.3176, allocations: 12.05 kB / 420.1 MB, free: 6.309 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.3178, allocations: 15.94 kB / 420.1 MB, free: 6.293 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.3178, allocations: 19.97 kB / 420.1 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.3179, allocations: 7.938 kB / 420.1 MB, free: 6.266 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.773e-05/0.318, allocations: 119.2 kB / 420.2 MB, free: 6.148 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.318, allocations: 0 / 420.2 MB, free: 6.148 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003015/0.3183, allocations: 56 kB / 420.3 MB, free: 6.094 MB / 334.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.0001187/0.3184, allocations: 111.2 kB / 420.4 MB, free: 5.977 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004385/0.3188, allocations: 203.9 kB / 420.6 MB, free: 5.777 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3189, allocations: 0 / 420.6 MB, free: 5.777 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.3191, allocations: 107.8 kB / 420.7 MB, free: 5.672 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.3195, allocations: 47.91 kB / 420.7 MB, free: 5.629 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.3209, allocations: 0.8098 MB / 421.5 MB, free: 4.785 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005309/0.3215, allocations: 0.7522 MB / 422.3 MB, free: 4 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.696e-05/0.3216, allocations: 17.94 kB / 422.3 MB, free: 3.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.454e-05/0.3216, allocations: 23.44 kB / 422.3 MB, free: 3.957 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3216, allocations: 0 / 422.3 MB, free: 3.957 MB / 334.1 MB Notification: Performance of Templates: time 0.005522/0.3272, allocations: 2.194 MB / 424.5 MB, free: 1.781 MB / 334.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches