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.001429/0.001429, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001855/0.001855, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 63.27 kB / 306.3 MB, free: 1.051 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08916/0.09029, allocations: 50.53 MB / 356.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004073/0.09441, allocations: 2.48 MB / 359.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.09562, allocations: 0.6155 MB / 359.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.09575, allocations: 4 kB / 359.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.0959, allocations: 27.78 kB / 359.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.09604, allocations: 67.45 kB / 360 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.09619, allocations: 47.97 kB / 360 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000275/0.09648, allocations: 286.6 kB / 360.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.09669, allocations: 103.4 kB / 360.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.09681, allocations: 99.58 kB / 360.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.09696, allocations: 115.5 kB / 360.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.377e-05/0.097, allocations: 16 kB / 360.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.399e-05/0.09705, allocations: 20 kB / 360.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.671e-05/0.0971, allocations: 51.75 kB / 360.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.09722, allocations: 123.4 kB / 360.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.09749, allocations: 279.2 kB / 361.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.0975, allocations: 0 / 361.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.586e-06/0.09751, allocations: 0 / 361.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.09753, allocations: 3.938 kB / 361.1 MB, free: 10.19 MB / 302.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.0008965/0.09843, allocations: 0.5407 MB / 361.6 MB, free: 9.598 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.09848, allocations: 8.031 kB / 361.6 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.356e-05/0.09857, allocations: 32.64 kB / 361.7 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.0989, allocations: 243.6 kB / 361.9 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.09892, allocations: 20.88 kB / 361.9 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.639e-05/0.09899, allocations: 32.12 kB / 362 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004943/0.09949, allocations: 224.9 kB / 362.2 MB, free: 9.012 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.09952, allocations: 11.84 kB / 362.2 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.09955, allocations: 11.98 kB / 362.2 MB, free: 8.988 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.09957, allocations: 8 kB / 362.2 MB, free: 8.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003877/0.09996, allocations: 174.1 kB / 362.4 MB, free: 8.812 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.1012, allocations: 0.75 MB / 363.1 MB, free: 8.004 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004491/0.1016, allocations: 222.5 kB / 363.4 MB, free: 7.777 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002202/0.1018, allocations: 113.9 kB / 363.5 MB, free: 7.664 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.1019, allocations: 0 / 363.5 MB, free: 7.664 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.1019, allocations: 34.56 kB / 363.5 MB, free: 7.621 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.182e-06/0.1019, allocations: 0 / 363.5 MB, free: 7.621 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.001749/0.1037, allocations: 0.9689 MB / 364.5 MB, free: 6.562 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.1037, allocations: 51.41 kB / 364.5 MB, free: 6.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.1039, allocations: 163.8 kB / 364.7 MB, free: 6.328 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.123e-05/0.1039, allocations: 29.7 kB / 364.7 MB, free: 6.293 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.01e-05/0.104, allocations: 144.6 kB / 364.9 MB, free: 6.145 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.291e-05/0.1041, allocations: 102.5 kB / 365 MB, free: 6.043 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-05/0.1042, allocations: 45.7 kB / 365 MB, free: 5.992 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1043, allocations: 330.8 kB / 365.3 MB, free: 5.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.1045, allocations: 79.81 kB / 365.4 MB, free: 5.582 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.1047, allocations: 119.4 kB / 365.5 MB, free: 5.453 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000383/0.1051, allocations: 195.3 kB / 365.7 MB, free: 5.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1052, allocations: 4 kB / 365.7 MB, free: 5.246 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004821/0.1056, allocations: 257.3 kB / 366 MB, free: 4.988 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1057, allocations: 8 kB / 366 MB, free: 4.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/0.1057, allocations: 3.984 kB / 366 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1057, allocations: 4 kB / 366 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.106, allocations: 67.91 kB / 366 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.106, allocations: 4 kB / 366 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.1062, allocations: 20.08 kB / 366.1 MB, free: 4.883 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.1062, allocations: 8 kB / 366.1 MB, free: 4.875 MB / 302.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.0001242/0.1063, allocations: 141.7 kB / 366.2 MB, free: 4.727 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/0.1064, allocations: 19.81 kB / 366.2 MB, free: 4.707 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.508e-05/0.1064, allocations: 30.55 kB / 366.3 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1064, allocations: 3.938 kB / 366.3 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1064, allocations: 0 / 366.3 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1065, allocations: 4 kB / 366.3 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009454/0.1074, allocations: 0.6599 MB / 366.9 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1074, allocations: 3.938 kB / 366.9 MB, free: 3.945 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003201/0.1077, allocations: 67.91 kB / 367 MB, free: 3.879 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1078, allocations: 8.047 kB / 367 MB, free: 3.871 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.1078, allocations: 8 kB / 367 MB, free: 3.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1078, allocations: 3.938 kB / 367 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.1078, allocations: 4 kB / 367 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006907/0.1085, allocations: 446.3 kB / 367.5 MB, free: 3.398 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.143e-05/0.1086, allocations: 92.98 kB / 367.5 MB, free: 3.289 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.1086, allocations: 11.98 kB / 367.6 MB, free: 3.277 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.1088, allocations: 11.94 kB / 367.6 MB, free: 3.266 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/0.1088, allocations: 19.97 kB / 367.6 MB, free: 3.246 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.1088, allocations: 8 kB / 367.6 MB, free: 3.238 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.29e-05/0.1089, allocations: 111.2 kB / 367.7 MB, free: 3.129 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1089, allocations: 4 kB / 367.7 MB, free: 3.125 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003018/0.1092, allocations: 60 kB / 367.8 MB, free: 3.066 MB / 302.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.0001222/0.1094, allocations: 103.2 kB / 367.9 MB, free: 2.953 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004587/0.1098, allocations: 208 kB / 368.1 MB, free: 2.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1098, allocations: 0 / 368.1 MB, free: 2.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.11, allocations: 109.2 kB / 368.2 MB, free: 2.645 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.1105, allocations: 43.97 kB / 368.2 MB, free: 2.602 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.1119, allocations: 0.9029 MB / 369.1 MB, free: 1.668 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.1122, allocations: 0.7525 MB / 369.9 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.399e-05/0.1123, allocations: 21.94 kB / 369.9 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.357e-05/0.1124, allocations: 19.44 kB / 369.9 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1124, allocations: 0 / 369.9 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of Templates: time 0.1366/0.249, allocations: 1.996 MB / 371.9 MB, free: 19.87 MB / 302.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