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.001307/0.001307, allocations: 109 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001229/0.00123, allocations: 214.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001376, allocations: 59.91 kB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2934, allocations: 50.55 MB / 409.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003643/0.2971, allocations: 2.422 MB / 412.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.2982, allocations: 0.6155 MB / 413 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.2984, allocations: 4 kB / 413 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001557/0.2986, allocations: 43.58 kB / 413 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001499/0.2987, allocations: 79.27 kB / 413.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/0.2989, allocations: 63.92 kB / 413.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002908/0.2992, allocations: 294.6 kB / 413.4 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.2994, allocations: 110.9 kB / 413.5 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.2996, allocations: 111.6 kB / 413.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.2998, allocations: 119.5 kB / 413.8 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.8e-05/0.2998, allocations: 24 kB / 413.8 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.221e-05/0.2999, allocations: 24 kB / 413.8 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.163e-05/0.2999, allocations: 63.77 kB / 413.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.3001, allocations: 135.3 kB / 414 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003058/0.3004, allocations: 296.2 kB / 414.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3004, allocations: 0 / 414.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3004, allocations: 0 / 414.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.3004, allocations: 0 / 414.3 MB, free: 13.39 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.000855/0.3013, allocations: 0.5343 MB / 414.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.3013, allocations: 16.03 kB / 414.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.271e-05/0.3014, allocations: 28.56 kB / 414.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/0.3017, allocations: 240.5 kB / 415.1 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.3017, allocations: 16.94 kB / 415.1 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.879e-05/0.3018, allocations: 32.03 kB / 415.2 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004428/0.3023, allocations: 228.8 kB / 415.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.3023, allocations: 0 / 415.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.86e-05/0.3023, allocations: 12 kB / 415.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.3024, allocations: 12 kB / 415.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000369/0.3027, allocations: 178.1 kB / 415.6 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.304, allocations: 0.75 MB / 416.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004558/0.3044, allocations: 226.5 kB / 416.5 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.3046, allocations: 112.8 kB / 416.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.3047, allocations: 0 / 416.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.3047, allocations: 38.56 kB / 416.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.253e-06/0.3047, allocations: 0 / 416.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.0017/0.3064, allocations: 0.9591 MB / 417.7 MB, free: 9.762 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.3065, allocations: 51.41 kB / 417.7 MB, free: 9.699 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.3066, allocations: 163.1 kB / 417.9 MB, free: 9.527 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.3066, allocations: 29.7 kB / 417.9 MB, free: 9.492 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.3068, allocations: 152.4 kB / 418 MB, free: 9.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.461e-05/0.3068, allocations: 98.55 kB / 418.1 MB, free: 9.242 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.437e-05/0.3069, allocations: 49.7 kB / 418.2 MB, free: 9.188 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.307, allocations: 330.8 kB / 418.5 MB, free: 8.855 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.3072, allocations: 71.95 kB / 418.6 MB, free: 8.785 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.3074, allocations: 116.3 kB / 418.7 MB, free: 8.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.3078, allocations: 207.3 kB / 418.9 MB, free: 8.445 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3078, allocations: 4 kB / 418.9 MB, free: 8.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004494/0.3082, allocations: 257.2 kB / 419.2 MB, free: 8.184 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.3083, allocations: 8 kB / 419.2 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.3083, allocations: 0 / 419.2 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.3083, allocations: 0 / 419.2 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.3086, allocations: 83.89 kB / 419.2 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.3086, allocations: 7.938 kB / 419.3 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.3087, allocations: 16.08 kB / 419.3 MB, free: 8.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.341e-05/0.3088, allocations: 12 kB / 419.3 MB, free: 8.059 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.0001669/0.3089, allocations: 137.7 kB / 419.4 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.584e-05/0.309, allocations: 19.81 kB / 419.4 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.949e-05/0.3091, allocations: 30.48 kB / 419.5 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3091, allocations: 4 kB / 419.5 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.3091, allocations: 0 / 419.5 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3091, allocations: 0 / 419.5 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.3102, allocations: 0.6567 MB / 420.1 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.3102, allocations: 7.984 kB / 420.1 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003399/0.3106, allocations: 67.97 kB / 420.2 MB, free: 7.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3106, allocations: 0 / 420.2 MB, free: 7.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.3106, allocations: 8 kB / 420.2 MB, free: 7.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/0.3106, allocations: 11.98 kB / 420.2 MB, free: 7.051 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3107, allocations: 3.938 kB / 420.2 MB, free: 7.047 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006896/0.3114, allocations: 439.5 kB / 420.6 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.138e-05/0.3114, allocations: 96.83 kB / 420.7 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.3115, allocations: 8.062 kB / 420.8 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.3116, allocations: 15.92 kB / 420.8 MB, free: 6.461 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.999e-05/0.3117, allocations: 19.97 kB / 420.8 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.3117, allocations: 8 kB / 420.8 MB, free: 6.434 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.956e-05/0.3118, allocations: 115.2 kB / 420.9 MB, free: 6.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3118, allocations: 0 / 420.9 MB, free: 6.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003001/0.3121, allocations: 60 kB / 421 MB, free: 6.262 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.00013/0.3122, allocations: 107.2 kB / 421.1 MB, free: 6.148 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004377/0.3127, allocations: 207.9 kB / 421.3 MB, free: 5.945 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3127, allocations: 0 / 421.3 MB, free: 5.945 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.3129, allocations: 107.8 kB / 421.4 MB, free: 5.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.3133, allocations: 40.23 kB / 421.4 MB, free: 5.801 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.3147, allocations: 0.8349 MB / 422.3 MB, free: 4.926 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.3151, allocations: 0.7522 MB / 423 MB, free: 4.141 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.445e-05/0.3152, allocations: 23.44 kB / 423 MB, free: 4.117 MB / 334.1 MB Notification: Performance of SimCode: time 4.9e-07/0.3152, allocations: 0 / 423 MB, free: 4.117 MB / 334.1 MB Notification: Performance of Templates: time 0.005017/0.3202, allocations: 2.788 MB / 425.8 MB, free: 1.34 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches