Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 98.62 kB / 16.5 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 195.1 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 241.1 MB, free: 15.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 47.58 kB / 299.9 MB, free: 6.316 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0939/0.09544, allocations: 49.44 MB / 349.4 MB, free: 4.863 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003318/0.09879, allocations: 2.46 MB / 351.8 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008446/0.09966, allocations: 0.5727 MB / 352.4 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.765e-05/0.09977, allocations: 8 kB / 352.4 MB, free: 1.797 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.09991, allocations: 31.77 kB / 352.5 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.1001, allocations: 71.39 kB / 352.5 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001273/0.1002, allocations: 47.95 kB / 352.6 MB, free: 1.648 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002523/0.1004, allocations: 282.7 kB / 352.9 MB, free: 1.371 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.1006, allocations: 99.47 kB / 353 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.1007, allocations: 99.59 kB / 353 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1009, allocations: 119.5 kB / 353.2 MB, free: 1.059 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.218e-05/0.1009, allocations: 16 kB / 353.2 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.992e-05/0.101, allocations: 20 kB / 353.2 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.833e-05/0.101, allocations: 43.83 kB / 353.2 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.1011, allocations: 127.3 kB / 353.4 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.1013, allocations: 287.1 kB / 353.6 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1014, allocations: 0 / 353.6 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1014, allocations: 0 / 353.6 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.1014, allocations: 4 kB / 353.7 MB, free: 0.5703 MB / 286.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.0007313/0.1021, allocations: 0.5383 MB / 354.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.1021, allocations: 8.031 kB / 354.2 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.011e-05/0.1022, allocations: 32.56 kB / 354.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.1025, allocations: 243.2 kB / 354.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.1025, allocations: 16.94 kB / 354.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/0.1025, allocations: 36.12 kB / 354.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004325/0.103, allocations: 220.9 kB / 354.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.103, allocations: 4 kB / 354.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.103, allocations: 8 kB / 354.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.103, allocations: 8 kB / 354.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003812/0.1034, allocations: 178.1 kB / 354.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.1045, allocations: 0.7615 MB / 355.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004519/0.105, allocations: 229 kB / 355.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.1052, allocations: 116.3 kB / 356 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.1052, allocations: 0 / 356 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.1053, allocations: 38.56 kB / 356.1 MB, free: 14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.152e-06/0.1053, allocations: 4 kB / 356.1 MB, free: 13.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.001539/0.1068, allocations: 0.9629 MB / 357 MB, free: 12.94 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.1069, allocations: 55.41 kB / 357.1 MB, free: 12.87 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.107, allocations: 154.7 kB / 357.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.107, allocations: 29.7 kB / 357.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.165e-05/0.1071, allocations: 152.5 kB / 357.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.322e-05/0.1072, allocations: 94.56 kB / 357.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.721e-05/0.1073, allocations: 49.7 kB / 357.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1074, allocations: 330.8 kB / 357.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.1076, allocations: 75.95 kB / 358 MB, free: 11.96 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.1078, allocations: 119.2 kB / 358.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/0.1081, allocations: 195.3 kB / 358.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1081, allocations: 0 / 358.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004514/0.1086, allocations: 261.3 kB / 358.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1086, allocations: 10.97 kB / 358.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1086, allocations: 0 / 358.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.1086, allocations: 4 kB / 358.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.1089, allocations: 75.89 kB / 358.6 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1089, allocations: 8.094 kB / 358.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.1091, allocations: 11.98 kB / 358.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.1091, allocations: 15.88 kB / 358.6 MB, free: 11.25 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.0001044/0.1092, allocations: 146.1 kB / 358.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.1092, allocations: 19.81 kB / 358.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.435e-05/0.1093, allocations: 34.48 kB / 358.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.1093, allocations: 0 / 358.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1093, allocations: 0 / 358.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1093, allocations: 8 kB / 358.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008651/0.1102, allocations: 0.6481 MB / 359.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1102, allocations: 0 / 359.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003146/0.1105, allocations: 75.95 kB / 359.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1106, allocations: 4 kB / 359.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.1106, allocations: 11.98 kB / 359.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1106, allocations: 3.938 kB / 359.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1106, allocations: 4 kB / 359.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006486/0.1112, allocations: 442.8 kB / 360 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.1113, allocations: 88.92 kB / 360.1 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.1113, allocations: 12.05 kB / 360.1 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.1115, allocations: 12.06 kB / 360.1 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.1115, allocations: 19.97 kB / 360.1 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.1116, allocations: 12 kB / 360.2 MB, free: 9.613 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.549e-05/0.1116, allocations: 119.5 kB / 360.3 MB, free: 9.496 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1117, allocations: 11.94 kB / 360.3 MB, free: 9.484 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002966/0.112, allocations: 56 kB / 360.3 MB, free: 9.43 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.0001024/0.1121, allocations: 103.2 kB / 360.4 MB, free: 9.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004171/0.1125, allocations: 199.8 kB / 360.6 MB, free: 9.125 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1125, allocations: 0 / 360.6 MB, free: 9.125 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.1127, allocations: 112.1 kB / 360.8 MB, free: 9.016 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.1131, allocations: 35.97 kB / 360.8 MB, free: 8.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.1144, allocations: 0.9122 MB / 361.7 MB, free: 8.043 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.1147, allocations: 0.7525 MB / 362.4 MB, free: 7.266 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.775e-05/0.1148, allocations: 21.94 kB / 362.5 MB, free: 7.238 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.123e-05/0.1149, allocations: 19.44 kB / 362.5 MB, free: 7.219 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1149, allocations: 3.938 kB / 362.5 MB, free: 7.215 MB / 302.1 MB Notification: Performance of Templates: time 0.004481/0.1193, allocations: 1.998 MB / 364.5 MB, free: 5.23 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches